/build/static/layout/Breadcrumb_cap_w.png

Java 1.5.0.004 Uninstall

I extracted the .MSI for Java 1.5.0.04 and created an .MST and installed it with no problems but now I can't uninstall it unless I go through the Control Panel.

Is anyone else having this problem? How did you fix it?

0 Comments   [ + ] Show comments

Answers (5)

Posted by: dtcappdeploy 15 years ago
Senior Yellow Belt
0
Same exact problem. If you remove the Launch Condition that basically says the same error message ( I don't remember what the exact verbage is).

I use Wise Package Studio. The Lauch conditions are under Setup Editor, then Lauch Conditions on the left.

My problem is now that it is already installed on my clients before I removed this LC, I cannot seem to force it to recache the msi with the updated LCs.

I guess I do not know the command line options.
Posted by: mrachul 15 years ago
Senior Yellow Belt
0
I had to use the following command line in order for it to uninstall.

msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}

The ADD/REMOVE is looking for the {3248F0A8-6813-11D6-A77B-00B0D0150040} under C:\WINNT\Installer and then I through the /QN and /X commands in for a silent uninstall.
Posted by: dtcappdeploy 15 years ago
Senior Yellow Belt
0
Is there a way to recache the msi during an uninstallation?
Posted by: akhlaque 15 years ago
Orange Senior Belt
0
Hi mrachul/dtcappdeploy

you can find the path of the msi from where it is executed from the following registry entry:

The Original source path (where it was first installed from) can be found here:
"HKEY_CLASSES_ROOT\Installer\Products\<ProductCode>\SourceList\LastUsedSource"

There's an MSI property which will give you the path at installation time - it's called "SourceDir".

if u provide the property value "SourceDir" = (to the path of ur msi), i think it would run ur msi from the path u need.
Posted by: dtcappdeploy 15 years ago
Senior Yellow Belt
0
When I installed Java 5 Update 4 I did not remove the Lauch Control that makes it so that you have to run the uninstallation from Add/Remove Programs. Maybe I do not understand MSI's very much. BUT WHY WOULD ANYONE PUT A LAUNCH CONTROL THAT WOULD FORCE A REMOVAL FROM ADD/REMOVE PROGRAMS![:@]

Anyway, now that I have directly modified the MSI with the Lauch Control removed I want to recache the modified MSI so that I can now remove Java via silent uninstall.

I get a 1624 now:

DEBUG: Error 2250: Database: Transform: Cannot add existing row. Table: Property
1: 2250 2: 3: Property
MSI (s) (70:AC) [11:30:37:331]: Product: J2SE Runtime Environment 5.0 Update 4 -- Installation failed.

Error applying transforms. Verify that the specified transform paths are valid.
C:\WINDOWS\Installer\{3248F0A8-6813-11D6-A77B-00B0D0150040}\java.mst
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