开发者

How do you determine if a WiX installer is quiet or interactive?

开发者 https://www.devze.com 2022-12-15 17:45 出处:网络
Is there a way within WiX to determine if the installer is being run in quiet开发者_如何转开发 mode or interactively?My google-fu finally kicked in.Apparently there are some built-in properties that y

Is there a way within WiX to determine if the installer is being run in quiet开发者_如何转开发 mode or interactively?


My google-fu finally kicked in. Apparently there are some built-in properties that you can use to determine the UI level.

http://msdn.microsoft.com/en-us/library/aa372096%28VS.85%29.aspx


Recently we developed new bundled WiX installers in our team where we had our custom bootstrapper application inheriting from standard BootstrapperApplication and we were checking whether the installation is silent like this:

(Command.Display == Display.None || Command.Display == Display.Embedded)
0

精彩评论

暂无评论...
验证码 换一张
取 消