Uninstalling Acrobat Reader
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
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
Answers (3)
Please log in to answer
Posted by:
wiseapp
19 years ago
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
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
Posted by:
ARCater
20 years ago
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
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
Posted by:
knight
19 years ago
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......
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......
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.