diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9075158e..3b7aac55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,7 +138,7 @@ jobs: $wxsPath ` -out $wixObj if ($LASTEXITCODE -ne 0) { throw "candle failed" } - & $light $wixObj -out $msiPath + & $light $wixObj -ext WixUIExtension -out $msiPath if ($LASTEXITCODE -ne 0) { throw "light failed" } - name: Sign MSI installer (Azure Trusted Signing) diff --git a/packaging/windows/main.wxs b/packaging/windows/main.wxs index b48d2ebd..9e4e417e 100644 --- a/packaging/windows/main.wxs +++ b/packaging/windows/main.wxs @@ -6,7 +6,7 @@ candle.exe -arch x64 -dVersion= -dSource=target\release\OpenCADStudio.exe \ -dIcon=packaging\windows\AppIcon.ico packaging\windows\main.wxs \ -out packaging\windows\main.wixobj - light.exe packaging\windows\main.wixobj -out OpenCADStudio.msi + light.exe packaging\windows\main.wixobj -ext WixUIExtension -out OpenCADStudio.msi Provides: * Per-machine install under Program Files\Open CAD Studio. @@ -122,5 +122,35 @@ + + + + + + + + + + WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 AND NOT Installed + +