I'm packaging Java JDK 1.6.0_06, By default the repair option is disabled in Vendor MSI. I have enabled it through MST. After installation. I have started repair using the following command line

msiexec /fomus "javajdk1.6.0_06.msi" Transforms="javajdk1.6.0_06.mst"

When I execute the above command line, It is removing Java files/Folders from the installed location. It is not reparing the Application.

Please suggest me how to proceed with this issue..

Any reason behind on this.

0 Comments   [ + ] Show 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.


I'm not sure what application you are using to deploy this, or if you're deploying this at all but with 1.5.0.x we ran into a similiar problem...

Turned out that JRE does not like being installed under a user account and then being verified under the SYSTEM account.
Answered 07/21/2008 by: gmorgan618
Blue Belt

Please log in to comment
Hi gmorgan618

Thank you for your reply,

I'm not using any deployment tools. I'm just trying to repair Java through Command Prompt using msiexec /fomus. but it is not repairing the application.

Answered 07/21/2008 by: jagadeesan
Senior Yellow Belt

Please log in to comment
JDK 1.6.0_06, msi has entries in Removefile table, and Installmode is set to 3, due to this it will delete all the files
Answered 07/22/2008 by: rakesh.kumar
Senior Yellow Belt

Please log in to comment
Hi folks,
there is a very good reason, why the repair option is disabled in this package!
This is only a "pseudo" MSI package (have a look at the file table in the MSI!).
The files and most of the regkeys are copied indirectly to the system.
They are stored as zip-files in the MSI and installed to "C:\Program Files\Common Files\Java\Update\Base Images\jre1.x.*"
From there, they are unzipped and installed with Custom Actions.
So, if you run the repair option, those CA's are running and remove the files from the system.
Hope, this sheds some light on this.
Regards, Nick
Answered 07/22/2008 by: nheim
Tenth Degree Black Belt

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