By using the InstallCommand Parameter

<ExePackage
          Id="MyId"
          DisplayName="MyDisplayName"
          Cache="no"
          Compressed="no"
          PerMachine="yes"
          Permanent="yes"
          Vital="yes"
          Name="MySilentSetup"
          SourceFile="Setup.exe"
          InstallCommand="/silent" />

> -----Original Message-----
> From: sunchunqiang [mailto:c...@commvault.com]
> Sent: jeudi 28 mai 2015 05:32
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] How to pass command line switch to exe package ?
> 
> How to pass command line switch, such as -silent, to exe package ?
> 
> for example,
> 
> setup.exe -silent
> 
> how can I let exe packages know silent switch is set in the command line?
> 
> 
> Thanks!
> 
> 
> 
> 
> --
> View this message in context: http://windows-installer-xml-wix-
> toolset.687559.n2.nabble.com/How-to-pass-command-line-switch-to-exe-
> package-tp7600470.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to