TiLt
Posts: 2
Joined: Fri Nov 30, 2018 5:12 pm

(Current User) Information

Hi, Thought i would give this a try and i really like it but i was wondering how you get it to install the C:\Users(Current User) path I have been trying for days and can't work it out everything else works perfectly apart from this one thing it is actually making a folder called (Current User)..

Anyone please??

Thank you.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: (Current User) Information

Hello and welcome to our forums,

For this, you can use the [%USERPROFILE] environment variable, which will resolve to "C:\Users\<username>". Simply go to "Install Parameters" page and, in the "Application Folder" field, insert the above mentioned environment variable. After doing so, after building and running your setup, the default path will be set to "C:\users\<username>" as in the screenshot below:
[%USERPROFILE].PNG
[%USERPROFILE].PNG (22.59 KiB) Viewed 2213 times
Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”