Adobe AIR 3.4.0.2710
This commit is contained in:
BIN
AdobeAIR/AdobeAIR.jpg
Normal file
BIN
AdobeAIR/AdobeAIR.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
24
AdobeAIR/AdobeAIR.nuspec
Normal file
24
AdobeAIR/AdobeAIR.nuspec
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<metadata>
|
||||
<id>AdobeAIR</id>
|
||||
<title>Adobe AIR Runtime</title>
|
||||
<version>3.4.0.2710</version>
|
||||
<authors>Adobe</authors>
|
||||
<owners>Ethan J Brown</owners>
|
||||
<summary>Adobe AIR runtime is necessary for AIR based applications.</summary>
|
||||
<description>Adobe AIR is a cross-platform runtime that enables you to use your existing Flash/ActionScript or HTML/JavaScript development skills and tools to build and deploy applications, games, and videos outside the browser and on mobile devices.
|
||||
|
||||
Note that AIR auto-updates itself after an initial install.
|
||||
</description>
|
||||
<projectUrl>http://get.adobe.com/air/</projectUrl>
|
||||
<tags>web browser AIR</tags>
|
||||
<licenseUrl>http://www.adobe.com/products/eulas</licenseUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<iconUrl>https://github.com/Iristyle/ChocolateyPackages/raw/master/AdobeAIR/AdobeAIR.jpg</iconUrl>
|
||||
<releaseNotes></releaseNotes>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="tools\**" target="tools" />
|
||||
</files>
|
||||
</package>
|
18
AdobeAIR/tools/chocolateyInstall.ps1
Normal file
18
AdobeAIR/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
$package = 'AdobeAIR'
|
||||
|
||||
try {
|
||||
|
||||
$params = @{
|
||||
PackageName = $package;
|
||||
FileType = 'exe';
|
||||
SilentArgs = '-silent -eulaAccepted';
|
||||
Url = 'http://airdownload.adobe.com/air/win/download/3.4/AdobeAIRInstaller.exe'
|
||||
}
|
||||
|
||||
Install-ChocolateyPackage @params
|
||||
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
22
AdobeAIR/tools/chocolateyUninstall.ps1
Normal file
22
AdobeAIR/tools/chocolateyUninstall.ps1
Normal file
@@ -0,0 +1,22 @@
|
||||
$package = 'AdobeAIR'
|
||||
|
||||
try {
|
||||
|
||||
# http://forums.adobe.com/message/4677900
|
||||
$airInstall = 'Adobe AIR\Versions\1.0'
|
||||
$airPath = $Env:CommonProgramFiles, ${Env:CommonProgramFiles(x86)} |
|
||||
% { Join-Path $_ $airInstall } |
|
||||
? { Test-Path $_ } |
|
||||
Select -First 1
|
||||
$airSetup = Join-Path $airPath 'setup.msi'
|
||||
|
||||
# http://stackoverflow.com/questions/450027/uninstalling-an-msi-file-from-the-command-line-without-using-msiexec
|
||||
msiexec.exe /x "`"$airSetup`"" /qb-! REBOOT=ReallySuppress
|
||||
# alternate -> wmic product where name='Adobe AIR' call uninstall
|
||||
|
||||
Remove-Item $airInstall -Recurse -ErrorAction SilentlyContinue
|
||||
Write-ChocolateySuccess $package
|
||||
} catch {
|
||||
Write-ChocolateyFailure $package "$($_.Exception.Message)"
|
||||
throw
|
||||
}
|
Reference in New Issue
Block a user