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!

denysp
Posts: 3
Joined: Tue Jan 28, 2014 2:52 pm

Copy Files to %LOCALAPPDATA% and %USERPROFILE%

Good Morning,

I'm trying to copy files into %LOCALAPPDATA% and %USERPROFILE%. I'm looking at the instructions from:

http://www.advancedinstaller.com/user-g ... older.html

The problem i'm facing is that in this Step i'm getting lost:

2. Under "Wizard Dialogs Stage -> Searches" create a new "Set installer property" Custom Action with the following settings:
Property Name : USER_PROFILE
Formatted Text: [%USERPROFILE]

I don't see where that is in the GUI, is it only available in a specific version of Advanced Installer?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Copy Files to %LOCALAPPDATA% and %USERPROFILE%

Hello and welcome to Advanced Installer forums,

In order to achieve that you can go in the Custom Actions page and add the Set installer property predefined custom action with sequence.
Then you can drag your custom action after the Searches stage from the Wizard Dialogs Stage.

Please let me know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
denysp
Posts: 3
Joined: Tue Jan 28, 2014 2:52 pm

Re: Copy Files to %LOCALAPPDATA% and %USERPROFILE%

Dan,

Thanks for your reply, I will give that a shot. I think I was hung up because it wasn't in the Simple Application default group. I am still in demo mode, and it appears to be able to do this I will need to utilize features of the Professional license. That doesn't bother me, but can you verify that I need to be licensed for the professional version to be able to copy files to those variable paths?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Copy Files to %LOCALAPPDATA% and %USERPROFILE%

Hello,

Indeed, the Custom Actions features is available starting with the Professional edition of Advanced Installer so you need to choose a Professional project type in the Start page.
Please note that during the trial you have access to all the features, without any limits. The setup packages will just include message boxes during the installation, saying they were built with a trial version of Advanced Installer. Other then that, you can change dialog backgrounds, branding, anything you want.

You can also change your existing project type in the Project type tab from the Project Options toolbar button from the Home menu.

If there is anything else I can help with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
denysp
Posts: 3
Joined: Tue Jan 28, 2014 2:52 pm

Re: Copy Files to %LOCALAPPDATA% and %USERPROFILE%

Dan,

Thanks for all of the help! I've decided to just purchase the Professional verison of the product, and I have been able to copy the files to the locations that I need to thanks to your help. I am having an issue, with some of the registry entries that are getting put into HKCU, the entries show up but the application is ignoring them for some reason. If I manually import the .reg file on one of the clients it works great, have you ever heard of this type of problem?

D

Return to “Building Installers”