Is there a way within WiX to determine if the installer is being run in quiet mode or interactively?
The WiX tools follow the traditional compile and link model used to create executables from source code. At build time, the WiX source files are validated against the core WiX schema, then processed by a preprocessor, compiler, and linker to create the final result.
Setup tab > Run after execution input: your msi file name. Advanced tab > Mark Request Administrative access option checkbox.
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)
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With