Views: 20.9k  |  Created: 11/11/2011

Average Rating: 0
Adobe AIR Runtime has 1 inventory records, 2 Questions, 1 Blogs and 12 links. Please help add to this by sharing more!

Deployment Tips (9)

Most Common Setup Type
Windows Installer (Delivered as an EXE)
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 3 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
or cancel
5
Note

Here are the steps I followed to create my Adobe AIR 3.1.0.4880 package.

Begin by downloading the installer from the Adobe web site. You'll need to apply for a redistribution license to receive permission to download this file.

The MSI installer can be extracted with 7-Zip.

Open the "setup.msi" file with Orca.

It is very poor practice to modify the original MSI file so create a transform or MST file. Transform - New Transform.

If you try running the MSI installer, as is, you should receive the following error:

"Could not access network location (computed)."

To fix this, select the "Property" table and change the value of the "SHAREDADDINFOLDER" to "c:\".

To test this, select Transform - Generate Transform, navigate to your working directory and provide a file name for the MST file. From a command line enter:

msiexec /i setup.msi TRANSFORMS=setup.mst

Then to uninstall:

msiexec /x setup.msi

Next, we want auto-updates disabled. This is accomplished by creating a REG_DWORD called 'UpdateDisabled' in 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\AIR', and setting the value to '1'.

Start by creating the Feature. Select the Feature table and add a row:

Feature: DisableAutoUpdates
Title: DisableAutoUpdates
Description: Prevent automatic installation of updates when an AIR app installation requires a newer version or when the background update process discovers a newer version.
Display: (Find the highest value already in the table and add 1)
Level: 1
Attribute: 0

Next create the Component. Select the Component table and add a row:

Component: UpdateDisabled
ComponentID: (Use a GUID generator. Be sure to include curly braces and everything is uppercase)
Directory_: TARGETDIR
Attribute: 4 (Registry)
KeyPath: UpdateDisabled

Next populate the FeatureComponents table. Select the FeatureComponents table and add a row:

Feature_: DisableAutoUpdates
Component_: UpdateDisabled

Finally, add the registry setting. Select the Registry table and add a row:

Registry: UpdateDisabled
Root: 2 (HKLM)
Key: SOFTWARE\Policies\Adobe\AIR
Name: UpdateDisabled
Value: #1
Component_: UpdateDisabled

Lastly, we want to pre-accept the EULA. To prevent the EULA from being displayed the first time an Adobe AIR application is run, it is necessary to create a text file called 'eulaAccepted' in %ALLUSERSPROFILE%\Application Data\Adobe\AIR and set the contents of the file to be '3'.

Use a text editor to create the 'eulaAccepted' file (no extension) in the same directory as setup.msi, with a single character '3' for its contents.

Return to Orca, create the Feature. Select the Feature table and add a row:

Feature: AcceptEula
Title: Accept EULA
Description: Accept End User License Agreement
Display: (Find the highest value already in the table and add 1)
Level: 1
Attribute: 0

Next create the Component. Select the Component table and add a row:

Component: AcceptEula
ComponentID: (Use a GUID generator. Be sure to include curly braces and everything is uppercase)
Directory_: CADFAIR
Attribute: 0 (Local Only)
KeyPath: eulaAccepted

Next populate the FeatureComponents table. Select the FeatureComponents table and add a row:

Feature_: AcceptEula
Component_: AcceptEula

Now we'll create the File table entry. Select the File table and add a row:

File: eulaAccepted
Component_: AcceptEula
FileName: eulaac~1 | eulaAccepted (8.3 name|long name)
Filesize: 1
Attribute: 512 (Vital)
Sequence: (Find the highest value already in the table and add 1)

Next we'll create the Directory entries. Select the Directory table and add the following three rows:

Directory: CommonAppDataFolder
Directory_Parent: TARGETDIR
DefaultDir: Common~1 | CommonAppData:. (8.3 name | DestinationPath:SourcePath)

Directory: CADFAdobe
Directory_Parent: CommonAppDataFolder
DefaultDir: Adobe:. (DestinationPath:SourcePath)

Directory: CADFAIR
Directory_Parent: CADFAdobe
DefaultDir: AIR:. (DestinationPath:SourcePath)

This was the most difficult part to get right and is a good example of how to get files somewhere other than the TARGETDIR path. The DestinationPath:SourcePath syntax is key.

Finally we need to increment the Media table. Select the Media table and increment the value in LastSequence.

