简体   繁体   中英

Wix bootstrapper run msipackage in silent mode

I've created simple bootstrapper project which installs MSXML.msi and x.msi . What I want to is execute msxml.msi in silent mode and then x.msi . but I have absolutely no idea how to pass command line arguments to MSI package

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">

<Bundle>
    ...
    <Chain>
      <MsiPackage Id="MSXML" SourceFile="msxml_XP_x86.msi" />    
      <MsiPackage Id="MSI" SourceFile="x.msi"/>
    </Chain>
  </Bundle>
</Wix> 

I think DisplayInternalUI is what you are looking for. Values for DisplayInternalUI are either 'yes' or 'no'

<MsiPackage DisplayInternalUI="no" />

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM