/build/static/layout/Breadcrumb_cap_w.png

Uninstalling previous Adobe Readers

Greetings All,

I have packaged, using Wise 5.01, Adobe Reader 7.0. Yeah, you’re not supposed to capture and MSI with an MSI but I am crazy that way. It works really well. Anyway, in our environment there are about 3 to 5 different versions of Reader, 5.0, 6.0, 6.02, etc. I do not have the original install MSI’s for these installations, I was not employed here at the time of deployment and know one seems to know where the source is, likely deleted. I have gone out to Adobe’s web site and finding the exact version of 6.0 has been troublesome, must have been "buggy". I was able to locate the uninstall strings in the registry and get the GUID’s needed to remove the installations. I used the “Upgrades” section of Wise and added the GUID’s well, just one for testing and installed it on the appropriate imaged machine. It failed to uninstall the previous version.
Has anyone had this experience, thinking about doing a WinBatch to facilitate this? [X(] Sorry for the length, there is more to tell but I am trying to make this short of quick.
Thanks in advance.

Regards,
Kevin

0 Comments   [ + ] Show comments

Answers (6)

Posted by: bkelly 19 years ago
Red Belt
0

I'm afraid you may have run into one of the primary reasons not to repackage an MSI. In order for Windows Installer to properly handle an upgrade the prior packages must all have matching GUIDs for each component. Placing the older package GUIDs in the upgrade table is only a small part of what is needed to generate a successful update MSI. If devliered from the vendor, the GUIDs should match and it is their problem to make sure they do. But if you have had to repackage the older legacy setups into MSI packages, or have repackaged the MSIs from Adobe- the GUIDs for all the components that make up the package will not match unless you took extra steps to make it happen (Wise offers UpgradeSync as a tool to do this). This means that when the next version from Adobe comes out, your repackaged v7 MSI will not be "upgraded" and you will be stuck doing what I think you need to do now- and that is scripting the removal of any existing version on your own. This could be done as a custom action deployed with your new Adobe package- but I would highly recommend that once you go through the effort of getting all of your old versions removed, that you work out whatever issues you are having with the vendor-provided MSI and work with that (you'll avoid problems in the long run if you tackle them now).

I think there are some other threads here discussing removing old versions of Adobe Readers (and look to the uninstall command lines you found in the registry), but for your Reader 7 package take a look at the link below:

http://www.itninja.com/link/installshield-tuner-7.0-for-adobe-acrobat

Best of luck,
Bob

Posted by: papardun 19 years ago
Senior Yellow Belt
0
The msi install for Adobe Reader 7 will remove previous versions automatically. You can also use the installer provided by Adobe to customize the installation process.
Posted by: dtcappdeploy 19 years ago
Senior Yellow Belt
0
I used the Adobe Tuner to create an MST and deployed it but noticed that it did NOT unistall prior reader versions. Are you sure it is suppose to remove the older versions? Is there something special I have to do? I will also have to check to see if we created a custom MSI for the prior versions.

Gary
Posted by: Thaiboxer 19 years ago
Orange Belt
0
For starters, I'd highly recommend using the MSI you can extract from Adobe's install for Reader 7. If it isn't broke, don't fix it.

For removing your previous versions, I'd probably go with the Winbatch too. You could parse the registry looking for each GUID, or just do Winbatch:

RunShell("msiexec.exe", "/x GuidForOlderReaderVersion1 /q", "", etc...)
RunShell("msiexec.exe", "/x GuidForOlderReaderVersion2 /q", "", etc...)

etc...

I think you could give it the GUID uninstall commands regardless of whether or not it's installed on that PC, and msiexec will ignore products that aren't installed. I'm not positive on that, but it's worth testing.

Good luck!
Posted by: kstall 19 years ago
Senior Yellow Belt
0
I have used the Tuner twice once for version 6 and 7 and both times the MST did not fuction properly in our environment. I did not get a chance to test the uninstall of previous packages using the Tuner MST's. I wanted to make the package work first then worry about the uninstall.
I ended-up just making my own MSI for distribution. Some of our packages are striaght installs of the vendors installation and others are PCUpDater packages. I have mine removing version 5.0, 5.05, 6.0 and 6.02 , seems to work OK so far.
Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
kstall I too have been forced to repackage vendor apps and this becomes a problem I know all too well.

This is the long way to do it but do a capture of all of the reader versions one after another on a clean build pc and save that cpature.

You can then make a Wisescript from that capture to check for existing keys and files and remove them as part the install. I told you this is the long way.

Also in your install make sure that you put in an unique key (ie HKCU\Software\[Your Organisation]\[Appversion] in your current user registry entries so that you can force an overwrite of the existing current user information.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