From 1f314b839e6f0ad8c2ced701aa2a61d3893a3e8f Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Wed, 25 Jul 2018 19:16:06 -0700 Subject: [PATCH] Various installer fixes --- scripts/generate-installers.bat | 2 +- wix/Moonlight/Bundle.wxs | 26 +++++--- wix/MoonlightMsi/MoonlightMsi.wixproj | 6 ++ wix/MoonlightMsi/Product.wxs | 86 +++++++++++++++++---------- 4 files changed, 82 insertions(+), 38 deletions(-) diff --git a/scripts/generate-installers.bat b/scripts/generate-installers.bat index 84e869ab..83249a27 100644 --- a/scripts/generate-installers.bat +++ b/scripts/generate-installers.bat @@ -55,7 +55,7 @@ copy %SOURCE_ROOT%\libs\windows\lib\%ARCH%\*.dll %DEPLOY_FOLDER% if !ERRORLEVEL! NEQ 0 goto Error echo Deploying Qt dependencies -windeployqt.exe --dir %DEPLOY_FOLDER% --%BUILD_CONFIG% --qmldir %SOURCE_ROOT%\app\gui %BUILD_FOLDER%\app\%BUILD_CONFIG%\Moonlight.exe +windeployqt.exe --dir %DEPLOY_FOLDER% --%BUILD_CONFIG% --qmldir %SOURCE_ROOT%\app\gui --no-angle --no-opengl-sw --no-compiler-runtime %BUILD_FOLDER%\app\%BUILD_CONFIG%\Moonlight.exe if !ERRORLEVEL! NEQ 0 goto Error echo Harvesting files for WiX diff --git a/wix/Moonlight/Bundle.wxs b/wix/Moonlight/Bundle.wxs index c41131c9..6b62bee8 100644 --- a/wix/Moonlight/Bundle.wxs +++ b/wix/Moonlight/Bundle.wxs @@ -1,21 +1,33 @@ - - + + + UpgradeCode="466fa35d-4be4-40ef-9ce5-afadc3b63bc5" + HelpUrl="https://github.com/moonlight-stream/moonlight-docs/wiki/Setup-Guide" + UpdateUrl="https://github.com/moonlight-stream/moonlight-qt/releases" + DisableModify="yes" + IconSourceFile="..\..\app\moonlight.ico"> + + + - - + LaunchTarget="[InstallFolder]Moonlight.exe" /> + - + + + + diff --git a/wix/MoonlightMsi/MoonlightMsi.wixproj b/wix/MoonlightMsi/MoonlightMsi.wixproj index 1816fddb..ea7eb965 100644 --- a/wix/MoonlightMsi/MoonlightMsi.wixproj +++ b/wix/MoonlightMsi/MoonlightMsi.wixproj @@ -21,6 +21,12 @@ + + + $(WixExtDir)\WixFirewallExtension.dll + WixFirewallExtension + + diff --git a/wix/MoonlightMsi/Product.wxs b/wix/MoonlightMsi/Product.wxs index 00079a00..299e5873 100644 --- a/wix/MoonlightMsi/Product.wxs +++ b/wix/MoonlightMsi/Product.wxs @@ -1,6 +1,8 @@ - + + - + - - + + + + + + + + + + + + + + + + + + + Installed AND REMOVE~="ALL" AND NOT UPGRADINGPRODUCTCODE + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - -