DXGL r12 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
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:
/
(modified) (
history
)
/Installer/dxgl.nsi
(modified) (
history
)
Diff
[
purge
]
Index: Installer/dxgl.nsi
—
—
@@ -81,7 +81,6 @@
82
82
EnumRegKey $SUBKEY HKCU "Software\DXGL" $8
83
83
StrCmp $SUBKEY "" regdone
84
84
StrCpy $SUBKEY "Software\DXGL\$SUBKEY"
85
- MessageBox MB_OK "$SUBKEY"
86
85
IntOp $8 $8 + 1
87
86
;REG_MULTI_SZ reader based on code at http://nsis.sourceforge.net/REG_MULTI_SZ_Reader
88
87
StrCpy $0 ""
—
—
@@ -98,22 +97,18 @@
99
98
goto readdone
100
99
checksz:
101
100
StrCmp $1 ${REG_MULTI_SZ} checkempty
102
- MessageBox MB_OK|MB_ICONSTOP "Registry value no REG_MULTI_SZ! ($3)"
103
101
Goto readdone
104
102
checkempty:
105
103
StrCmp $2 0 0 multiszalloc
106
- MessageBox MB_OK|MB_ICONSTOP "Registry value empty! ($3)"
107
104
Goto readdone
108
105
multiszalloc:
109
106
System::Alloc $2
110
107
Pop $1
111
108
StrCmp $1 0 0 multiszget
112
- MessageBox MB_OK|MB_ICONSTOP "Can't allocate enough memory! ($3)"
113
109
Goto readdone
114
110
multiszget:
115
111
System::Call "${RegQueryValueEx}(r0, '${INSTPATH}', 0, n, r1, r2) .r3"
116
112
StrCmp $3 0 multiszprocess
117
- MessageBox MB_OK|MB_ICONSTOP "Can't query registry value data! ($3)"
118
113
System::Free $1
119
114
Goto readdone
120
115
multiszprocess:
—
—
@@ -132,7 +127,9 @@
133
128
IntOp $5 $5 * 2
134
129
!endif
135
130
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
137
134
IntCmp IntCmp $4 $6 0 szloop
138
135
System::Free $1
139
136
Index: .
Property changes on: .
___________________________________________________________________
Modified: svn:ignore
## -6,3 +6,4 ##
140
137
ipch
141
138
Release
142
139
Release no DXGL
140
+*.opensdf
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