Fifa 2004 Language Detection: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.)
m (Updated author links.)
Line 1: Line 1:
{|align=right
|<small>Author: [[{{ns:2}}:VegetaSan|VegetaSan]] ([[{{ns:3}}:VegetaSan|talk]], [[{{ns:-1}}:Contributions/VegetaSan|contrib]])</small>
|}
<br style="clear:both;">
== The Script ==
== The Script ==
<highlight-nsis>
<highlight-nsis>
Line 23: Line 27:
;rest of script
;rest of script
</highlight-nsis>
</highlight-nsis>
Page author: [[User:VegetaSan|VegetaSan]]

Revision as of 02:56, 30 April 2005

Author: VegetaSan (talk, contrib)


The Script

; Made By VegetaSan :)
; Don't forget...  fire.prohosting.com/vesan
; If it doens't work then you don't have Fifa 2004 on your computer
 
OutFile "Fifa 2004 Language.exe"
Name "Fifa 2004 Language"
Caption "Fifa 2004 Language"
XPStyle "on"
 
Function .onInit
ReadRegStr $0 HKLM "SOFTWARE\EA SPORTS\FIFA 2004" "Language"
StrCpy $1 $0 4 3
MessageBox MB_OK "Fifa 2004 Language : $0" 
Quit
FunctionEnd
 
Section "-boo"
;
SectionEnd
 
;rest of script