How to create Set-Up of a project programmatically in Vb.Net?


How to create Set-Up (ie .msi file) of a project programmatically in Vb.Net?

Thanks in advance
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jacques Bourgeois (James Burger)PresidentCommented:
You do not do it programmatically, unless you already know the format of a msi file and are willing to put everything in place.

It's easier to do it with a tool that is provided when you go in File...New...Project...Other Project Types...Setup and deployment. What you find there will change depending on the version of Visual Studio.

If you see InstallShield, go for it because it is the only tool that is still available in Visual Studio 2012, so you won't have to start anew for eventual updates when you will move to newer versions of Visual Studio. Otherwise, use what is available there.

This will create a new type of project that will generate a .msi when you build it. It is intuitive to use if you are used to Visual Studio. The View menu and the Properties window are basically the tools you use to give the specifications for the installation.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming Languages-Other

From novice to tech pro — start learning today.