You are always welcome.
On a related note, is there a property that I can query (in a custom action or something) that will tell me if the current user has UI access? That is - a condition I could put on my launch application custom action that would only run if that application actually *could* be launched.
I'm not aware of any such dedicated Windows Installer property, but maybe you can try to use the
"LogonUser" property to access the name of the user account running the current installation process.
And also related - is there a way to query what UI level the installer is running as? For example, if the user is running with “msiexec /silent”, I probably don’t want to pop up my application - but if they are running with “msiexec /passive” or any other UI level, I would want to pop up the application.
Yes, you can use the
UILevel property.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging