I have a very simple Visual Studio 2010 setup project. In this project I have a simple custom action, running a thirdy part executable. Nothing really complicated so far. Now, I want to add a parameter, so, when running the installer, I have the option to skip this custom action. Let's say, for example, that I want to run my installer using a switch, at command prompt. Something like this
my-msi-name.msi /NOACTION
What I want to achieve is to skip the custom action if this "/NOACTION" is added as a switch, else run it. Is this a possible option? I can't find any answer to this question.