Skip to content

Commit 199b955

Browse files
committed
Merge branch 'release/v5.4.0'
2 parents cd0c3de + d6e1912 commit 199b955

24 files changed

+278
-290
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,4 @@ src/Plugins/MW5.TemplateNtk/
169169
src/Plugins/MW5.TopoGISPlugin/
170170
test/MW5.Test/packages/
171171
src/.nuget/
172+
src/.vs/

install/MapWindow5.iss

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77
#define ExeBinPath "..\bin\x86\Release"
88
#define SamplePath "testdata"
99
#define CPU "Win32"
10-
#define vcredist "vcredist_x86-2013.exe"
10+
#define vcredist "vcredist_x86-2015.exe"
1111
#define SystemFlag "32bit"
1212
#define MyAppName "MapWindow5"
1313
#define MyAppPublisher "MapWindow Open Source GIS Community"
1414
#define MyAppURL "https://www.mapwindow.org/documentation/mapwindow5/"
1515
#define ReleaseNotes ExeBinPath + "\..\..\..\src\SolutionItems\ReleaseNotes.rtf"
1616

17-
;; #define x64BitVersion true
17+
#define x64BitVersion true
1818

1919
#ifdef x64BitVersion
2020
#define CPU "x64"
21-
#define vcredist "vcredist_x64_2013.exe"
21+
#define vcredist "vcredist_x64_2015.exe"
2222
#define ExeBinPath "..\bin\x64\Release"
2323
#define SystemFlag "64bit"
2424
#endif
@@ -123,7 +123,7 @@ Source: "{#ReleaseNotes}"; DestDir: "{app}"; Flags: ignoreversion; Components: M
123123
BeveledLabel={#MyAppName}
124124

125125
[Run]
126-
; Install VC++ 2013 if needed:
126+
; Install VC++ 2015 if needed:
127127
#ifdef x64BitVersion
128128
Filename: "{tmp}\{#vcredist}"; Parameters: "/quiet"; Flags: waituntilterminated; Check: VCRedistNeedsInstall_x64()
129129
#else
@@ -200,6 +200,8 @@ const
200200
VC_2013_REDIST_X86 = '{13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}'; //Microsoft.VS.VC_RuntimeMinimumVSU_x86,v12
201201
VC_2013_REDIST_X64 = '{A749D8E6-B613-3BE3-8F5F-045C84EBA29B}'; //Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v12
202202
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
203205
204206
function MsiQueryProductState(szProduct: string): INSTALLSTATE;
205207
external 'MsiQueryProductState{#AW}@msi.dll stdcall';
@@ -216,7 +218,7 @@ begin
216218
// this statement, the following won't install your VC redist only when
217219
// the Visual C++ 2008 Redist (x86) and Visual C++ 2008 SP1 Redist(x86)
218220
// are installed for the current user
219-
Result := not (VCVersionInstalled(VC_2013_REDIST_X86));
221+
Result := not (VCVersionInstalled(VC_2015_REDIST_X86));
220222
end;
221223
222224
function VCRedistNeedsInstall_x64(): Boolean;
@@ -226,7 +228,7 @@ begin
226228
// this statement, the following won't install your VC redist only when
227229
// the Visual C++ 2008 Redist (x86) and Visual C++ 2008 SP1 Redist(x86)
228230
// are installed for the current user
229-
Result := not (VCVersionInstalled(VC_2013_REDIST_X64));
231+
Result := not (VCVersionInstalled(VC_2015_REDIST_X64));
230232
end;
231233
232234
function NeedsAddPath(Param: string): boolean;

install/vcredist_x64_2013.exe

-6.86 MB
Binary file not shown.

install/vcredist_x86-2013.exe

-6.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)