2 Modes of Installation? - 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!

reagan123
Posts: 1
Joined: Mon Oct 31, 2011 3:29 am

2 Modes of Installation?

Hello,
I'm new to Advanced Installer and was looking for guidance on how to implement the following scenario. Our application can be installed in 2 modes, "Mode A" or "Mode B". The user selects the mode during the current installation process.

What I would like to do is if they choose "Mode A", I need to install SQL Server Express and attach a database. If they install in "Mode B", I just show the connection dialog to get the SQL Server credentials. Can anyone help out?

Thank you.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: 2 Modes of Installation?

Hello and welcome to Advanced Installer forums,

If the user choses "Mode A", you can add SQL Server Express as a feature based prerequisite and condition its installation using a custom action. Here is an article to help you with this.

If the user choses "Mode B" then the installation should continue normally.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”