Merge pull request #30031 from neovim/backport-29895-to-release-0.10

fix(win-msi): set installer scope to machine
This commit is contained in:
zeertzjq
2024-08-13 07:08:26 +08:00
committed by GitHub

View File

@@ -38,6 +38,7 @@ if(WIN32)
# Create start menu and desktop shortcuts
set(CPACK_WIX_PROGRAM_MENU_FOLDER "${CPACK_PACKAGE_NAME}")
set(CPACK_PACKAGE_EXECUTABLES "nvim" "Neovim")
set(CPACK_WIX_INSTALL_SCOPE "perMachine")
# We use a wix patch to add further options to the installer.
# See: https://cmake.org/cmake/help/v3.7/module/CPackWIX.html#variable:CPACK_WIX_PATCH_FILE