Thanks! Before I tried this, I set up the MSI for software deployment
via GPO. I was pleasantly surprised to see Windows display a dialog
saying "Installing managed software" while the program was being
deployed. All of this happened before the login screen, and had no
way for the user to interact and mess it up.
I will keep your InstallUIExecute trick handy if needed. Thanks.