mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 03:16:38 +10:00
Build using VS2017
This commit is contained in:
@@ -6,13 +6,15 @@ md Output\x64
|
||||
md Output\PDB32
|
||||
md Output\PDB64
|
||||
|
||||
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do set MSBuildDir=%%i\MSBuild\15.0\Bin\
|
||||
|
||||
REM ********* Build 64-bit solution
|
||||
"%VS90COMNTOOLS%..\IDE\devenv.com" ..\ClassicShell.sln /rebuild "Setup|x64"
|
||||
"%MSBuildDir%MSBuild.exe" ..\ClassicShell.sln /t:Rebuild /p:Configuration="Setup" /p:Platform="x64"
|
||||
@if ERRORLEVEL 1 goto end
|
||||
|
||||
|
||||
REM ********* Build 32-bit solution (must be after 64-bit)
|
||||
"%VS90COMNTOOLS%..\IDE\devenv.com" ..\ClassicShell.sln /rebuild "Setup|Win32"
|
||||
"%MSBuildDir%MSBuild.exe" ..\ClassicShell.sln /t:Rebuild /p:Configuration="Setup" /p:Platform="Win32"
|
||||
@if ERRORLEVEL 1 goto end
|
||||
|
||||
|
||||
|
||||
@@ -59,7 +59,9 @@ start /wait ClassicShellUtility\Release\ClassicShellUtility.exe crcmsi Temp
|
||||
@if ERRORLEVEL 1 goto end
|
||||
|
||||
REM ********* Build bootstrapper
|
||||
"%VS90COMNTOOLS%..\IDE\devenv.com" ClassicShellSetup.sln /rebuild "Release|Win32"
|
||||
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do set MSBuildDir=%%i\MSBuild\15.0\Bin\
|
||||
|
||||
"%MSBuildDir%MSBuild.exe" ClassicShellSetup.sln /t:Rebuild /p:Configuration="Release" /p:Platform="Win32"
|
||||
@if ERRORLEVEL 1 goto end
|
||||
|
||||
md Final
|
||||
|
||||
@@ -664,6 +664,6 @@
|
||||
<Binary Id="dialog2.jpg" SourceFile="..\ClassicShellSetup\dialog2.jpg" />
|
||||
<Binary Id="donate.ico" SourceFile="..\ClassicShellSetup\donate.ico" />
|
||||
<Binary Id="web.ico" SourceFile="..\ClassicShellSetup\web.ico" />
|
||||
<Binary Id="facebook.ico" SourceFile="D:\Work\ClassicShellXX\ClassicShellSetup\facebook.ico" />
|
||||
<Binary Id="facebook.ico" SourceFile="..\ClassicShellSetup\facebook.ico" />
|
||||
</Product>
|
||||
</Wix>
|
||||
|
||||
Reference in New Issue
Block a user