NativeProcess fails to work correctly with UAC
Hi there,
I'm using AIR 2's NativeProcess API to run a downloaded update for my application.
On computers without UAC enabled, this works fine, when calling NativeProcess.start(), it starts the installer and runs absolutely fine.
On computers with UAC enabled however, after calling NativeProcess.start(), it stops, and does not run any of the lines of code after it within the function. (In my case, it creates a log message and then calls NativeApplication.nativeApplication.exit(), but I also tested with a trace statement before and after; the trace after calling NativeProcess.start never displayed.)
I am also elsewhere in the application starting javaw.exe to make use of the merapi bridge/amf messaging. Starting javaw works with UAC enabled. It seems this issue may be isolated to installation programs that come up with a UAC warning "This program is about to make changes to your computer" type message.
I also tried using File.openWithDefaultApplication to open the directory containing the installer, but this _also_ doesn't work on the machines with UAC enabled!
Is there any work-around for this problem as I can't use the applicationupdater (since it's targeted at .air only at the moment) and I can't execute the downloaded file nor navigate the user to the downloaded directory!
Any help would be greatly appreciated!
Adam
