Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSI installer calling another MSI installer in silent mode using WiX

I'm using WiX to make an MSI installer to call another MSI installer.

  • I can resolve this situation in UILevel=5 (Full UI) mode. My solution is add a CustomAction to the UISequence table that call another MSI. It will not get error code 1500: "Another installation is already in progress..."
  • But in slient mode, UILevel = 2, I can't do it, because it only runs CustomAction in ExecuteSequence. How can I run my MSI in silent mode and call another MSI installer?
like image 418
Klaus Avatar asked Apr 07 '12 07:04

Klaus


People also ask

How do I run an MSI file in silent mode?

If you are looking for complete silence then you also need the MSI to run in quiet mode. You achieve this by running the msiexec.exe with the /qn switch. This switch means quiet and no interface.

What is WiX MSI?

Windows Installer XML Toolset (WiX, pronounced "wicks"), is a free software toolset that builds Windows Installer packages from XML. It consists of a command-line environment that developers may integrate into their build processes to build MSI and MSM packages.

How do I create a simple MSI installer using WiX?

Adding a WiX setup project In Visual Studio, open your solution, and add a WiX project to it: go to the Visual Studio main menu and click File -> Add -> New Project to open the Add New Project dialog. Choose the Setup Project item in the Windows Installer XML node, specify the project name and click OK.

What is the difference between an MSI installer and an EXE installer?

The main difference between the two extensions is their purpose. EXE is used mainly to indicate that the file is an executable one. In comparison, MSI indicates that the file is a Windows installer. While an MSI is used only with installers, this is not the case with EXE.

How do I run as administrator in WiX installer?

Setup tab > Run after execution input: your msi file name. Advanced tab > Mark Request Administrative access option checkbox.


1 Answers

Install both MSIs with the Burn bootstrapper included with wix 3.6.

like image 174
Wim Coenen Avatar answered Oct 05 '22 23:10

Wim Coenen