[Setup]
DefaultDirName={code:GetProgramFiles}\{#MyAppName}
[code]
function GetProgramFiles(Param: string): string;
begin
if IsWin64 then Result := ExpandConstant('{pf64}')
else Result := ExpandConstant('{pf32}')
end;
DefaultDirName={code:GetProgramFiles}\{#MyAppName}
[code]
function GetProgramFiles(Param: string): string;
begin
if IsWin64 then Result := ExpandConstant('{pf64}')
else Result := ExpandConstant('{pf32}')
end;
No comments:
Post a Comment