7
7
#define ExeBinPath " ..\bin\x86\Release"
8
8
#define SamplePath " testdata"
9
9
#define CPU " Win32"
10
- #define vcredist " vcredist_x86-2013 .exe"
10
+ #define vcredist " vcredist_x86-2015 .exe"
11
11
#define SystemFlag " 32bit"
12
12
#define MyAppName " MapWindow5"
13
13
#define MyAppPublisher " MapWindow Open Source GIS Community"
14
14
#define MyAppURL " https://www.mapwindow.org/documentation/mapwindow5/"
15
15
#define ReleaseNotes ExeBinPath + " \..\..\..\src\SolutionItems\ReleaseNotes.rtf"
16
16
17
- ;; #define x64BitVersion true
17
+ #define x64BitVersion true
18
18
19
19
#ifdef x64BitVersion
20
20
#define CPU " x64"
21
- #define vcredist " vcredist_x64_2013 .exe"
21
+ #define vcredist " vcredist_x64_2015 .exe"
22
22
#define ExeBinPath " ..\bin\x64\Release"
23
23
#define SystemFlag " 64bit"
24
24
#endif
@@ -123,7 +123,7 @@ Source: "{#ReleaseNotes}"; DestDir: "{app}"; Flags: ignoreversion; Components: M
123
123
BeveledLabel = {#MyAppName }
124
124
125
125
[Run]
126
- ; Install VC++ 2013 if needed:
126
+ ; Install VC++ 2015 if needed:
127
127
#ifdef x64BitVersion
128
128
Filename : " {tmp} \{#vcredist}" ; Parameters : " /quiet" ; Flags : waituntilterminated ; Check : VCRedistNeedsInstall_x64()
129
129
#else
@@ -200,6 +200,8 @@ const
200
200
VC_2013_REDIST_X86 = ' {13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}' ; // Microsoft.VS.VC_RuntimeMinimumVSU_x86,v12
201
201
VC_2013_REDIST_X64 = ' {A749D8E6-B613-3BE3-8F5F-045C84EBA29B}' ; // Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12
202
202
203
+ VC_2015_REDIST_X86 = ' {8F271F6C-6E7B-3D0A-951B-6E7B694D78BD}' ; // Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14
204
+ VC_2015_REDIST_X64 = ' {221D6DB4-46E2-333C-B09B-5F49351D0980}' ; // Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14
203
205
204
206
function MsiQueryProductState (szProduct: string): INSTALLSTATE;
205
207
external ' MsiQueryProductState{#AW}@msi.dll stdcall' ;
@@ -216,7 +218,7 @@ begin
216
218
// this statement, the following won't install your VC redist only when
217
219
// the Visual C++ 2008 Redist (x86) and Visual C++ 2008 SP1 Redist(x86)
218
220
// are installed for the current user
219
- Result := not (VCVersionInstalled(VC_2013_REDIST_X86 ));
221
+ Result := not (VCVersionInstalled(VC_2015_REDIST_X86 ));
220
222
end ;
221
223
222
224
function VCRedistNeedsInstall_x64 (): Boolean;
@@ -226,7 +228,7 @@ begin
226
228
// this statement, the following won't install your VC redist only when
227
229
// the Visual C++ 2008 Redist (x86) and Visual C++ 2008 SP1 Redist(x86)
228
230
// are installed for the current user
229
- Result := not (VCVersionInstalled(VC_2013_REDIST_X64 ));
231
+ Result := not (VCVersionInstalled(VC_2015_REDIST_X64 ));
230
232
end ;
231
233
232
234
function NeedsAddPath (Param: string): boolean;
0 commit comments