Archive: about nsis script


about nsis script
WriteINIStr 1 10 20 22
WriteINIStr 1 40 0 22
WriteINIStr 1 55 0 22
WriteINIStr 69 50 -37 22
WriteINIStr 69 77 84 22
WriteINIStr 87 95 99 22
WriteINIStr 87 77 102 22
WriteINIStr 87 50 -38 22
GetFunctionAddress 0 0
GetDlgItem 30 106 110
ShowWindow 115 119
GetDlgItem 30 106 121
ShowWindow 115 119
GetDlgItem 30 106 126
ShowWindow 115 119
GetDlgItem 30 106 131
ShowWindow 115 119
GetDlgItem 30 106 136
ShowWindow 115 119
GetDlgItem 30 106 141
ShowWindow 115 119
GetDlgItem 30 106 146
ShowWindow 115 151
GetFunctionAddress 1 0
Call 203
File $PLUGINSDIR\InstallOptions.dll
UpdateSatusText 8
Push $PLUGINSDIR\ioSpecial.ini
RegisterDLL $PLUGINSDIR\InstallOptions.dll initDialog 0
Pop $[32]
SerCtlColors 187 0 0
GetDlgItem 30 187 191
SerCtlColors 115 0 0
CreateFont 31 -40 196 199 0
SendMessage -1 115 207 203 119 0
GetDlgItem 30 187 214
SerCtlColors 115 0 0
Call 203
File $PLUGINSDIR\InstallOptions.dll
UpdateSatusText 8
RegisterDLL $PLUGINSDIR\InstallOptions.dll show 0
Pop $[30]
GetFunctionAddress 0 0
GetDlgItem 30 106 110
ShowWindow 115 151
GetDlgItem 30 106 121
ShowWindow 115 151
GetDlgItem 30 106 126
ShowWindow 115 151
GetDlgItem 30 106 131
ShowWindow 115 151
GetDlgItem 30 106 136
ShowWindow 115 151
GetDlgItem 30 106 141
ShowWindow 115 151
GetDlgItem 30 106 146
ShowWindow 115 119
GetFunctionAddress 1 0
Return
Return
GetDlgItem 30 106 131
SendMessage -1 115 226 119 -41 2
GetDlgItem 30 106 136
SendMessage -1 115 226 119 -42 2
Return
Return
Return
GetDlgItem 30 106 131
SendMessage -1 115 226 119 -43 2
GetDlgItem 30 106 136
SendMessage -1 115 226 119 -44 2
Return
Return
IfFlag 80 0 3 -1
GetDlgItem 30 106 131
SendMessage -1 115 226 119 -45 2
GetDlgItem 30 106 136
SendMessage -1 115 226 119 -46 2
Goto 84
GetDlgItem 30 106 131
SendMessage -1 115 226 119 -47 2
GetDlgItem 30 106 136
SendMessage -1 115 226 119 -48 2
IfFlag 85 0 3 -1
Return
WriteINIStr 1 40 -49 22
WriteINIStr 69 77 84 22
WriteINIStr 87 95 99 22
WriteINIStr 69 50 -50 22
WriteINIStr 87 77 102 22
IfFlag 0 109 4 -1
WriteINIStr 87 77 103 22
WriteINIStr 87 50 -51 22
WriteINIStr 1 233 100 22
WriteINIStr 243 251 256 22
WriteINIStr 243 50 -52 22
WriteINIStr 243 268 273 22
WriteINIStr 243 277 283 22
WriteINIStr 243 95 287 22
WriteINIStr 243 77 290 22
WriteINIStr 243 294 151 22
WriteINIStr 300 251 256 22
WriteINIStr 300 50 -53 22
WriteINIStr 300 268 273 22
WriteINIStr 300 277 283 22
WriteINIStr 300 95 308 22
WriteINIStr 300 77 273 22
Goto 110
WriteINIStr 87 50 -54 22
GetFunctionAddress 0 0
GetDlgItem 30 106 110
ShowWindow 115 119
GetDlgItem 30 106 121
ShowWindow 115 119
GetDlgItem 30 106 126
ShowWindow 115 119
GetDlgItem 30 106 131
ShowWindow 115 119
GetDlgItem 30 106 136
ShowWindow 115 119
GetDlgItem 30 106 141
ShowWindow 115 119
GetDlgItem 30 106 146
ShowWindow 115 151
GetFunctionAddress 1 0
Call 203
File $PLUGINSDIR\InstallOptions.dll
UpdateSatusText 8
Push $PLUGINSDIR\ioSpecial.ini
RegisterDLL $PLUGINSDIR\InstallOptions.dll initDialog 0
Pop $[32]
SerCtlColors 187 0 0
GetDlgItem 30 187 191
SerCtlColors 115 0 0
CreateFont 31 -40 196 199 0
SendMessage -1 115 207 203 119 0
GetDlgItem 30 187 214
SerCtlColors 115 0 0
IfFlag 0 145 4 -1
GetDlgItem 30 187 312
SerCtlColors 115 0 0
GetDlgItem 30 187 317
SerCtlColors 115 0 0
Goto 145
Call 203
File $PLUGINSDIR\InstallOptions.dll
UpdateSatusText 8
RegisterDLL $PLUGINSDIR\InstallOptions.dll show 0
Pop $[30]
GetFunctionAddress 0 0
GetDlgItem 30 106 110
ShowWindow 115 151
GetDlgItem 30 106 121
ShowWindow 115 151
GetDlgItem 30 106 126
ShowWindow 115 151
GetDlgItem 30 106 131
ShowWindow 115 151
GetDlgItem 30 106 136
ShowWindow 115 151
GetDlgItem 30 106 141
ShowWindow 115 151
GetDlgItem 30 106 146
ShowWindow 115 119
GetFunctionAddress 1 0
Return
IfFlag 0 173 4 -1
ReadINIStr 30 243 294 22
StrCmp "$[30]" "1" 0 172 0
Reboot
Quit
Return
Return
Call 203
UpdateSatusText 8
File $PLUGINSDIR\ioSpecial.ini
WriteINIStr 1 322 -55 22
File $PLUGINSDIR\modern-wizard.bmp
WriteINIStr 348 50 326 22
GetDlgItem 30 106 131
CreateFont 31 -40 -56 199 0
SendMessage -1 115 207 203 119 0
SerCtlColors 115 0 0
GetDlgItem 30 106 136
SerCtlColors 115 0 0
GetDlgItem 30 106 356
SerCtlColors 115 0 0
GetDlgItem 30 106 141
SerCtlColors 115 0 0
GetDlgItem 30 106 110
SerCtlColors 115 24 0
GetDlgItem 30 106 121
SerCtlColors 115 24 0
SendMessage -1 115 226 119 361 2
Return
MessageBox 52 -57 6 198 0
Abort
Return
ReadRegStr 16 2147483650 397 427 0
Return
Return
Return
UpdateSatusText 16
StrCmp "$PLUGINSDIR" "" 0 213 0
Push $0
SetFlag 2 0
GetTempFileName $TEMP
Delete 8 $0
SetOutPath $0
IfFlag 214 0 2 0
StrCpy $PLUGINSDIR "$0"
Pop $0
Return
MessageBox 2097168 454 0 0 0
Quit
Return



-------------------how can i use this information?------
I want to use this to study nsis!
thanks!


First off, don't post long bits of code like this--use attachements instead.

Second, this looks to be the outupt you get if you extract and NSIS setup file using something like 7-zip. If so, just ignore it. (It's not really meant for humans to read anyway!)
;)