As I finish up version 1 of InstallRunner, I went to set the UAC setting for “Require Administrator Privileges”. I did that, and got this error:
Doing some research*, the cause of the error was that I did this:
By default, uiAccess is false. I changed it to true. I’m not sure why, ignorance perhaps 🙂
What does uiAccess do anyway?
But you don’t see it because it’s not passed to the remote control application. Setting uiAccess to true allows the UAC dialog to be seen by the remote application.
To use uiAccess = true, you need to do 2 things:
- your application needs to be digitally signed
- your application needs to stored in a secure location.
I changed uiAccess back to false, and my problem went away.