Use Environment Variable as Target Path - Advanced Installer Community

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!

raphael bellanova
Posts: 2
Joined: Fri Nov 12, 2010 10:27 am
Location: Germany

Use Environment Variable as Target Path

Hi,

I want the installer to put files under the following path: %USERPROFILE%\Local Settings\Application Data
Where %USERPROFILE% is an environment variable with the value C:\Documents and Settings\USERNAME

Is there a way to do this?

I did not find one in the forum or the tutorials.

Best regards,
Raphael Bellanova
Last edited by raphael bellanova on Fri Nov 12, 2010 1:13 pm, edited 1 time in total.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Use Environment Variable as Target Path

Hello and welcome to Advanced Installer Forums,

Please follow this thread. My colleague's solution refers to your exact scenario.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
raphael bellanova
Posts: 2
Joined: Fri Nov 12, 2010 10:27 am
Location: Germany

Re: Use Environment Variable as Target Path

This solution only works with the Professional version of Advanced Installer, is this correct?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Use Environment Variable as Target Path

Hello,

Yes, that is correct. As you can perhaps see in the sample project my colleague has attached to his post, you have to add some custom actions. This feature is available from the Professional or higher license type.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”