mirror of
https://github.com/neovim/neovim.git
synced 2026-01-20 04:01:15 +10:00
- Create start menu and desktop shortcuts
- Set installation context to per-user, allowing non-administrative users to
install the MSI package
- <https://learn.microsoft.com/windows/win32/msi/installation-context>
- <https://learn.microsoft.com/windows/win32/msi/allusers>
Resolves #18119
22 lines
631 B
XML
22 lines
631 B
XML
<CPackWiXPatch>
|
|
<!-- Fragment ID is from: <your build dir>/_CPack_Packages/win64/WIX/files.wxs -->
|
|
<CPackWiXFragment Id="CM_CP_bin.nvim.exe">
|
|
<Environment
|
|
Id='UpdatePath'
|
|
Name='PATH'
|
|
Action='set'
|
|
Permanent='no'
|
|
System='no'
|
|
Part='last'
|
|
Value='[INSTALL_ROOT]bin'
|
|
/>
|
|
</CPackWiXFragment>
|
|
|
|
<!-- Allow installation by non-administrative users -->
|
|
<!-- https://learn.microsoft.com/windows/win32/msi/allusers -->
|
|
<CPackWiXFragment Id="#PRODUCT">
|
|
<Property Id="ALLUSERS" Value="2" />
|
|
<Property Id="MSIINSTALLPERUSER" Value="1" />
|
|
</CPackWiXFragment>
|
|
</CPackWiXPatch>
|