Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add msi packaging for windows #295

Open
samamiller opened this issue Aug 22, 2023 · 0 comments
Open

Add msi packaging for windows #295

samamiller opened this issue Aug 22, 2023 · 0 comments

Comments

@samamiller
Copy link

This seems like an easy todo, however, I don't want to mess with your builds since it could cost you money. Either option below would work depending on preference.

Option 1. Change cmake on win32:

set(CPACK_WIX_UPGRADE_GUID "UUID here") 
set(CPACK_GENERATOR ZIP WIX) 
list(APPEND CPACK_WIX_EXTENSIONS WixUtilExtension) 

// Wixpatch can be used to add binary to path during install
list(APPEND CPACK_WIX_PATCH_FILE ${CMAKE_CURRENT_LIST_DIR}/WixPatch.xml)

Option 2. Change build-tarballs.sh to use gnome msitools:
create msi with wixl

Winget hates installing zip see microsoft/winget-cli#3505 all files are first scanned by defender causing a long wait. Could also be used to resolve microsoft/winget-pkgs#117075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant