File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tools/build-installer/inno Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -199,11 +199,11 @@ function DefaultDir(Param: String): String;
199199var
200200 gamepath: String;
201201begin
202- gamepath:=ExtractFilePath(ExpandConstant('{reg:HKLM \{cm:GameRegEng},InstallPath|{cm:DefaultGamePathEng}}'));
202+ gamepath:=ExtractFilePath(ExpandConstant('{reg:HKLM32 \{cm:GameRegEng},InstallPath|{cm:DefaultGamePathEng}}'));
203203 if (not FileExists(gamepath+ExpandConstant('\{cm:CheckFile}'))) then
204- gamepath:=ExpandConstant('{reg:HKLM \{cm:TFDReg},r2_folder|{pf}\{cm:TFDDirEnglish}}');
204+ gamepath:=ExpandConstant('{reg:HKLM32 \{cm:TFDReg},r2_folder|{pf}\{cm:TFDDirEnglish}}');
205205 if (not FileExists(gamepath+ExpandConstant('\{cm:CheckFile}'))) then
206- gamepath:=ExpandConstant('{reg:HKLM \{cm:OriginReg},Install Dir|{pf}\{cm:OriginDir}}');
206+ gamepath:=ExpandConstant('{reg:HKLM32 \{cm:OriginReg},Install Dir|{pf}\{cm:OriginDir}}');
207207 if (not FileExists(gamepath+ExpandConstant('\{cm:CheckFile}'))) then
208208 gamepath:=ExpandConstant('{pf}\{cm:TFDDirEnglish}');
209209 if (not FileExists(gamepath+ExpandConstant('\{cm:CheckFile}'))) then
You can’t perform that action at this time.
0 commit comments