Fifa 2004 Language Detection: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library)
 
m (Adding new author and category links.)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{PageAuthor|VegetaSan}}
== The Script ==
== The Script ==
<highlight-nsis>
<highlight-nsis>
Line 24: Line 26:
</highlight-nsis>
</highlight-nsis>


 
[[Category:Other Products Version Detection Functions]]
Page author: VegetaSan

Latest revision as of 12:11, 24 June 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