PDA

View Full Version : Optional Features with Prerequisites



biddleswade
11-11-2008, 04:32 AM
I need to create a single installer that will give the user the option to install either:

client components (install application & SQL Server 2005 Express as a prerequisite)

or

server components (install webservice & SQL Server Connectivity components as a prerequisite)

My original thought was to create 2 features but from looking through the forums I see that feature prerequisites are only available in IS 2009. Other posts have recommended creating individual projects then having an InstallScript project that allows the user to choose the type of install and then kick off the relevant installer.

Can anyone recommend a best practise approach?

If this involves using InstallScript:
1. how would I go about kicking off the individual project's setup.exe files?
2. can they be run silently?
3. can these setup.exe files be included in the InstallScript setup.exe so I only have to ship a single file?

Any help would be greatly appreciated.
Chris