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

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
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.
Answered 10/11/2005 by: dtcappdeploy
Senior Yellow Belt

Please log in to comment
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.
Answered 10/11/2005 by: mrachul
Senior Yellow Belt

Please log in to comment
0
Is there a way to recache the msi during an uninstallation?
Answered 10/12/2005 by: dtcappdeploy
Senior Yellow Belt

Please log in to comment
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.
Answered 10/12/2005 by: akhlaque
Orange Senior Belt

Please log in to comment
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
Answered 10/12/2005 by: dtcappdeploy
Senior Yellow Belt

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