Currently to access LocalLow I use this:
{%USERPROFILE}\AppData\LocalLow
But I would like to know if there's a set constant for that in INNO, since both Roaming
and Local
have one.
Currently to access LocalLow I use this:
{%USERPROFILE}\AppData\LocalLow
But I would like to know if there's a set constant for that in INNO, since both Roaming
and Local
have one.
For example, to delete file on uninstall from LocalLow with INNO:
There's no constant for
AppData\LocalLow
.You may use Pascal Scripting to resolve it.
To resolve the "LocalLow", one has to use
SHGetKnownFolderPath
.See also Detect the location of AppData\LocalLow.
The implementation involves few hacks, due to a lack of (wide)
PChar
type in Unicode Inno Setup.If you need to use the path in non-
Code
section (outside of the Pascal Script), you can use a scripted constant:And you need to change the function signature to take a dummy parameter: