My product needs to change file association. To allow it to run as non-admin in Vista, I have moved the registry changing code to a separate binary called "assocsetup.exe".
When launched, Vista UAC correctly asks for permission to run it as admin with the "A program needs your permission to continue" message.
However, it doesn't bring it to front immediately. It just flashes its entry on the taskbar and the user must click on it to bring up the UAC window.
Is there any way to automatically make the UAC window visible so the taskbar click is avoided?
Thanks!