We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jwan
Posts: 1
Joined: Mon Jan 05, 2015 3:16 am

how to add username in a default file path.

dear all:
I want to select an environment file while installing.The environment file has a default file path what contains the logonUser's username.I tried use the LogonUser property ,but this property can't be chosen(the select property page is incomplete ).How can I achieve this?
Waiting for your help sincerely.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: how to add username in a default file path.

Hi and welcome to Advanced Installer forums.

Indeed, not all the properties are displayed in the property selection list, however, in order to use the logged on username in the default file path, you can write manually the [LogonUser] property, enclosed into brackets or use the [%USERNAME] environment variable.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”