ClickOnce: set one prerequisite as "optional"



I'm working with ClickOnce and I have a question I can't find on the web.


I have set my prerequisites and other options. One of the prerequisite in sql server express, so the app can run some sql script on the local sql server.


But I need to make this prerequisite "skippable".. I mean, if the user, for example, has got an online dbms, he doesn't have to install sql in local machines.


Obviously, if I click on cancel when the installer ask me to install sql server, it stops all the installation.


How can I make this (and only this) prerequisite optional? Is it possible?


I think (hope) that it is a parameter I can set on one file between package.xml and product.xml.


I know, prerequisite and optional are two opposite concepts, but this is what I need... something that is installed only if user wants.


Hoping my problem is clear to all, how do you manage this issue?


No comments:

Post a Comment