Skip to content

Create a MSI with multiple instances

Volker Berlin edited this page Jan 29, 2016 · 5 revisions

By default a MSI installer can installed only once. If you try to install a second instance then this is like an update and the previous installation will be removed. If you want create a multiple instances MSI installer with WIX then it is very complicated.

With SetupBuilder this is very easy. You need only to set the count of possible instances:

msi {
    multiInstanceCount = 100
}

This set the count of possible instance installations. The default value is 1. A limit is required because on creation time some GUIDs must be created.

The uninstaller in Programs and Features will be named like the installation directory. If the first instance is installed in the default location C:\Program Files\MyApp then the uninstaller is named MyApp. If the second instance is installed in C:\Program Files\MyApp 2 then the uninstaller is named MyApp 2.

Clone this wiki locally