Application Folder Question - Advanced Installer Community
sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Application Folder Question

We want to set the default Application folder at "Install Parameters" to: [WindowsVolume]MyCompany\MyProduct2014
So the Setup Application shows as default: c:\MyCompany\MyProduct2014

If we do this like above it is not possible that the user changes the setup folder. The changes to the folder edit field by the user will be ignored.
How can we set a defaul folder like above that keeps changable by the user in the edit field?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Application Folder Question

Hello,

In order to achieve that you can add the following [WindowsVolume][Manufacturer]\[ProductName] statement in the Application Folder field from the Install Parameters page.
When the user will run your installation package, the default installation folder will be:
C:\Your Company\Your Application\

Also, the user can change the installation folder at run-time. Did you encountered other behavior?

Please find the attached archive which contains a sample .AIP that implement this scenario.

Best regards,
Dan
Attachments
ApplicationFolderSample.zip
(2.54 KiB) Downloaded 298 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Re: Application Folder Question

We use Advanced Installer 9.6.1

Any changes to the "folder" edit field in the Setup Application by the User are ignored.

So when the following path is shown in the edit field:
C:\Your Company\Your Application\

It cannot be changed to this:
D:\Your Company\Your Application\

The change in the edit field will be ignored and the application is installed to drive c:

Looks like a bug?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Application Folder Question

Hello,

I'm not sure why you encountered this behavior. I've tested your scenario but I cannot reproduce it.
Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sylven
Posts: 7
Joined: Fri May 30, 2014 9:39 am

Re: Application Folder Question

We have sended the project file (*.aip) to you email address.

Return to “Common Problems”