DXGL r16 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r15
|
r16
|
r17
>
Date:
02:45, 2 December 2011
Author:
admin
Status:
new
Tags:
Comment:
Add confirmation for installing Visual C++ 2010 Runtime.
Make Visual C++ 2010 Runtime install in silent mode.
Modified paths:
/Installer/dxgl.nsi
(modified) (
history
)
Diff
[
purge
]
Index: Installer/dxgl.nsi
—
—
@@ -141,11 +141,15 @@
142
142
SetPluginUnload manual
143
143
ReadRegDWORD $0 HKLM SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86 Installed
144
144
StrCmp $0 1 skipvcredist
145
+ MessageBox MB_YESNO|MB_ICONQUESTION "The Microsoft Visual C++ 2010 Runtime does not seem to be installed. Do you want to download and install it now?" IDNO novc
145
146
DetailPrint "Downloading Visual C++ 2010 Runtime"
146
147
NSISdl::download http://www.williamfeely.info/download/vc10/vcredist_x86.exe $TEMP\vcredist_x86.exe
147
148
DetailPrint "Installing Visual C++ 2010 Runtime"
148
- ExecWait '"$TEMP\vcredist_x86.exe" /passive /norestart'
149
+ ExecWait '"$TEMP\vcredist_x86.exe" /q /norestart'
149
150
Delete $TEMP\vcredist_x86.exe
151
+ goto skipvcredist
152
+ novc:
153
+ MessageBox MB_OK|MB_ICONEXCLAMATION "DXGL will not work if the Visual C++ 2010 Runtime is not installed. Please install the Visual C++ 2010 Runtime before running DXGL."
150
154
skipvcredist:
151
155
SectionEnd
152
156
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