Build using VS2017

This commit is contained in:
ge0rdi
2017-12-25 13:09:38 +01:00
parent 58597db5f0
commit 227918a3e9
4 changed files with 13 additions and 6 deletions
@@ -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>