DXGL r834 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r833
|
r834
|
r835
>
Date:
00:05, 14 July 2018
Author:
admin
Status:
new
Tags:
Comment:
Add operating system detection for VS2017 builds in the installer.
Use Internet Archive URLs for Windows XP/2003 service pack installation information.
Modified paths:
/Installer/dxgl.nsi
(modified) (
history
)
Diff
[
purge
]
Index: Installer/dxgl.nsi
—
—
@@ -248,6 +248,25 @@
249
249
250
250
251
251
Function .onInit
252
+ !if ${COMPILER} == "VC2017_7"
253
+ ${IfNot} ${AtLeastWinVista}
254
+ MessageBox MB_OK|MB_ICONSTOP "This version of DXGL requires at least Windows Vista Service Pack 2.$\r\
255
+ If you need to run DXGL on Windows XP, XP x64, or Server 2003, please download the VS2010 build."
256
+ Quit
257
+ ${EndIf}
258
+ ${If} ${IsWinVista}
259
+ ${AndIfNot} ${AtLeastServicePack} 2
260
+ MessageBox MB_OK|MB_ICONSTOP "Your copy of Windows Vista or Windows Server 2008 must be upgraded to Service Pack 2 before you can use the VC2017 build of DXGL.$\r\
261
+ Please visit https://support.microsoft.com/en-us/kb/948465/ for instructions on upgrading to Service Pack 2."
262
+ Quit
263
+ ${endif}
264
+ ${If} ${IsWin7}
265
+ ${AndIfNot} ${AtLeastServicePack} 1
266
+ MessageBox MB_OK|MB_ICONSTOP "Your copy of Windows 7 or Windows Server 2008 R2 must be upgraded to Service Pack 1 before you can use the VC2017 build of DXGL.$\r\
267
+ Please visit X for instructions on upgrading to Service Pack 1."
268
+ Quit
269
+ ${endif}
270
+ !else
252
271
${IfNot} ${AtleastWinXP}
253
272
MessageBox MB_OK|MB_ICONSTOP "This version of DXGL requires at least Windows XP Service Pack 3."
254
273
Quit
—
—
@@ -256,15 +275,16 @@
257
276
${AndIfNot} ${AtLeastServicePack} 3
258
277
${AndIfNot} ${RunningX64}
259
278
MessageBox MB_OK|MB_ICONSTOP "Your copy of Windows XP must be upgraded to Service Pack 3 before you can use DXGL.$\r\
260
- Please visit https://support.microsoft.com/en-us/kb/322389/ for instructions on upgrading to Service Pack 3."
279
+ Please visit http://web.archive.org/web/20151010042325/https://support.microsoft.com/en-us/kb/322389/ for instructions on upgrading to Service Pack 3."
261
280
Quit
262
281
${EndIf}
263
282
${If} ${IsWin2003}
264
283
${AndIfNot} ${AtLeastServicePack} 1
265
284
MessageBox MB_OK|MB_ICONSTOP "Your copy of Windows Server 2003 must be upgraded to at least Service Pack 1 before you can use DXGL.$\r\
266
- Please visit https://support.microsoft.com/en-us/kb/889100/ for instructions on upgrading to Service Pack 2."
285
+ Please visit http://web.archive.org/web/20150501080245/https://support.microsoft.com/en-us/kb/889100/ for instructions on upgrading to Service Pack 2."
267
286
Quit
268
287
${EndIf}
288
+ !endif
269
289
!ifdef _DEBUG
270
290
MessageBox MB_OK|MB_ICONEXCLAMATION "This is a debug build of DXGL. It is not meant for regular \
271
291
usage and requires the debug version of the Visual C++ runtime to work.$\r$\r\
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version