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!

jderosa
Posts: 19
Joined: Wed Sep 28, 2016 8:27 pm

Need to have installer with multiple versions available

Need to make an installer that can install the following:

A\File.exe

B\File.exe

Where A and B need to be mutually exclusive. So I would either be installing A\File.exe or B\File.exe (or neither)

I have 2 issues in attempting this,
#1 I am unable to add 2 files with the same name to the file list it forces a rename.
#2 How do I make it so 2 features are mutually exclusive
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Need to have installer with multiple versions available

Hi,
#1 I am unable to add 2 files with the same name to the file list it forces a rename.
To achieve this you can implemant the steps described in the "How to install two files with the same name in the same folder" tutorial.
#2 How do I make it so 2 features are mutually exclusive
To have to features mutually exclusive, you can use for them the appropriate conditions based on the same property (i.e. MY_PROP for one feature, NOT MY_PROP for the other feature).

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jderosa
Posts: 19
Joined: Wed Sep 28, 2016 8:27 pm

Re: Need to have installer with multiple versions available

The tutorial solves my duplicate file issue perfectly.

What I want to do with the 2 features, is not be able to select both in the feature selection dialog.

For example
Feature A and Feature B both install the same file (using the tutorial you listed)
When the user is given the feature selection dialog, If then select feature A it clears feature B and if they pick B it clears Feature A
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Need to have installer with multiple versions available

Hi,

I'm afraid that the features cannot be set as mutually exclusive through the "ConfigureDlg" dialog. In order to achieve this, you can create your own custom feature selection dialog and use radio buttons for the two features.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jderosa
Posts: 19
Joined: Wed Sep 28, 2016 8:27 pm

Re: Need to have installer with multiple versions available

That will do what we need, but there are about 60 features and 20 of them have 2 versions. A bit time consuming but should do the trick.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Need to have installer with multiple versions available

Indeed, this is a bit time consuming when you have so many feature, but I'm afraid that it is the only way to achieve what you need.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”