DXGL r12 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r11‎ | r12 | r13 >
Date:17:25, 27 November 2011
Author:admin
Status:new
Tags:
Comment:
Install ddraw.dll to added folders.
Modified paths:

Diff [purge]

Index: Installer/dxgl.nsi
@@ -81,7 +81,6 @@
8282 EnumRegKey $SUBKEY HKCU "Software\DXGL" $8
8383 StrCmp $SUBKEY "" regdone
8484 StrCpy $SUBKEY "Software\DXGL\$SUBKEY"
85 - MessageBox MB_OK "$SUBKEY"
8685 IntOp $8 $8 + 1
8786 ;REG_MULTI_SZ reader based on code at http://nsis.sourceforge.net/REG_MULTI_SZ_Reader
8887 StrCpy $0 ""
@@ -98,22 +97,18 @@
9998 goto readdone
10099 checksz:
101100 StrCmp $1 ${REG_MULTI_SZ} checkempty
102 - MessageBox MB_OK|MB_ICONSTOP "Registry value no REG_MULTI_SZ! ($3)"
103101 Goto readdone
104102 checkempty:
105103 StrCmp $2 0 0 multiszalloc
106 - MessageBox MB_OK|MB_ICONSTOP "Registry value empty! ($3)"
107104 Goto readdone
108105 multiszalloc:
109106 System::Alloc $2
110107 Pop $1
111108 StrCmp $1 0 0 multiszget
112 - MessageBox MB_OK|MB_ICONSTOP "Can't allocate enough memory! ($3)"
113109 Goto readdone
114110 multiszget:
115111 System::Call "${RegQueryValueEx}(r0, '${INSTPATH}', 0, n, r1, r2) .r3"
116112 StrCmp $3 0 multiszprocess
117 - MessageBox MB_OK|MB_ICONSTOP "Can't query registry value data! ($3)"
118113 System::Free $1
119114 Goto readdone
120115 multiszprocess:
@@ -132,7 +127,9 @@
133128 IntOp $5 $5 * 2
134129 !endif
135130 IntOp $4 $4 + $5
136 - MessageBox MB_OK "$3"
 131+ ;copy file here
 132+ DetailPrint "Installing ddraw.dll to $3"
 133+ CopyFiles $INSTDIR\ddraw.dll $3
137134 IntCmp IntCmp $4 $6 0 szloop
138135 System::Free $1
139136
Index: .
Property changes on: .
___________________________________________________________________
Modified: svn:ignore
## -6,3 +6,4 ##
140137 ipch
141138 Release
142139 Release no DXGL
 140+*.opensdf