Fixes for WiX v4 migration

This commit is contained in:
Cameron Gutman 2023-07-14 20:05:49 -05:00
parent d39bdb28d6
commit d5e2d59fe9
2 changed files with 4 additions and 2 deletions

View file

@ -207,10 +207,12 @@ if "%ML_SYMBOL_STORE%" NEQ "" (
echo Publishing binaries to symbol store: %ML_SYMBOL_STORE%
symstore add /r /f %DEPLOY_FOLDER%\*.* /s %ML_SYMBOL_STORE% /t Moonlight
if !ERRORLEVEL! NEQ 0 goto Error
symstore add /r /f %BUILD_FOLDER%\app\%BUILD_CONFIG%\Moonlight.exe /s %ML_SYMBOL_STORE% /t Moonlight
if !ERRORLEVEL! NEQ 0 goto Error
)
echo Building MSI
msbuild %SOURCE_ROOT%\wix\Moonlight\Moonlight.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=%ARCH%
msbuild -Restore %SOURCE_ROOT%\wix\Moonlight\Moonlight.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=%ARCH%
if !ERRORLEVEL! NEQ 0 goto Error
if "%SIGN%"=="1" (

View file

@ -23,6 +23,6 @@
<ItemGroup>
<PackageReference Include="WixToolset.Firewall.wixext" Version="4.*" />
<PackageReference Include="WixToolset.Util.wixext" Version="4.*" />
<PackageReference Include="WixToolset.Heat" />
<PackageReference Include="WixToolset.Heat" Version="4.*" />
</ItemGroup>
</Project>