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!

wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

Installation folder dropdown box

I have an installation that I have a custom folder set as the path to install into instead of "C:\program files\..." when I run my setup it displays my path but it has a dropdown with "C:\program files\...." listed in it. Is there a way to eliminte the dropdown?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

How exactly are you setting the installation folder to a custom path? Also, does this happen when performing a side-by-side installation? (please check if this package is already installed)

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

Folder is set in "Install Perimeters" > "Application Folder" and yes it is set for side by side installation, which I need.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that when you perform a side by side installation, the field which allows you to set the installation folder transforms into a combo box.

The values of the combo are the original installation folder (the folder of the first installation) and the new installation folder (the one set in the MSI). Note that this is normal Advanced Installer behavior.

If you need to change this you can do it by creating a custom dialog (or modifying the "FolderDlg" dialog) in the "Dialogs" page. This dialog will contain a Path Edit control with the property set to APPDIR. You can read more about the dialog editor feature here:
http://www.advancedinstaller.com/user-g ... ditor.html

Note that this feature is available only in an Enterprise project.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

I do not have the enterprise version. You said the value in the dropdown would be the original installation folder? What does that mean, the default windows location? Because the value it is bringing up "C:\program files\..." is not an original location that has ever been installed into on the computer I am testing on. Also it brings up that same value on all computers, even a new install.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

By "original installation folder" I mean the installation folder of the old version of your application (for which you perform a side by side installation).
Because the value it is bringing up "C:\program files\..." is not an original location that has ever been installed into on the computer I am testing on. Also it brings up that same value on all computers, even a new install.
Note that this happens because of the way Advanced Installer is built. In the "Install Parameters" page you can set the initial value of APPDIR, but this value can be changed during the installation process (for example by the combo box you see).

Also, during a first installation, if you select the combo box you will see the built-in value for APPDIR ([ProgramFilesFolder][Manufacturer]\[ProductName]).

This behavior is caused by a bug in the side by side installation option which will be fixed in the next version. Thank you for bringing this to our attention.

Until then, I'm afraid that the only options are:
- create a custom dialog
- do not use the side by side installation option

If you want to upgrade your license to Enterprise, you can use this page:
http://www.advancedinstaller.com/upgrade.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
wakerunner
Posts: 18
Joined: Mon Aug 13, 2007 9:55 pm

I would like to upgrade to enterprise and was planning on it but have run into too many problems using AI. At first it seemed like it would be the solution I was looking for when I switched to AI from IEX, but unfortunately after distibuting a few hundred installs with AI I have found that is seems to have similiar problems as IEX. Some computers / versions of Windows work fine with AI, some do not, some work with IEX, some do not.

It is beyond the scope of this forum to go into the details and I cannot reproduce the results on any of my test computers anyway, but I have some users who I have to send installs built with AI and some I have to send installs built with IEX, I even have some users who I have to send installs built with IE2.11 and for them no other installs work... go figure.

Return to “Common Problems”