Adobe AIR non-Administrator application installation/upgrade on Windows

Posted by bzlm on Stack Overflow See other posts from Stack Overflow or by bzlm
Published on 2009-05-06T15:33:24Z Indexed on 2010/06/02 23:34 UTC
Read the original article Hit count: 427

Is there any way to allow non-Administrator users to install, upgrade or uninstall an Adobe AIR application on Windows?

I've made an Adobe AIR application and packaged it as a .air package using the standard AIR mechanism for creating deployment packages. If a normal or Power user tries to install this AIR application, the Application Event Log shows an error saying administrative rights are required. And even if the user elevates during installation, administrative rights are still required for an upgrade using the automated AIR upgrade system (since an upgrade is essentially, behind the scenes, an uninstallation of a .msi package followed by an installation of another .msi package).

Is there any way around this?

What I've tried so far is:

  • Using the Group Policy editor, setting Windows Installer to elevate during installations. Doesn't work, since AIR attempts a "for all users" installation.
  • Specifying My Documents as the installation directory. Doesn't work, since AIR attempts a "for all users" installation.
  • Giving the user Modify access to the Program Files folder where the application would usually reside. Doesn't work, since this isn't a file permissions issue.
  • Making the user a Power User. Doesn't work, since AIR attempts a "for all users" installation.

I'm guessing that both installing and upgrading would work fine for a user if

  • the AIR installer would attempt to make an "only for me" application installation instead of a "for all users" installation, and
  • the user was a Power User, and possibly
  • the application was installed to My Documents

I'm also guessing that this problem doesn't exist on OSX and Linux, since they have more intuitive concepts for per-user application installations.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about permissions