On 11/10/2021 19:30, Profi Làctic wrote:
> Thanks for the response, just want to create a folder in
> "C:/Users/{currentuser}" and a shortcut to there in the desktop. But i
> will give it a think around. Any advice will be welcome! :D
It is not recommended to put folders directly in the user profile dir.
You can use {%USERPROFILE} or look it up "manually" as Jernej stated.
But it is preferred to put files into {userappdata} instead.
Though (as Jernej also stated) you should not touch any user* folders at
all in the installer unless it is set to PrivilegesRequired=lowest
(which has other consequences). For admin installs, you should install
everything to {app}, and then on starting your app you use the files in
{userappdata} if they exist, or copy the templates from {app} to
{userappdata} otherwise.