Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build NSIS script as a MSI package

Is there any way to compile the Nullsoft Installer Script (NSI) setup as a MSI package instead of an EXE?

like image 503
NumberFour Avatar asked Dec 07 '09 07:12

NumberFour


People also ask

Can Nsis create MSI?

Unfortunately, No. NSIS lets you create scriptable, procedural installation packages. It's simple, easy to use and has a number of features not present in Windows Installer. Windows Installer (MSI) creates database driven, transactional installation packages.

How do you compile NSIS?

NSIS installers are generated by using the 'MakeNSIS' program to compile a NSIS script (. NSI) into an installer executable. The NSIS development kit installer sets up your computer so that you can compile a . nsi file by simply right-clicking on it in Explorer and selecting 'compile'.

How do I create an MSI package from an exe?

Create Msi from Exe Using Free MSI Wrapper 1. In the Source Folder field, specify the folder with the EXE file that you want to convert to MSI. 2. In the Target Path field, specify the default folder in which the created MSI will be installed.


1 Answers

Unfortunately, No.

NSIS lets you create scriptable, procedural installation packages. It's simple, easy to use and has a number of features not present in Windows Installer.

Windows Installer (MSI) creates database driven, transactional installation packages. When written properly a Windows Installer package is very robust, a file gets corrupted/deleted and it will be automatically reinstalled. Windows Installer is aware of UAC and only elevates when required, basically if you're creating software for the corporate market, you will need to provide an MSI.

Check out The Definitive Guide to Windows Installer for a good introduction to understanding MSI.

like image 162
saschabeaumont Avatar answered Sep 25 '22 00:09

saschabeaumont