That's it. Save your MST and test as before after the MSI fix above. I'm distributing this as an SCCM package so there's no need to add the eulaAccepted text file to the MSI or a new CAB file. This may not be acceptable in other deployment scenarios. Tools like InstEd IT! Make it very easy to add files to the installer, creates checksums and has a handy, built in, GUID generator.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
  • This worked a treat for me (installing AIR 3.5)
  • I followed your direction. However when I run it, it says "Source file not found eulaAccepted. Verify that you can access it. I've tried it with and without the .txt. Any suggestions?
  • Take1, Did you perhaps miss the step: "Use a text editor to create the 'eulaAccepted' file (no extension) in the same directory as setup.msi, with a single character '3' for its contents." If you're using SCCM this file will need to be included in your SCCM package.
  • I was able to install Adobe Air with the msi and mst file. At the same time i wanro install an .air app. is it possible to define that in the mst ?
    Or is it only possible by using the exe installer ?
  • This worked for me. Is it also possible to install an .air app like you can specify with the exe installer ?
  • rlinhartpdx, thank you for the reply. After going back and looking at my issue, the only thing I could think of doing wrong was a typo in the .mst. That's exactly what was wrong, in the part were I add eulaac~1 | eulaAccepted I had a space in between the 1 and | and a space between | and eulaAccepted. Once I removed those spaces and generated a new transform file then it worked fine.
  • Wandelaar, I'm pretty sure there were instructions for installing .air apps with the MSI installer. Unfortunately I'm in a new job that doesn't require me to perform software packaging so I don't have any of my old materials. I hate saying it as much as I hate hearing it but I think you're going to have to RTFM (read the fancy manual, what did you think it meant?). ;)
  • I have successfully used this (tip 3) over the newer tip 4 (which doesn't take in account that the MSI won't launch without transforming it as discussed here). Thanks very much for taking your time therefore. :-) :-) One thing though re disabling updates. This doesn't work. I'm too lazy and go back to sort it and give a definitive, tested solution so have fudged it in group policy. But here's what I think is required :-)

    The HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\AIR needs to be a *DWORD*. The procedure here will create a *STRING*.

    Looking at http://msdn.microsoft.com/en-us/library/windows/desktop/aa371168(v=vs.85).aspx, the last step to create the entry should be

    Registry: UpdateDisabled

    Root: 2 (HKLM)

    Key: SOFTWARE\Policies\Adobe\AIR

    Name: UpdateDisabled

    Value: #1

    Component_: UpdateDisabled

    (I think) where before it was Value : 1. # denoting it is a DWORD. No prefix assumes a string by default. Thoughts?
    • You are right, this is the correct entry to have it set as a DWORD, the OP settings sets it as a string incorrectly.
  • neilgascoigne, I'm not in a position to test this any more but on yours and frasercarter's advice I've edited my OP.
Please log in to comment
3
Note
The latest Adobe AIR Runtime appears to deploy correctly via Group Policy without having to make any modifications to the MSI.

To prevent the EULA from being displayed the first time an Adobe AIR application is run, it is necessary to create a text file called 'eulaAccepted' in the following location:
%ALLUSERSPROFILE%\Application Data\Adobe\AIR
and set the contents of the file to be '3'.

There are two different ways to disable automatic updates:

