cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

Disable prerequisite at install time

I have an Installscript MSI install that I want to install SQL Express 2005 SP1. I will be giving users an option to use an existing database (which may not be on the same box, so there may be no SQL files on the box) or install SQL Express. My question is, if they pick an existing database, I do not want to install SQL Express then. How do I tell the install to not install SQL Express? For a regular redistributable, I can just set the feature it is associated with to not install. How do I do something similar for the SQL prerequisite?

Thanks,
Dave E.
Labels (1)
0 Kudos
(1) Reply
Christoph
Level 8

I do not completely understand your question.

You're using SQL as a prerequisite(not linked to a feature).
So if I understand this correctly, you added SQL to the prerequisites editor.

The prerequisites added to the prerequisites editor are normally installed(or not installed) BEFORE any userinterface interaction with the user...

So... I don't see how you want to disable the SQL prerequisite depending on the users choice??
0 Kudos