Fifa 2004 Language Detection: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
m (Updated author links.)
m (Adding new author and category links.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{|align=right
{{PageAuthor|VegetaSan}}
|<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 27: Line 25:
;rest of script
;rest of script
</highlight-nsis>
</highlight-nsis>
[[Category:Other Products Version Detection Functions]]

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