How to install conditional features? - 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!

mknoblock
Posts: 4
Joined: Sat Mar 27, 2010 4:51 pm

How to install conditional features?

Still new to this software, and I have made several install packages with it satisfactorily. What I need to do is let the user select 'custom' installation, check which features are required, and have the installer install the features. I think I'm missing something - I add a feature like 'NMS Manager' which, if the user selects it during installation, the installer places the setup and cab files on the target machine but does not run them. I'm using the Professional version.

I'm still looking through FAQs and tutorials, but one thing that is missing from most of this kind of help is the level of Advanced Installer required - so you could be spending time trying to find out how to do something that you aren't allowed to do in the first place.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to install conditional features?

Hi,

If you want to use other installation packages as features for a single installer, you can try adding them as feature-based software prerequisites. After that the user can select them through the "SetupTypeDlg" predefined dialog or through a custom feature selection dialog created by you.

If this is not what you need, can you please give me more details?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mknoblock
Posts: 4
Joined: Sat Mar 27, 2010 4:51 pm

Re: How to install conditional features?

I have an Activex EXE that has its own installation pack consisting of setup.exe, a CAB file, and a LST file. I need to make this a feature ("NMS") selectable through the custom setup dialog. I have tried several different ways, but none of them actually install NMS. On some installations, the setup,CAB and LST files are left installed on the target machine but they never run.

Once this is working, I have several Activex EXEs that will need to be installed on the target and REGSVR32 run to register them, if they are chosen on the custom dialog.

Same with SQL Server Express. I can't create custom dialogs with Professional, so this has to work with the supplied custom setup dialog. thanks for any help.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: How to install conditional features?

Hi,

You can add these installers as feature-based prerequisite like I mentioned in my previous post. After that add "SetupTypeDlg" dialog in the "Dialogs" page so the user can select the features he wants. Please note that for prerequisites with multiple files you can use the Files tab of the "Edit Prerequisite" dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”