I need to get 8.3 formatted path (in this case {app}
) for registry entry.
Unfortunately this specific Delphi function does not work in Inno Setup
function ExtractShortPathName(const S: FullFileName): string;
Use the GetShortName
function. From the reference:
Returns the short version of the specified long filename. If the short version of the long filename is not found, the long filename is returned.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With