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

View File

@@ -5,10 +5,13 @@ for other languages.
The final files (installers, archives) are saved to the ClassicShellSetup\Final folder. The final files (installers, archives) are saved to the ClassicShellSetup\Final folder.
You need the following tools: You need the following tools:
Visual Studio 2008 Visual Studio 2017 (Community Edition is enough)
Windows SDK 7.1 - Desktop development with C++ workload
- Windows 10 SDK (10.0.16299.0) for Desktop C++
- Visual C++ ATL support
HTML Help Workshop HTML Help Workshop
WiX 3.7 WiX 3.7
WinRAR
It is possible to convert the projects to newer versions of Visual Studio and newer SDKs. It is possible to convert the projects to newer versions of Visual Studio and newer SDKs.
Newer versions of WiX will probably work fine. Newer versions of WiX will probably work fine.

View File

@@ -6,13 +6,15 @@ md Output\x64
md Output\PDB32 md Output\PDB32
md Output\PDB64 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 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 @if ERRORLEVEL 1 goto end
REM ********* Build 32-bit solution (must be after 64-bit) 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 @if ERRORLEVEL 1 goto end

View File

@@ -59,7 +59,9 @@ start /wait ClassicShellUtility\Release\ClassicShellUtility.exe crcmsi Temp
@if ERRORLEVEL 1 goto end @if ERRORLEVEL 1 goto end
REM ********* Build bootstrapper 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 @if ERRORLEVEL 1 goto end
md Final md Final

View File

@@ -664,6 +664,6 @@
<Binary Id="dialog2.jpg" SourceFile="..\ClassicShellSetup\dialog2.jpg" /> <Binary Id="dialog2.jpg" SourceFile="..\ClassicShellSetup\dialog2.jpg" />
<Binary Id="donate.ico" SourceFile="..\ClassicShellSetup\donate.ico" /> <Binary Id="donate.ico" SourceFile="..\ClassicShellSetup\donate.ico" />
<Binary Id="web.ico" SourceFile="..\ClassicShellSetup\web.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> </Product>
</Wix> </Wix>