Skip to main content
Known Participant
September 21, 2013
Question

Can AIR applicaiton request elevation to admin privileges on Windows 7

  • September 21, 2013
  • 2 replies
  • 672 views

Can AIR applicaiton request elevation to admin privileges at startup? I need access database installed along with the applicaiton and having issues with it. It works only when I manually start it with "Run as administration" via menu.

This topic has been closed for replies.

2 replies

Known Participant
September 28, 2013

@xchg.ca I never found a way to get admin permission with an AIR package. So I just included the necessary app files in an LZMA zipped package, copied it from the install folder to the application storage folder (File.applicationStorageDirectory) and unzipped everything there. You have permissions in that folder. The only way to execute system commands on Windows without admin permissions was to put all the commands in a .bat file and just have the native process execute the .bat file. Hope this helps. It took me a while to figure this out as their are no docs on this. Hope this helps

Inspiring
September 28, 2013

Just curious, did you ever find a solution to this? I'm trying to do the same sort of thing.

-Aaron