Silently Deploy An Adobe Air Application
I'm looking to silently deploy an Adobe Air application. If anyone has a working example they could provide me with I would greatly appreciate it. I've tried the various resources online from Adobe and others but haven't had any luck - so just a proven working example please.
Community Chosen Answer
Use the file:
C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer.exe
Use the following switches:
-silent -euleAccepted -programMenu "Full path to .air file"
This swill silently install an air application (atleast this is what i use for WiMP, a norwegian music streaming service).
Silently updating an air application is more complex and might be dependent on the application.
To give you an idea:
$Install = Start-Process -filepath "$AirInstaller" -ArgumentList "-runtime ""$CommonFiles"" -update -silent ""$WiMPFolder\WiMP.exe"" ""$env:TEMP\WiMP.air"" $VersionShort" -Wait -Passthru -WindowStyle Hidden
$Commonfiles points to C:\Program Files (x86)\Common files
$VersionShort is the version number, can be fetched from the update.xml file that probably resides somewhere on the vendors website.
The other path points to the Air application executable, the last one points to the latest version of the .air file.