This blog is a knowledge base...where I clip cool tricks and urls

MSI parameter driven

clipped from

Adding msi parameters in Visual Studio Setup Project

I can’t find how and where to add the parameter list of the msi.

I had to modify a setup project of which creates an msi for an application.

During modification I had to add an extra parameter that should be given to the msi during installation.

While I searched I found only how to read the parameters supplied from command line using Context.Parameters.

But I can’t find at any place where to specify the parameters those can be supplied with msi. Finally I found it and so I am writing here as it may be useful to others.

In property Pages of Install, in the option CustomEvents, we can specify the arguments.


For example if for our msi, we have to add 2 parameters INSTLOG & X

Then in the CustomEvents, we have to specify it as:

            /INSTLOG=”[INSTLOG]” /X=”[X]”

 blog it


Anonymous said...

Thanks for sharing your info. I truly appreciate your efforts and I am waiting for your next
write ups thank you once again.

Here is my web-site ... thinning hair styles for women

Anonymous said...

Hey there terrific blog! Does running a blog such as this take a great deal of work?
I've absolutely no understanding of coding however I was hoping to start my own blog soon. Anyhow, should you have any suggestions or techniques for new blog owners please share. I know this is off subject but I simply wanted to ask. Thank you!

My web page; Here

Anonymous said...

I blog quite often and I truly appreciate your information.
The article has really peaked my interest.

I'm going to book mark your website and keep checking for new details about once a week. I subscribed to your Feed as well.

Also visit my site: fat loss for food lovers

Anonymous said...

whoah this blog is fantastic i love studying
your articles. Stay up the great work! You understand, a lot of persons are searching round for this info, you could aid them

Have a look at my homepage :: premature ejaculation meaning in hindi