/build/static/layout/Breadcrumb_cap_w.png

Adobe Reader 5 and Distiller 5 reference the same uninstall string.

Hello.

I've packaged Adobe Acrobat 7 with an incorperated custom action to call the uninstall string of Adobe Reader 5.0, tested it and it installs fine, removing Adobe Reader 6 (automatically, if detected) and 5 (due to the custom action).

The problem is that Adobe Distiller 5 (the full acrobat version) uses exactly the same uninstall string as the reader. So in referencing this uninstall string to remove Adobe Reader 5.0 it will inadvertantly remove Adobe Distiller 5.0 as well.

In comparing the uninst.isu of each, the file for Reader 5.0 is 117KB and for Distiller it's 566KB. I haven't seen anything in the forum yet that elaborates on how to:

1. Incorperate custom script actions to interogate these file sizes and store the resulting value for referenceing in the next step.
2. Determine whether the target computer has Adobe Reader or Adobe Distiller using an 'if' statement to match the associated file size to the product, and:
3. Upon determining whether the uninst.isu is for Adobe Reader 5.0 or Adobe Distiller 5.0, uninstall Adobe Reader 5.0 if the uninst.isu file size is 117 KB or leave Adobe Distiller 5.0 installed if the uninst.isu file size is 566KB.

As neither the reader or the full version have product ID strings that can be referenced for this purpose, this is the only method I can think of which would distinguish between the two versions, and leave Adobe Distiller 5.0 installed if it is detected. Any help would be appreciated in creating such custom actions (or scripts).

If it helps, I am using Wise Packaging Studio 5.6 with the QA module.

Many thanks!

Troy.

0 Comments   [ + ] Show comments

Answers (6)

Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Hi skit:

I think u r trying to uninstall acrobat using the uninstall string and its same for distiller and adobe reader 5. And there is the problem. I think u should write a wise scipt using the get registry key custom action instead of using the unstall string, u can use the display version regisrty key(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product code}\DisplayName) for searching the installed product. Then u can use a condition to install, uninstall a product depending on this registry key value (DisplayVersion).

When u write the wise script dont forget to declare a variable which will store the registry key value.

Then u can set a property(which u hav to create) to sum value depending on the value of display version.

If u require any help in writing the wise scritp plz feel free to revert.

After writing the script u can call this script from ur msi using the Run WiseScript From Installation or Run WiseScript From Installed Files. This script will be called depending on the property value.

For example lets say u create a property ADOBEVERSION
then u can write a conditional statement

If ADOBEVERSION~="Some value" then
do this......

if u need any futher support plz revert to me.
Posted by: turbokitty 18 years ago
6th Degree Black Belt
0
So I take it when installing Distiller, it also installed Reader? How else would two lines in A/R get in there with the same product code? It's very odd. Maybe there's a property in the original install that would leave out the Reader install... then you could just reinstall it?
I'm sure this Wise script idea above works too.
Posted by: akhlaque 18 years ago
Orange Senior Belt
0
Hi turbo:

Its not clear what u want to do turbo? u dont want to install reader? then ther must b some option in the distiller installation. Plz clarify.
Posted by: jonathan_fhlbc 18 years ago
Yellow Belt
0
Hi All,

I'm having this same problem, uninstalling Acrobat Reader 5.x automatically, and I haven’t been able to find a solution. Here are the problems I’m having.

Acrobat Reader 5.x isn’t installed by MSI, so there is no GUID entry in “HKLM\Software\Microsoft\Windows\Current Version\Uninstall” (like there is for 6.x). The only relevant entry in Uninstall is “Acrobat 5.0”. Both Acrobat Reader and Writer use the “Acrobat 5.0” section to store their uninstall information. So if Reader 5.x and Writer 5.x are installed on the workstation, it stores the uninstall string for the last one installed (which is always the Writer). I can’t let my script uninstall the writer, and I would rather not leave Acrobat Reader 5.x installed.

I’m wondering if anybody else has been able to accomplish this, or if anybody has any ideas.


Thanks!
Posted by: moonman 18 years ago
Yellow Belt
0
Adobe told you in the readme.txt that you must NOT install both on the same machine [;)]
Posted by: jonathan_fhlbc 18 years ago
Yellow Belt
0
I inherited this problem, but now I can see why they would advise against it.
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