Sysinfo Problems with Win98SE
Hi there I'm having a problem with the Sysinfo plugin for Win 98
It works fine with WinXP Pro but it just doesn't work with Win 98
Function .onInit
sysinfo::GetFileVersion "$INSTDIR\XwingAlliance.exe"
Pop $0
Push $0
Push "."
Push ""
Call StrReplace
Pop $0
IntCmp $0 2002 +3 0 +3
MessageBox MB_ICONSTOP|MB_OK "WARNING: Incorrect game \
version$\r$\n$\nX-Wing: Alliance has not yet been updated to version \
2.02.$\r$\n$\nPlease install the xwaupd202.exe, available at \
http://www.lucasarts.com/ $\r$\n$\nbefore attempting to install \
$(^Name)."
Abort
FunctionEnd
Function StrReplace
blah blah
FunctionEnd
The Install Dir is taken from the Reg
InstallDirRegKey HKLM "Software\LucasArts Entertainment Company LLC\X-Wing Alliance\v1.0" "Install Path"
Its just not picking up the FileVersion from the exe using Win98 where as using WinXP it work fine
Does anyone know how to fix this?
If so could you show me please as its really starting to frustrate me now :igor: