• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Can an ADT-packaged native installer install the AIR runtime in silent mode?

Guest
Sep 16, 2010 Sep 16, 2010

Copy link to clipboard

Copied

Silent installation of my app works fine when the runtime is installed, as follows:

<path>\MyApp.exe -silent -location "\"C:\Program Files\MyApp\"" -desktopShortcut -programMenu

However, if the runtime is not installed, the invocation does nothing. I've also tried -eulaAccepted.

Is it possible to silently install the app, yet if the runtime is not installed, initiate the runtime install automatically from adobe, preferably with a eula prompt for the user?

Worst case, if the runtime must be bundled in the package, is a sidecar install supported for native installers?

I should note, I cannot package the app as .air. The app uses NativeProcess and bundles an exe.

Thanks.

TOPICS
Installation

Views

2.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 16, 2010 Sep 16, 2010

Copy link to clipboard

Copied

Hi Mark,

Try adding on -allowDownload, this should allow for installation of a newer runtime in combination with the -silent argument.  Please let me know how it works.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 16, 2010 Sep 16, 2010

Copy link to clipboard

Copied

Yes, thank you! That did it with one minor issue. The AIR + app install process succeeds silently with the exception of a small "Installing Myapp" progress indicator shown if AIR is installed. Can that be disabled?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 16, 2010 Sep 16, 2010

Copy link to clipboard

Copied

Good to hear that helped.  As for the progress bar, that sounds like a bug.  I'll look into it on my end and get back to you shortly.

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 16, 2010 Sep 16, 2010

Copy link to clipboard

Copied

Thanks again, Chris. Since, I've found silent install succeeds on Windows XP but not Windows 7 (and I perhaps Vista). I'm getting a program compatibility assistant dialog that the program might not have installed correctly. The same executable installs successfully (manual) w/out any arguments. I see documentation pertaining to a new application compatibility manifest for Windows 7 apps, but as I mentioned, the app runs successfully in manual mode.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 17, 2010 Sep 17, 2010

Copy link to clipboard

Copied

Hi Mark,

I can confirm that I'm seeing both issues.  If the runtime is not installed, progress bar UI displayed with -silent argument.  And worse, on Windows 7 the install fails completely with the "Program Compatibility Assistant" dialog being displayed.  I haven't tested Vista yet, but I'll try that out later today.  I'm working on entering bugs on both issues now and will report back with internal bug numbers shortly.

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 17, 2010 Sep 17, 2010

Copy link to clipboard

Copied

Hi Mark,

A follow up to the "Program Compatibility Assistant" issue on Win 7.  If I uninstall my test app and runtime, then open a new command prompt with "Run as administrator" the error goes away and both the runtime and app are installed properly (though the progress bar UI still appears.)  I've asked the developer that implemented this feature and he believes this is by design.  If you get a chance, could you give that a try and see if it helps?  I should note however if there's any problem with the install, for example, the app is already installed and the installer exits because it won't overwrite, that dialog will once again appear.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 17, 2010 Sep 17, 2010

Copy link to clipboard

Copied

Hmm. I tried the run as administrator option on the command prompt previously and now again on w7. I still get the program compatibility assistant dialog, regardless. However, if it's still possible to get this dialog if the app is already installed that further complicates the issue. I'm beginning to think the silent install option isn't going to be possible. I do appreciate your assistance.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 17, 2010 Sep 17, 2010

Copy link to clipboard

Copied

Odd that you still got that with "Run as administrator"...  Could the app have already been installed?  I might be able to tell more if I can see your installer log, please feel free to paste it here or email me at ccampbel@adobe.com.

I agree that getting that dialog is less than optimal and I'll be entering a bug.  Would it be possible to check for the presence of an app and skip the install step if not required?

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 20, 2010 Sep 20, 2010

Copy link to clipboard

Copied

Yes, I did ensure that AIR plus the app were uninstalled prior to. Unfortunately, entries don't appear in the log when I initiate the install. I see entries for the previous AIR+app uinstall, but nothing for the app install. I've tried this on (2) w7 pc's with the same result.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 21, 2010 Sep 21, 2010

Copy link to clipboard

Copied

Hi Mark,

That's very strange that the logs aren't being created.  Would you be willing to do a connect session so I could take a look at one of your systems?  Please feel free to contact me at ccampbel@adobe.com.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 18, 2011 Jul 18, 2011

Copy link to clipboard

Copied

I try use silent mode under Mac OS - doesn't work in this situation: Adobe AIR not installed on system.

Because isntaller needs in access from administrator.

Log:

Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Could not create directory at /Applications/Adobe/Flash Player/AddIns/airappinstaller
Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Error occurred during copy and set resource fork operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Rollback complete
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Application Installer end with exit code 7

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 18, 2011 Jul 18, 2011

Copy link to clipboard

Copied

Dmitry Svetlakov wrote:

I try use silent mode under Mac OS - doesn't work in this situation: Adobe AIR not installed on system.

Because isntaller needs in access from administrator.

Log:

Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Could not create directory at /Applications/Adobe/Flash Player/AddIns/airappinstaller
Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Error occurred during copy and set resource fork operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Rollback complete
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Application Installer end with exit code 7

Hi Dmitry,

Are you trying to sub launch AIR silently through your installer?  If so, and you haven't already, please fill out the AIR distribution agreement form and you'll receive documentation that discusses silent installs and uninstall's.

If you are just trying this out, you are correct that the runtime needs admin access.  You can achieve this by prefixing your command line with sudo.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 19, 2011 Jul 19, 2011

Copy link to clipboard

Copied

chris.campbell wrote:

Dmitry Svetlakov wrote:

I try use silent mode under Mac OS - doesn't work in this situation: Adobe AIR not installed on system.

Because isntaller needs in access from administrator.

Log:

Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Could not create directory at /Applications/Adobe/Flash Player/AddIns/airappinstaller
Jul 18 15:36:01 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Error occurred during copy and set resource fork operation; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Rollback complete
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Could not create directory /Applications/Adobe/Flash Player/AddIns/airappinstaller" errorID=3001]
Jul 18 15:36:09 user-macbook-pro /var/folders/f+/f+YgX8A8EzyL0WM6aZ2rT++++TI/-Tmp-/airNEZFRK/Adobe AIR Installer.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer[8694]: Application Installer end with exit code 7

Hi Dmitry,

Are you trying to sub launch AIR silently through your installer?  If so, and you haven't already, please fill out the AIR distribution agreement form and you'll receive documentation that discusses silent installs and uninstall's.

If you are just trying this out, you are correct that the runtime needs admin access.  You can achieve this by prefixing your command line with sudo.

Thanks,

Chris

Yes, but that not decide our task: create custom installer from air app native installer. I hope you understand that i mean. This installer should work for anyone user - and have to install Adobe AIR Runtime.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 19, 2011 Jul 19, 2011

Copy link to clipboard

Copied

LATEST

Hi,

Depending on the scenario, admin rights might or might not be required for installation.  For detailed explanations, please visit these blog posts:

Does Installing an AIR Application Require Admin Rights?

Should AIR Support Application Installs Without Admin Rights?

If you're looking for a silent distribution mechanism, here's a post that provides administrative scripts that have been written for both Mac and Win that might help you out.

Thanks,

Chris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines