feat(installer/windows): add wix installer

This commit is contained in:
ReenigneArcher
2025-07-03 22:03:45 -04:00
parent 7e95d536a9
commit 07c0044df3
6 changed files with 210 additions and 4 deletions

View File

@@ -236,6 +236,11 @@ jobs:
# Clean up
Remove-Item -Path doxygen-setup.exe
- name: Setup dotnet # needed for wix
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
- name: Setup python
id: setup-python
uses: actions/setup-python@v5
@@ -282,12 +287,19 @@ jobs:
# package
cpack -G NSIS
cpack -G WIX
cpack -G ZIP
# move
mv ./cpack_artifacts/Sunshine.exe ../artifacts/Sunshine-${{ matrix.name }}-installer.exe
mv ./cpack_artifacts/Sunshine.msi ../artifacts/Sunshine-${{ matrix.name }}-installer.msi
mv ./cpack_artifacts/Sunshine.zip ../artifacts/Sunshine-${{ matrix.name }}-portable.zip
- name: Debug wix
if: always()
shell: msys2 {0}
run: cat /d/a/Sunshine/Sunshine/build/cpack_artifacts/_CPack_Packages/win64/WIX/wix.log
- name: Run tests
id: test
shell: msys2 {0}