Re: Acrobat Reader 9 uninstallation using command (616 Views)
Reply
Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 1 of 18 (735 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

 

Esteemed Contributor
Gowhar Jan
Posts: 212
Registered: ‎01-08-2009
Message 2 of 18 (725 Views)

Re: Acrobat Reader 9 uninstallation using command

See if this helps:

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

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 3 of 18 (722 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

Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 4 of 18 (720 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.

 

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 5 of 18 (714 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
Esteemed Contributor
Gowhar Jan
Posts: 212
Registered: ‎01-08-2009
Message 6 of 18 (709 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?

Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 7 of 18 (703 Views)

Re: Acrobat Reader 9 uninstallation using command

Try putting the command into the BDELETE method instead.

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 8 of 18 (700 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 .

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 9 of 18 (699 Views)

Re: Acrobat Reader 9 uninstallation using command

Hello Colin,

we will try using BDELETE in the command and update you on this issue.
Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 10 of 18 (681 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.
Frequent Advisor
vinayagarwal1986
Posts: 32
Registered: ‎12-10-2010
Message 11 of 18 (677 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

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 12 of 18 (653 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.

Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 13 of 18 (648 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.

 

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 14 of 18 (643 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

Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 15 of 18 (635 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?
Frequent Advisor
vinayagarwal1986
Posts: 32
Registered: ‎12-10-2010
Message 16 of 18 (627 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

Regular Advisor
Chetan_J
Posts: 173
Registered: ‎01-02-2013
Message 17 of 18 (623 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

Trusted Contributor
Colin Grant
Posts: 194
Registered: ‎02-13-2005
Message 18 of 18 (616 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.

 

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.