Can someone offer some suggestion on how to do an automated uninstall of Acrobat Reader 5.01 and 5.05 before I install Acrobat 6.02?

We need to upgrade the systems in our organization to Acrobat 6.02 reader in order to work with an application that we have. We use Zenworks in order to deploy our packages.

Any Assistance would be greatly appreciated

Xpdite
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Have a look under SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\[YourAppName] - Look for UninstallString . Depending on what version or how it was installed it may differ. You can silently uninstall most items here by passing it a silent switch.

Here is an example in Winbatch to silently uninstall acrobat reader 5.0

key="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Acrobat 5.0[UninstallString]"
if regexistvalue(@regmachine,key) == @false then exit;exit if 5.0 is not installed
Ustring=regqueryvalue(@regmachine,key);get uninstall string
Ustring=StrReplace(ustring,"ISUNINST.EXE -f","ISUNINST.EXE -a -f");Add in -a for a silent uninstall
Prog=ItemExtract(1,Ustring," ");flesh out Program
cmdline=ItemReplace("",1,Ustring," ");flesh out command lines
;Runwait(Prog,cmdline);Uninstall acrobat reader 5.0
message(prog,cmdline) ;debug
Answered 09/14/2004 by: ARCater
Senior Yellow Belt

Please log in to comment
2
Hi xpdite:

There is another way to uninstall this product, copy the uninstall string from the registry(as already conveyed by ARCater) and write a Wise Script file that is a WSE file wherein you call an action Execute Program and then paste this uninstall string there. You can call this wise script file inside your MSI so that whenever you install your product it will also uninstall Adobe. I hope this would help you to overcome in case you need some help in creating and embedding the file inside file do call me for help.

Take Care
Answered 08/25/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Hope this one helps:

First to msi script tab then on the left pane double click execute program from installation:

enter this following on the details tab:

Custom Action name: Preferred name action name

Executable file: Select the IsUninst.exe on the [WindowFolder]

or [WindowFolder]IsUninst.exe

Command line Arguments: -y -a -m -f"Location of the ADOBE 5.0 Uninst.Isu"

or -y -a -m- -f"[CommonFilesFolder]Adobe\Acrobat 5.0\NT\UnInsta.Isu"

.: Dont forget to encorporate this by IF STATEMENT..

Then test, test, test......
Answered 08/31/2005 by: knight
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity