Custom install Path issue! Please help - 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!

indecipherable1
Posts: 2
Joined: Sun Jan 11, 2009 10:42 am

Custom install Path issue! Please help

Hi,
I have an issue as stated above.
I need my files to be installed to a very specific location.
The location is C:/Users/THE USER NAME OF THE PERSON/AppData/roaming/Media Center Programs

I have read over the documentation but I have been unable to find help with this issue.
I have read the custom C:/Users/USER_PROFILE information to create the [User_Profile].
However,
I do not know how to continue from there and even that seems to have an issue.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Custom install Path issue! Please help

Hi,

Please note that the User Guide contains the Install files in a custom folder how-to which may help you.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
indecipherable1
Posts: 2
Joined: Sun Jan 11, 2009 10:42 am

Re: Custom install Path issue! Please help

actually, it didnt help me can you give some advise?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Custom install Path issue! Please help

Hi,

The how-to I mentioned contains a section which explains the steps you can take in order to install files in the user profile folder ("C:\Users\<username>"). These steps can easily be adapted to your situation. Basically, you will have a property-based folder which gets its path from a property. This property is set by a custom action to the value of the "USERPROFILE" environment variable. When the package runs, everything added to the property-based folder will be installed in the path set in the environment variable.

For your project, you can use one of the following instead of [%USERPROFILE] (for the custom action):

Code: Select all

[%USERPROFILE]\AppData\roaming\Media Center Programs
or

Code: Select all

[%APPDATA]\Media Center Programs
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”