(From http://help.adobe.com/en_US/air/admin/index.html)
Create REG_DWORD called 'UpdateDisabled' in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\AIR, and set the value to 1

(Created by the AIR SettingsManager mentioned in http://help.adobe.com/en_US/air/security/index.html)
Create an empty text file called 'updateDisabled' in %APPDATA%\Adobe\AIR - this must be performed on every user profile

In order to make it easier to create the registry value mentioned in the first method, I have created the following Group Policy ADM file. This covers all of the settings mentioned in the Adobe AIR Administrator's guide, and should be saved as AdobeAIR.adm.

; Adobe AIR settings (AdobeAIR.adm)
; See http://help.adobe.com/en_US/air/admin/index.html for details

CLASS MACHINE

CATEGORY !!AdobeAIR
KEYNAME "Software\Policies\Adobe\AIR"

POLICY !!AppInstallDisabled
VALUENAME "AppInstallDisabled"
END POLICY

POLICY !!UntrustedAppInstallDisabled
VALUENAME "UntrustedAppInstallDisabled"
END POLICY

POLICY !!UpdateDisabled
VALUENAME "UpdateDisabled"
END POLICY
END CATEGORY

[strings]
AdobeAIR="Adobe AIR Settings"
AppInstallDisabled="Prevent installation of AIR applications"
UntrustedAppInstallDisabled="Prevent installation of untrusted AIR applications"
UpdateDisabled="Prevent automatic updates to Adobe AIR"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Command Line

The following command line can be used (the variable %~dp0 used for souce directory):

"%~dp0AdobeAIRInstaller.exe" -silent -eulaAccepted

The following command line can be used to disable automatic updates:

reg add "HKLM\SOFTWARE\Policies\Adobe\AIR" /v UpdateDisabled /t REG_DWORD /d 1 /f

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Command Line

Generally, the AIR Installer presents its own user interface while installing the runtime and the AIR application. The silent installation feature lets you install an application without presenting or interacting with the AIR Installer interface.

You can use silent mode to install Adobe AIR using an enterprise deployment tool (such as Kace, Microsoft SMS, IBM Tivoli, or any deployment tool that allows silent installations that use a bootstrapper).

To run the Adobe AIR installer silently, start the Adobe AIR installer with the following command-line options:

-silent {-eulaAccepted -pingbackAllowed ( -location <loc> ) -desktopShortcut -programMenu} path
  • silent—The-silentoption tells the AIR installer to run in silent mode.

  • eulaAccepted—With the optional-eulaAcceptedoption specified, if the AIR application installer installs Adobe AIR, it records acceptance of the Adobe AIR end-user license agreement (EULA). The Adobe AIR installer records this acceptance for all users of the target computer.

    Important: Use the-eulaAcceptedoption only if your organization has agreed to the Adobe AIR end-user license agreement. You can only specify the-eulaAcceptedoption if the organization has agreed to the Adobe AIR end-user license for all users of the computer. You can only specify the-eulaAccepted option for deployment within an intranet.

    If you do notinclude the-eulaAcceptedoption and Adobe AIR is installed during a silent installation, Adobe AIR will later present the Adobe AIR end-user license agreement to each user of the machine. Users see the end-user license agreement (with the option to accept it) upon first running an AIR application.

    If used, specify the-eulaAcceptedoption immediately after the ‑silentoption.

  • pingbackAllowed — Allows the installer to check for updates to the AIR runtime and report a successful install to Adobe over the Internet. No identifying information is transmitted.

  • location—The optional-locationoption provides the location (an absolute file system path) to install the AIR application. The default location is the standard application installation location.

  • desktopShortcut—The optional-desktopShortcutoption causes the installer to install a desktop shortcut for the installed AIR application. If you do not specify this option, no desktop shortcut is installed.

  • programMenu—The optional-programMenuoption causes the installer to install a program menu shortcut for the installed application (on Windows). If you do not specify this option, no program menu shortcut is installed.

  • path—Thepathoption specifies the path to the AIR file to install.

    The AIR application installer installs the correct version of Adobe AIR on the target computer, as required by the AIR application to be installed. For example, if the AIR application to be installed requires the AIR 1.1 runtime, and the end user’s computer has only AIR 1.0 installed (or no version of AIR installed), the installation process installs the AIR 1.1 runtime along with the AIR application. The version of the AIR application installer must be compatible with the version required by the AIR application.

    You cannot use the silent installer option to update an installed AIR application. This is because the AIR installer cannot determine whether the version to be installed is newer than the installed version, and it would pose a security risk to downgrade the application.

    To install or update the runtime only, use the-silentoption without specifying apathor any other options.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line

"adobeairinstaller.exe" -silent

Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: Very Easy
Platform(s): Windows
Please log in to comment
0
Command Line

Silent uninstallation

You can silently uninstall an AIR application using the ARH utility.

While ARH is the recommended method, you can also use the following methods:

On Mac OS, userm -rfto remove the AIR application installation directory.

On Windows:

  1. Use the OSID generator to look up the upgrade GUID for the application (see Using the OSID Generator application).

  2. Pass the upgrade GUID as thelpUpgradeCodeparameter to theMsiEnumRelatedProducts()function. The function stores the product GUID in the buffer passed as thelpProductBufparameter to the function.

  3. Pass the product GUID tomsiexec /x(or an equivalent).

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Adobe AIR - Version 3.2 (3.2.0.2070) Download: http://get.adobe.com/air/ To determine which Version is installed on your machine 32bit - C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll - Right click, properties and go to details tab. 64bit - C:\Program Files\Common Files (x86)\Adobe AIR\Versions\1.0\Adobe AIR.dll - Right click, properties and go to details tab. If you are having trouble reinstall or to uninstall Adobe AIR or it's not available in Control Panel>Program and Features : Launch a Cmd prompt and run this parameter: c:\AdobeAirInstaller.exe -uninstall Adobe AIR will then be fully uninstalled from your machine.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Command Line
For AIR 3.1.0.4880 I used the following to uninstall...

Full Command Line: C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater.exe -arp:uninstall
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note

I just wanted to update this forum,

Next create the Component. Select the Component table and add a row:

Component: AcceptEula
ComponentID: (Use a GUID generator. Be sure to include curly braces and everything is uppercase)
Directory_: CADFAIR
Attribute: 0 (Local Only)
KeyPath: eulaAccepted

If you want the EULA to be accepted silently be sure to change the Attribute here to 3 when creating the mst.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Adobe AIR Runtime

Version

3

Questions & Answers (2)

Questions & Answers related to Adobe Adobe AIR Runtime

2
ANSWERED
2
ANSWERS

Blogs (1)

Blog posts related to Adobe Adobe AIR Runtime

blog

Reviews (0)

Reviews related to Adobe Adobe AIR Runtime