I am creating an installation package and user should be able to install it on a specific location only.
In order to do so I read some registry values in the
[Setup] DefaultDirName={code:GetDefaultDirName} DisableDirPage=Yes [Code] function GetDefaultDirName(Param: string): string; begin Result := ...; end;