开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