installer: appdata detection fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2833 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-10-05 08:31:14 +00:00
parent a2562c5ad9
commit 288fa803cf
+5 -2
View File
@@ -521,9 +521,12 @@ SectionEnd
Section "-Force Single User Only" ; for systems not supporting %appdata% (win98)
IfFileExists "%appdata%" done 0
Call ConfigureWithoutAppdata
ReadEnvStr $R0 "APPDATA"
StrCmp $R0 "" fix 0
IfFileExists $R0 done fix
fix:
Call ConfigureWithoutAppdata
done:
SectionEnd