DXGL r15 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r14‎ | r15 | r16 >
Date:03:00, 1 December 2011
Author:admin
Status:new
Tags:
Comment:
Check for Visual C++ 2010 runtime. Download and install if necessary.
Modified paths:
  • /Installer/dxgl.nsi (modified) (history)

Diff [purge]

Index: Installer/dxgl.nsi
@@ -139,6 +139,14 @@
140140 goto regloop
141141 regdone:
142142 SetPluginUnload manual
 143+ ReadRegDWORD $0 HKLM SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86 Installed
 144+ StrCmp $0 1 skipvcredist
 145+ DetailPrint "Downloading Visual C++ 2010 Runtime"
 146+ NSISdl::download http://www.williamfeely.info/download/vc10/vcredist_x86.exe $TEMP\vcredist_x86.exe
 147+ DetailPrint "Installing Visual C++ 2010 Runtime"
 148+ ExecWait '"$TEMP\vcredist_x86.exe" /passive /norestart'
 149+ Delete $TEMP\vcredist_x86.exe
 150+ skipvcredist:
143151 SectionEnd
144152
145153 Section -AdditionalIcons