I would like my installer to put some files into a users home path, (the path that the Windows %USERPROFILE% environment variable points to, and the path Qt's QDir::homePath() returns).
I have looked at the Inno Setup Constants page, but can't find the path I am looking for.
Use environment variables {%USERPROFILE}
or .{%HOMEPATH}
Update
As Martin pointed out in the comments, {%HOMEPATH}
shouldn't be used because it has no disk name (e.g., \Users\username
).
For user specific application data you should use the constant {userappdata}
which points to the application data folder. In this location you can create a folder for your application to store user specific files in.
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