Skip to content

Commit 227918a

Browse files
committed
Build using VS2017
1 parent 58597db commit 227918a

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

ClassicShellSrc/BUILDME.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ for other languages.
55
The final files (installers, archives) are saved to the ClassicShellSetup\Final folder.
66

77
You need the following tools:
8-
Visual Studio 2008
9-
Windows SDK 7.1
8+
Visual Studio 2017 (Community Edition is enough)
9+
- Desktop development with C++ workload
10+
- Windows 10 SDK (10.0.16299.0) for Desktop C++
11+
- Visual C++ ATL support
1012
HTML Help Workshop
1113
WiX 3.7
14+
WinRAR
1215
It is possible to convert the projects to newer versions of Visual Studio and newer SDKs.
1316
Newer versions of WiX will probably work fine.
1417

ClassicShellSrc/ClassicShellSetup/BuildBinaries.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ md Output\x64
66
md Output\PDB32
77
md Output\PDB64
88

9+
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\
10+
911
REM ********* Build 64-bit solution
10-
"%VS90COMNTOOLS%..\IDE\devenv.com" ..\ClassicShell.sln /rebuild "Setup|x64"
12+
"%MSBuildDir%MSBuild.exe" ..\ClassicShell.sln /t:Rebuild /p:Configuration="Setup" /p:Platform="x64"
1113
@if ERRORLEVEL 1 goto end
1214

1315

1416
REM ********* Build 32-bit solution (must be after 64-bit)
15-
"%VS90COMNTOOLS%..\IDE\devenv.com" ..\ClassicShell.sln /rebuild "Setup|Win32"
17+
"%MSBuildDir%MSBuild.exe" ..\ClassicShell.sln /t:Rebuild /p:Configuration="Setup" /p:Platform="Win32"
1618
@if ERRORLEVEL 1 goto end
1719

1820

ClassicShellSrc/ClassicShellSetup/BuildInstaller.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ start /wait ClassicShellUtility\Release\ClassicShellUtility.exe crcmsi Temp
5959
@if ERRORLEVEL 1 goto end
6060

6161
REM ********* Build bootstrapper
62-
"%VS90COMNTOOLS%..\IDE\devenv.com" ClassicShellSetup.sln /rebuild "Release|Win32"
62+
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\
63+
64+
"%MSBuildDir%MSBuild.exe" ClassicShellSetup.sln /t:Rebuild /p:Configuration="Release" /p:Platform="Win32"
6365
@if ERRORLEVEL 1 goto end
6466

6567
md Final

ClassicShellSrc/ClassicShellSetup/ClassicShellSetup.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,6 @@
664664
<Binary Id="dialog2.jpg" SourceFile="..\ClassicShellSetup\dialog2.jpg" />
665665
<Binary Id="donate.ico" SourceFile="..\ClassicShellSetup\donate.ico" />
666666
<Binary Id="web.ico" SourceFile="..\ClassicShellSetup\web.ico" />
667-
<Binary Id="facebook.ico" SourceFile="D:\Work\ClassicShellXX\ClassicShellSetup\facebook.ico" />
667+
<Binary Id="facebook.ico" SourceFile="..\ClassicShellSetup\facebook.ico" />
668668
</Product>
669669
</Wix>

0 commit comments

Comments
 (0)