Connor Albright
Connor Albright

Reputation: 733

Creating an MSI installer for the first time

I need to make an msi installer for my very simple (no databases or anything) vb.net application in VS2010. I don't know anything about installers. Where do I start?

Upvotes: 6

Views: 23072

Answers (3)

ShadowChaser
ShadowChaser

Reputation: 5598

I would recommend taking a look at Windows Installer XML, commonly referred to as WiX. It's a bit more complicated than Visual Studio setup projects, but it allows you to treat your installer like source code.

Makes longer term maintenance of installers easier than the GUI-based alternatives. Microsoft uses it to create many of their own installers.

It's available free here: http://wix.sourceforge.net/

A good tutorial for beginners is available here: http://www.tramontana.co.hu/wix/

Be warned though, MSI has a somewhat steep learning curve. The biggest problem you'll probably face isn't with Windows Installer (MSI) itself, but the deployment of the .NET Framework to the target machines. There's no way to deploy .NET from within Windows Installer - you'll need a separate executable "bootstrapper" that installs .NET before the MSI can be launched.

Upvotes: 7

IAmTimCorey
IAmTimCorey

Reputation: 16757

Here is a great walkthrough on how to create the setup project using the wizard:

http://www.dreamincode.net/forums/topic/58021-deploying-a-c%23-application-visual-studio-setup-project/

Upvotes: 5

Jay
Jay

Reputation: 14441

Visual studio has a separate kind of project you can create to make an installation for your application.

Upvotes: -2

Related Questions