8

I need to create install-able setup via scripting for my WPF application. I don't know where to start and what is best way to do this. Please help.

D J
  • 6,908
  • 13
  • 43
  • 75

3 Answers3

10

You can either:

  • Use the built in setup project type in Visual Studio to create an MSI installer
  • Use something like NSIS or WIX. I use NSIS for all of my apps, both have learning curves and NSIS is fairly easily skinnable.
Peter
  • 14,221
  • 15
  • 70
  • 110
Echilon
  • 10,064
  • 33
  • 131
  • 217
4

Consider using Inno Setup ▶ http://www.jrsoftware.org/isinfo.php

It is free and also provides powerful script to make a installer package.

Youngjae
  • 24,352
  • 18
  • 113
  • 198
  • 1
    +1. Inno Setup has a wizard that will build you an installer within a few minutes of downloading the software. Once the wizard builds your install script, you can go the the `Run` menu and choose `Target Setup` or `Target Uninstall` to test your install/uninstall right from Inno Setup. Really fast and super easy to learn. – Bruce Pierson Feb 16 '16 at 04:22
0

Agree with Echilon. I would like to add that Inno Setup is also a very good solution to try.

IMHO WIX is much harder to understand and to manage than alternatives, for little projects it's not the best option.

AFract
  • 8,868
  • 6
  • 48
  • 70