Copy link to clipboard
Copied
Hello,
I work on a project where I need to install and uninstall Adobe AIR silently with command line.
No problem for the installation but i cannot uninstall it silently. I was try all installer commands line and it doesn't works.
I have the lastest AIR packages.
Any idea ?
Thanks in advance.
Copy link to clipboard
Copied
You can do this using the ARH tool. Please see this page for documentation:
Copy link to clipboard
Copied
I see this documentation.
But you say "The OSID generator application has been supplanted by the ARH utility. You can use ARH to detect and uninstall AIR applications directly."
I need the AppID and i don't see the option in ARH to get it.
Copy link to clipboard
Copied
The appid should be the value in the id field in your application.xml
Copy link to clipboard
Copied
I have the same question as fantaribo.
I want to uninstall the Adobe AIR runtime--NOT an AIR application, just the runtime--via the command line.
I have tried running the AIR runtime installer with the -uninstall command but that does not work.
Is there a command-line switch that allows for silent, un-attended install of the AIR runtime as a whole?
In other words, is there a way to uninstall the runtime without having to go through the Uninstall selection
on the "Programs and Features" control panel?
Copy link to clipboard
Copied
I use the wmic command in a batch file
wmic product where "name like 'adobe '" call uninstall
Copy link to clipboard
Copied
You can try this:
AdobeAIRInstaller.exe -uninstall
Copy link to clipboard
Copied
Here is my batch file:
:-----------------------------------------------------------------------------------------------------------
title %~n0
cls
@echo off
color 1f
REM --> Check for permissions
>nul 2>&1 "%SYSTEMROOT%\system32\icacls.exe" "%SYSTEMROOT%\system32\config\system"
REM --> If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' (
echo Requesting administrative privileges...
goto UACPrompt
) else ( goto gotAdmin )
:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo args = "" >> "%temp%\getadmin.vbs"
echo For Each strArg in WScript.Arguments >> "%temp%\getadmin.vbs"
echo args = args ^& strArg ^& " " >> "%temp%\getadmin.vbs"
echo Next >> "%temp%\getadmin.vbs"
echo UAC.ShellExecute "%~s0", args, "", "runas", 1 >> "%temp%\getadmin.vbs"
"%temp%\getadmin.vbs" %*
exit /B
:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
cls
if not "%1" == "min" start /min cmd /c %0 min & exit/b >nul 2>&1
:-----------------------------------------------------------------------------------------------------------
:Adobe Air
taskkill /t /f /im adobe* >nul 2>&1
taskkill /t /f /im airappinstaller.exe >nul 2>&1
taskkill /t /f /im template.exe >nul 2>&1
"C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater.exe" -arp:uninstall >nul 2>&1
rd /s /q "C:\Program Files (x86)\Common Files\Adobe AIR" >nul 2>&1
rd /s /q "C:\Users\%username%\AppData\Local\Adobe\AIR" >nul 2>&1
rd /s /q "C:\ProgramData\Adobe\AIR" >nul 2>&1
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Adobe\Adobe AIR" /f >nul 2>&1
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Adobe AIR" /f >nul 2>&1
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{CE25DBD3-FCA7-4E77-9A60-F77BE12FC4BA}" /f >nul 2>&1
exit /b n
:-----------------------------------------------------------------------------------------------------------