Skip to main content
Participant
September 6, 2012
Question

Uninstall Adobe AIR Silently

  • September 6, 2012
  • 4 replies
  • 25885 views

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.

This topic has been closed for replies.

4 replies

Participant
August 4, 2018

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

:-----------------------------------------------------------------------------------------------------------

klodiand91444170
Participant
April 26, 2017

You can try this:

AdobeAIRInstaller.exe -uninstall

Participant
August 18, 2015

I use the wmic command in a batch file

wmic product where "name like 'adobe '" call uninstall

chris.campbell
Community Manager
Community Manager
September 6, 2012
fantariboAuthor
Participant
September 7, 2012

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.

September 10, 2012

The appid should be the value in the id field in your application.xml