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
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
If you're installing to a location where Windows requires elevated privileges, like Program Files, you'll need to have admin privileges to continue. Are you using an AIR based native installer or have you taken the application with the captive runtime and rolled this up in your own installer?
Here's a section from the Installation and deployment options in Adobe AIR 3 article that might help:
Installation privileges
When designing an installer, one has the option to choose from approaches that may or may not require administrative privilege. For example, a drag-and-drop install on Mac OS X requires no special privilege; users can always copy the application into their own application folders, for which they have the necessary permissions. On the other hand, if registry keys must be written to the machine-specific portion of the registry on Windows, installation of that application will require administrative privilege to do so.
The two installer formats directly supported by AIR, AIR files and native installers, have always required administrative privilege. This was a design decision made in part to simplify the implementation of the AIR installers: If administrative privilege is assumed to be available, implementation is possible if the registry can be written to, and so on. It was also selected because, in many enterprises, this is the desired behavior: administrators can use the privilege requirement to gate software installation.
All the same, there are scenarios where supporting installation without requiring administrative privileges is desirable, or even necessary. This can now be achieved using custom installers; you simply need to author an installer that operates correctly with only standard user privilege. In practice this can be easy to achieve; a simple install-by-copy to a writable location (that is, in the user's own folder) will suffice. Should you author a more complex installer, you should keep in mind that the addition of certain operations during the install process will in turn reintroduce the requirement for administrative privileges.
Hi Chris,
I have taken the application with the captive runtime and rolled this up in an .msi, I have used advanced Installer tool to create an .msi.
And I also tried just copying the result of captive runtime generated package as below to the machine
For windows after bundling the AIR runtime & Application using captive runtime I see a folder with
-/Adobe AIR
- /versions
-/1.0
-Resources
- AIR and captiveAppEntry.exe
-Adobe AIR.dll
-/assets
-/Meta-INF
-airApp.exe
-airApp.swf
And then I double clicked on the .exe but it will ask for admin privilege to install AIR runtime and AIR application.
Any help or suggestion would be really helpfull , this is a show stopper for the release. Seems this client does not want to allow admin privilege to the users.
Thanks
I think I got it to work by updating the application descriptor, I had to enable the supportedProfile tag and add “extendedDesktop” profile.
I wish Adobe had stated this obviously or may be I missed on the details.
The next I treid was building OS native Installer (.exe & .dmg) bundle it with captive runtime and then package into a .msi for distribution for windows.
But this does not seem to work, The runtime has to be installed in that case.
Can someone please confirm if I can use native installers and captive runtime together.
Thanks you so much
North America
Europe, Middle East and Africa
Asia Pacific