diff --git a/scripts/build-arch.bat b/scripts/build-arch.bat index 2e35cbc6..a2e0d946 100644 --- a/scripts/build-arch.bat +++ b/scripts/build-arch.bat @@ -235,7 +235,7 @@ if "%ML_SYMBOL_STORE%" NEQ "" ( ) echo Building MSI -msbuild -Restore %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% /p:MSBuildProjectExtensionsPath=%BUILD_FOLDER%\ if !ERRORLEVEL! NEQ 0 goto Error echo Copying application binary to deployment directory diff --git a/scripts/generate-bundle.bat b/scripts/generate-bundle.bat index 0470a392..ef542c55 100644 --- a/scripts/generate-bundle.bat +++ b/scripts/generate-bundle.bat @@ -72,7 +72,7 @@ if !ERRORLEVEL! NEQ 0 goto Error echo Building bundle rem Bundles are always x86 binaries -msbuild -Restore %SOURCE_ROOT%\wix\MoonlightSetup\MoonlightSetup.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=x86 +msbuild -Restore %SOURCE_ROOT%\wix\MoonlightSetup\MoonlightSetup.wixproj /p:Configuration=%BUILD_CONFIG% /p:Platform=x86 /p:MSBuildProjectExtensionsPath=%BUILD_FOLDER%\ if !ERRORLEVEL! NEQ 0 goto Error rem Rename the installer to match the publishing convention