Setup Type Dialog strange behaviour - 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!

tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Setup Type Dialog strange behaviour

Hi,

I am having an issue with the setup type dialog in Advanced Installer 9.2 (issue also present in earlier versions). When one of the features is disabled in the Setup Type Dialog, the 'Select Folder' option disappears, however when enabled it magically appears again.

This is especially an issue if you have more than one version of the same product installed, as the feature selection is remembered from the previous installation.

Below are some screenshots that show the issue:
Disabled.PNG
Disabled.PNG (11.29 KiB) Viewed 5489 times
Enabled.PNG
Enabled.PNG (12.86 KiB) Viewed 5489 times
Thanks
Tom
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Setup Type Dialog strange behaviour

Hello,

Please keep in mind that this is a normal behavior. The "Browse.." button is used to specify the path where the selected feature will be installed. So, the "Browse..." button will be enabled only if the selected feature item from selection tree is set to be installed.

Also, during an upgrade the feature states of the old version are passed to the new version. So, if a feature has not been selected to be installed on previous installation, then when upgrading it will have associated the same action.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tp0189
Posts: 19
Joined: Fri Dec 02, 2011 10:46 am

Re: Setup Type Dialog strange behaviour

After running some tests it would appear that if I select a feature and change the directory it changes the directory for all of the features, not just for the selected feature.

Therefore it does seem strange that the 'change directory' becomes hidden even though there is at least one feature 'selected' for install. Our installs are set up so that more than one version can be installed at once, therefore the user may want to change the directory on the upgrade, which isn't immediately apparent if they had de-selected the drivers on the initial install.

And this brings me to another point that I don't believe the FolderDlg and SetupTypeDlg are mutually exclusive. It may be that I want to install the complete install but still change the location where it's installed, which is currently impossible. I don't understand why you don't let the user decide if it will be beneficial to have both dialogs in the install, rather than just disabling it ? Would it be possible so that if the FolderDlg is included, then the 'change directory' in Custom install is hidden?

Thanks for your help

Tom
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Setup Type Dialog strange behaviour

Hello Tom,
After running some tests it would appear that if I select a feature and change the directory it changes the directory for all of the features, not just for the selected feature.

This happens because all of your features use the same directory, specified in the "Directory" field from "Organization" -> "Feature Properties" right pane. This will not happen when your features will use different directories.
And this brings me to another point that I don't believe the FolderDlg and SetupTypeDlg are mutually exclusive.

If you want the related dialogs not to be mutually exclusive, then you should proceed as follows:
1. Go to Advanced Installer installation folder (usually "C:\Program Files\Caphyon\Advanced Installer version_number").
2. Go to "themes\your_theme" folder, where "your_theme" folder name is corresponding to your application package theme set from "Themes" page.
3. Here open the INI configuration file and edit the "DialogExclusion" section accordingly.
4. restart Advanced Installer
5. Now you can add both dialogs to your project.
Would it be possible so that if the FolderDlg is included, then the 'change directory' in Custom install is hidden?

If you want to do that you should include both dialogs, "FolderDlg" and "SetupTypeDlg", in your project. Then go to "Dialogs" page and from "CustomizeDlg" dialog delete the corresponding controls.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”