Hi,
My installer contains a dialog window which has two selection options - "System install" or "client install". If a user selects "System install" then a full installation occurs, including SQL server 2008 r2 express sp2 as a silent install. If the user selects "client install", then just some .dll's, config files and .exe's are installed.
Now, the problem I'm having is I only want "SQL server 2008 r2 express sp2" to install on the "System install" option. Currently I'm installing SQL express on both types of install.
NB: As the "System install" installs SQL scripts, "SQL server 2008 r2 express sp2" cannot be installed as a post install or as a custom action. I've currently set it in the prerequisites, but I can't figure out what condition needs to be set to allow the SQL only to be installed when the user selects "System install".