BPeters
Posts: 17
Joined: Tue Aug 30, 2005 4:58 pm

Dynamically Show/Hide Dialogs

I have 2 different installs for the same application one for each language. When the second one installs I would like not display the folder dialog so it will install the additional language files into the same dir as the original install. I would like for the applications to be installed in either order so it should be dynamic. Any help on this would be great.

Thanks
Brad
ciprian
Posts: 259
Joined: Thu Jul 14, 2005 12:56 pm
Location: Craiova, Romania
Contact: Website

Hi Brad,

I'm afraid that that Advanced Installer doesn't support this feature.

You cannot suppress an install dialog dynamically, during the install process.

You could use a custom action that will set the TARGETDIR property to the desired value. The TARGETDIR property contains the target path of the application and regardless what the user selects in that the select folder dialog the the target folder is not changed.

You can condition the execution of this custom action by a search that will determine whether the the first package was installed or not.

All the best,
Ciprian
Ciprian Burca
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”