Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create an MSI setup?

I've created setups for all my Delphi tools with Inno Setup for years. Now some users rather want an MSI installation package, so they can deploy the setups from a central server to all workstations.

How do I create one? Do I have to buy Visual Studio or some other product?

like image 830
Daniel Rikowski Avatar asked Jun 25 '09 07:06

Daniel Rikowski


People also ask

How do I create an MSI for Windows application?

Go to Extensions > Manage Extensions > Online > Search, find, download and install Microsoft Visual Studio Installer Projects extension. 2). Add a new Setup Project in your solution > right-click Application Folder > Add > Project Output… > choose the corresponding Project > select Primary output > OK.

Which tool allows you to create an MSI package?

You can use the MSIX Packaging Tool to create an MSIX application package from any of the following options: MSI. EXE. ClickOnce.


2 Answers

You can use Wix (which is free) to create an MSI installation package.

WiX Tutorial - Creating an Installer MSI with Wix

like image 169
mezoid Avatar answered Oct 01 '22 08:10

mezoid


If you don't understand Windows Installer then I highly recommend The Definitive Guide to Windows Installer. You can't really use WiX without understanding MSI. Also worth downloading is the Windows Installer 4.5 SDK.

If you don't want to learn the Windows Installer fundamentals, then you'll need some wizard type package to hide all the nitty gritty details and hold your hand. There are plenty of options, some more expensive than others.

  • InstallShield
  • Advanced Installer
  • MSI Factory
  • etc..

However still I'd suggest picking up the above book and taking some time to understand what's going on "under the hood", it'll really help you figure out what's going wrong when customers start complaining that something is broken with the setup :)

like image 20
saschabeaumont Avatar answered Oct 01 '22 08:10

saschabeaumont



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!