aboutsummaryrefslogtreecommitdiff
path: root/packaging/WixPatch.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/WixPatch.xml')
-rw-r--r--packaging/WixPatch.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/WixPatch.xml b/packaging/WixPatch.xml
new file mode 100644
index 0000000000..728d43951e
--- /dev/null
+++ b/packaging/WixPatch.xml
@@ -0,0 +1,16 @@
+<CPackWiXPatch>
+ <!-- Fragment ID is from: <your build dir>/_CPack_Packages/win64/WIX/files.wxs -->
+ <CPackWiXFragment Id="CM_CP_bin.nvim.exe">
+ <!-- Note: if we were to specify Value='[INSTALL_ROOT]\bin' - with a backslash, the installer will still
+ use a forward slash in the path. -->
+ <Environment
+ Id='UpdatePath'
+ Name='PATH'
+ Action='set'
+ Permanent='no'
+ System='yes'
+ Part='last'
+ Value='[INSTALL_ROOT]/bin'
+ />
+ </CPackWiXFragment>
+</CPackWiXPatch>