Acrobat Reader 9 uninstallation using command (433 Views)
Reply
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 1 of 18 (433 Views)
Accepted Solution

Acrobat Reader 9 uninstallation using command

 

Hello Expert,

 

We have HP CAE 8.10 for windows with SQL backbend database.

 

I need to do silent installation of following product / application. Using Component select mode we have created a package.

 

1. Adobe Reader 9.x

 

We are able to do silent installation of the application using following commands.

 

c:\windows\system32\cmd.exe /C C:\"Adobe\adrder10.exe"/sALL /rs

 

 We are not able to uninstall of the application using below commands.

 

c:\windows\system32\msiexec.exe /qn /x {product code}

 

Please advise. 

 

Regards,

Chetan_J

 

Please use plain text.
Esteemed Contributor
Gowhar Jan
Posts: 212
Registered: ‎01-08-2009
Message 2 of 18 (423 Views)

Re: Acrobat Reader 9 uninstallation using command

See if this helps:

wmic product where name="Adobe Reader" call uninstall /nointeractive

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 3 of 18 (420 Views)

Re: Acrobat Reader 9 uninstallation using command

[ Edited ]

Hello,

 

I tried this command as well.

 

Can you give me the full command for un-installation of Adobe Reader application.

 

Regards,

Chetan_J

Please use plain text.
Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 4 of 18 (418 Views)

Re: Acrobat Reader 9 uninstallation using command

Not sure why you'd choose Component Select over MSI import, but that's another matter...

 

How/from where are you running the uninstall command? Do you get any error messages, etc?

 

It's a while since I used CAE/Radia operationally (and never used v8.x), but previously saw uninstall problems if the undelete command was in the wrong Method - any command needed to be called via the BDELETE method so that the command was actually able to run prior to Radia removing any files it had previously deployed.

 

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 5 of 18 (412 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello,

 

 

we are using below command in zdelete method
 
c:\windows\system32\MsiExec.exe /qn /norestart /x {AC76BA86-7AD7-1033-7B44-A94000000001}
 
c:\windows\system32\ MsiExec.exe /qn /x {AC76BA86-7AD7-1033-7B44-A94000000001}
 
Please Advise.
 
Regards,
Chetan_J
Please use plain text.
Esteemed Contributor
Gowhar Jan
Posts: 212
Registered: ‎01-08-2009
Message 6 of 18 (407 Views)

Re: Acrobat Reader 9 uninstallation using command

Have you tried running these MSIEXEC command lines manually(outside of HPCA) just to verify that they're correct and actually result in uninstall of the application?

Please use plain text.
Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 7 of 18 (401 Views)

Re: Acrobat Reader 9 uninstallation using command

Try putting the command into the BDELETE method instead.

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 8 of 18 (398 Views)

Re: Acrobat Reader 9 uninstallation using command

[ Edited ]

Hello Gowhar,

 


Thanks for reply.

we have tried above command outside the cae it works fine.

 

Any other way to worked it .

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 9 of 18 (397 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello Colin,

we will try using BDELETE in the command and update you on this issue.
Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 10 of 18 (379 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello Colin,

We tried using BDELETE in command line.
Still we are facing same problem. We are not able to un-installed the application.
Please use plain text.
Frequent Advisor
vinayagarwal1986
Posts: 32
Registered: ‎12-10-2010
Message 11 of 18 (375 Views)

Re: Acrobat Reader 9 uninstallation using command

Hi Chetan,

 

I was having the same issue. Remove c:\windows\system32

 

Try this in BDELTE method-   MsiExec.exe /x {AC76BA86-7AD7-1033-7B44-A94000000001} /qn

 

 

 

Regards,

Vinay Agarwal

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 12 of 18 (351 Views)

Re: Acrobat Reader 9 uninstallation using command

[ Edited ]

Hello Vinay,

Thanks for your reply.

We tried the above command but it was not working it opens msiexec help option.

Please use plain text.
Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 13 of 18 (346 Views)

Re: Acrobat Reader 9 uninstallation using command

A little confused where you say "we tried using BDELETE in command line"...

 

I wasn't intending this to be used in the command line, I was suggesting that the uninstall command you are running (MsiExec.exe /x {AC76BA86-7AD7-1033-7B44-A94000000001} /qn) should be the BDELETE method for your package.

 

How do you run that uninstall command - from the ZDELETE method? If so, then move the command to the BDELETE method.

 

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 14 of 18 (341 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello Colin,

 

We are tried:-

 

1st we have added the command in ZDELETE which didn't work.

 

2nd we have removed from ZDELETE and added in BDELETE but it runs till MSIEXEC it wont pickup further command

 

please suggest

Please use plain text.
Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 15 of 18 (333 Views)

Re: Acrobat Reader 9 uninstallation using command

OK, let's get the picture from the beginning:

 

  • In the ZSERVICE for Adobe reader, your ZCREATE is:
    c:\windows\system32\cmd.exe /C C:\"Adobe\adrder10.exe"/sALL /rs
    and your BDELETE is:
    MsiExec.exe /x {AC76BA86-7AD7-1033-7B44-A94000000001} /qn
    You shouldn't have any commands in ZDELETE (maybe _NONE_)
  • Assign ZSERVICE to client. Run a connect. Adobe reader setup file is deployed to C:\Adobe & install successful via command in ZCREATE?
  • You haven't said which OS you're using on the client - I've got XP here, so that's what I'll work with. Run Regedit and navigate to HKLM\Software\Microsoft\Windows\CurrentVersion\UnInstall\{AC76BA86-7AD7-1033-7B44-A94000000001}
  • Look at the InstallSource variable - you should see the location to which the adrder10.exe extracted it's files (in my case C:\Documents and Settings\All Users\Application Data\Adobe\Setup\{AC76BA86-7AD7-1033-7B44-A94000000001}\. Open Windows Explorer and navigate to that location. You should see the EXE, MSI, CAB files, etc?
  • Assuming we're good up to now, unassign the ZSERVICE from the client and run a connect.
  • What happens?
Please use plain text.
Frequent Advisor
vinayagarwal1986
Posts: 32
Registered: ‎12-10-2010
Message 16 of 18 (325 Views)

Re: Acrobat Reader 9 uninstallation using command

[ Edited ]

HI Chetan,

 

Instead of using BDELETE method try this.

 

Create a batch file with first uninstall old setup and second install new Adobe reader and then assign the batch in the zcreate method.

 

Example

 

Create a batch file and name it Adobe_Reader.bat in the same folder

Put the below commands in the batch file

 

MsiExec.exe /x {AC76BA86-7AD7-1033-7B44-A94000000001} /qn

"C:\Adobe\adrder10.exe"/sALL /rs

 

In Zcreate Method put 

NATIVE hide.exe cmd.exe /C C:\Adobe\Adobe_Reader.bat

 

Try it out and see if it works.

 

Regards,

Vinay Agarwal

Please use plain text.
Regular Advisor
Chetan_J
Posts: 166
Registered: ‎01-02-2013
Message 17 of 18 (321 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello Colin / Vinay,

 

Thanks for your reply and valuable information.

 

I will check and update on this.

 

Regards,

Chetan

Please use plain text.
Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 18 of 18 (314 Views)

Re: Acrobat Reader 9 uninstallation using command

That's really, really messy!! You've now got two seperate services, the second of which will be responsible for uninstalling the first.

 

At the very least, each service should be capable of performing its own install and uninstall.

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation