Skip to main content
vshare
Known Participant
March 16, 2012
Question

AIR runtime and AIR applications built using Captive Runtime still need Admin Privilege to Install

  • March 16, 2012
  • 1 reply
  • 3720 views

I am working on a small project to install AIR application(native .exe & .dmg) with AIR runtime without needing the Administrator privilege so I used Captive runtime but the installation is still asking for admin privilege

I bundled AIR application with AIR runtime using Captive runtime from flash builder 4.6, then I packaged this into a .MSI using Advanced Installer. Now when I install it for a user without admin privilege it prompts me for Admin credentials.

Can you please tell me if

1. I need AIR distribution license to install AIR runtime without Admin privilege

2. Do I need a different installer

3. Am I missing any step here

Thank you

This topic has been closed for replies.

1 reply

chris.campbell
Legend
March 21, 2012

Hi,

You shouldn't need the AIR distribution license for a captive runtime install.  It sounds like you might just be running into a problem with your native installer.  Is the final install location in a protected OS area (like program files)?

Chris

vshare
vshareAuthor
Known Participant
March 22, 2012

Thanks for the response.

The .msi installer installs the application in users application directory, so I have to navigate to the Applications directory to install my AIR applications.

I would have thought the installer will install the AIR runtime and the AIR application for the user. So when I double click the AIR application .exe from the installed directory , it loads the application and then goes away in few seconds to bring up the installation process (this raises a question how did the application get loaded I should have seen installation process first) and then I see the Installation window for AIR runtime , desktop shortcut, start application after installation after clicking on yes it prompts me for admin privilege.

1. Is there a flag or setting while bundling the application to avoid the admin privilege to install AIR application & AIR runtime?

2. I have used Advanced Installer, Installsheild and Wixedit to create .msi package none of them install the AIR application & AIR runtime, installation occurs only after the user double clicks on the shortcut or .exe Is there are setting within the Installers?

3. The other question I had was after installing the application as an Admin I see two .exes one for the .msi and the other for AIR application. Is there a solution for this issue.

Thank you

vshare
vshareAuthor
Known Participant
March 22, 2012

Just to add to it, It doesnot matter if I change the install location to appdata / roaming