Skip to content

Commit

Permalink
Update Shared.CommonFunc.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
michelcedric authored Oct 30, 2024
1 parent 4420840 commit c102522
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Projects/Src/Shared.CommonFunc.pas
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ function GetTempDir: String;
differences. }
label 1;
begin
Result := GetEnv('INNOSETUPTMP');
if (Result <> '') and DirExists(Result) then
goto 1;
Result := GetEnv('TMP');
if (Result <> '') and DirExists(Result) then
goto 1;
Expand Down

0 comments on commit c102522

Please sign in to comment.