Issues about Organization and Update Configuration - 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!

z_shangyi
Posts: 27
Joined: Sat Aug 26, 2006 5:44 am

Issues about Organization and Update Configuration

Hello,

I want to achieve the following features. How to achieve? Please help me.

1. Depending on some conditions to set different Installation Level/Attribute of a feature to Always Install. For example, If same software in different languages version have be installed, then installation level of main feature will can be changed by user, otherwise they will only be installed, and it can not be changed by user.

2.The same components need to belong to two or more features, to order to install it depending on different features. For example, If same software in different languages version have be installed, then only need to install some files of other languages, Otherwise, all the files will be installed. However, there files need to be distributed among different features so that users can choose to install.

3. Dependencies and Exclusions of Feature. The Dependencies is two features need to be installed at the same time, and We know that it is easy to be achieved by organize associated components into a same feature. The Exclusions is two features can not be installed at same time, and it seems is more difficult to achieve. When user choose to install a feature then an other feature will be automatically set to do not installed.

4. I can use update.exe to check for updates from more than a websites? In addition, the name, size, version of file to update in these Websites may is different. Each site may need to belong to different components or features.

Zhanks!
Zhang Shangyi
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Issues about Organization and Update Configuration

Hi,
If same software in different languages version have be installed, then installation level of main feature will can be changed by user, otherwise they will only be installed, and it can not be changed by user.
For this you can try this approach:
- create a search to determine if your product was installed in another language
- use the property of this search to set a conditional install level for the feature you want
- the same property can be used to conditionally show the "SetupTypeDlg" dialog

The condition install levels will determine if the feature will be installed or not. Also, if the feature will not be installed you can skip the "SetupTypeDlg" dialog in the "Dialogs" page. Please note that the User Guide contains the Conditionally show "StartMenuShortcutsDlg" and Conditionally show the "UpgradeDlg" dialog how-to's which may help you.
The same components need to belong to two or more features, to order to install it depending on different features.
You can share a component between features like this:
- in the Organization page select the component you want to share
- while the SHIFT key is pressed, drag the component on another feature
The Exclusions is two features can not be installed at same time, and it seems is more difficult to achieve. When user choose to install a feature then an other feature will be automatically set to do not installed.
I'm afraid that this is not supported by Windows Installer. However, you can try using a custom feature selection dialog. This way you can have radio buttons for the mutually exclusive features.
I can use update.exe to check for updates from more than a websites?
Currently this is not supported by Advanced Installer. However, we have it on our TODO list and it will be available in a future version.
In addition, the name, size, version of file to update in these Websites may is different.
I'm afraid that this is not supported by the Auto Updater. If the update packages are different, you need to use different updates in your updates configuration file.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
z_shangyi
Posts: 27
Joined: Sat Aug 26, 2006 5:44 am

Re: Issues about Organization and Update Configuration

Zhank you help me!
For this you can try this approach:
- create a search to determine if your product was installed in another language
- use the property of this search to set a conditional install level for the feature you want
- the same property can be used to conditionally show the "SetupTypeDlg" dialog

The condition install levels will determine if the feature will be installed or not. Also, if the feature will not be installed you can skip the "SetupTypeDlg" dialog in the "Dialogs" page. Please note that the User Guide contains the Conditionally show "StartMenuShortcutsDlg" and Conditionally show the "UpgradeDlg" dialog how-to's which may help you.
I know this, I have already done so. I just want to know whether there are better ways.
You can share a component between features like this:
- in the Organization page select the component you want to share
- while the SHIFT key is pressed, drag the component on another feature
Zhanks very mach. It's a goog way. I would like to increase the "Shared Component To" item to the context menu of components.

Zhang Shangyi

Return to “Common Problems”