One MSI, two installation options - 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!

Jam
Posts: 2
Joined: Mon Jul 28, 2008 5:38 am

One MSI, two installation options

Hi,

I am new to the Windows Installer. Have been Wise Installer Builder for a long time.
Now I am using AI Enterprise 6.4.1.
I have network application which needs to install a "server version" and "workstation version".
The server version installs certain files that the workstation version does not. In Wise Builder, I had an a dialog with radio buttons and IF condition block (script) and based on user selection whether he/she installing the server version or the workstation version, certain files will be installed on users machine. I need to a complish the same feature using one MSI instead of creating two MSI installers.

TIA,
Jim
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: One MSI, two installation options

Hi Jim,

This can be done by using two features in the Organization page: one for the server and one for the workstation. Also, in the Dialogs page you should add the "SetupTypeDlg" dialog. This dialog allows the user to select the "Custom" option and install the feature he wants.

A similar approach is explained in the Show a custom feature selection dialog how-to. Let me know if you encounter any problems or if you have other questions.

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

Return to “Common Problems”