I have spent a few hours trying to create an MSI that bundles a JRE with a Java application. The aim being, obviously, installation in one step. Ideally, Java should be installed, then my app.

It seems fairly easy to do a silent install with Java, using the /s switch.

However, when the MSI is run it fails and I get an error in the event log:

There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action _D263C533_EF91_4B2B_B2E8_AEE56C50089D, location: C:\Program Files\Windows Home Server\jre-6u26-windows-i586-s.exe, command: /s


So I ran it in non-silent mode to see if the actual error is more obvious. It gives:


Error 1500. Another installation is in progress [...]


I guess this is because, under the covers, Java uses an MSI to install and you can't have > 1 MSI installation running.

Is there any way around this?

It has to be an MSI as the target platform is Windows Home Server.
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
Java uses an MSI to install and you can't have > 1 MSI installation runningCorrectIdeally, Java should be installed, then my app. So extract the JRE MSI in the usual way, create a transform and use your deployment mechanism to deploy the JRE MSI/MST first followed by your app's MSI/MST.It has to be an MSI as the target platform is Windows Home Server.Huh? What, WHS cannot run EXEs? I think not... If you're implying that you're planning to deploy by Group Policy then you're partially right because GP can use ZAP files, although that's not common. You can use GP to deploy MSI/MST in an order. Just remember to add them to the GPO in the order you want them installed and that you need to add the MST at the same time you're adding the MSI: you can't go back and add it, or extras. You need to start again to do that.
Answered 07/15/2011 by: VBScab
Red Belt

Please log in to comment
0
HI,
If I'm not wrong, the version your trying to install is JRE 1.6.0_26, this application DO NOT put any entry under %temp% folder.
Though you get any >MSI with a random value under temp folder that will not be working.
All you need to do is while running the setup.exe it will try to extract a Vendor supplied .MSI under APPDATAFOLDER.
You can use the files for creating the .MST.

Check out my recent postings on JRE http://itninja.com/link/bug-id:-6995830-x86-silent-install-fails-using-nt-authority\system-account-on-x64-vista/win7

Thanks,
VD
Answered 07/17/2011 by: venu.dusari
Senior Yellow Belt

Please log in to comment
0
PMSL...Wow! I soooooooooooooooooooooooooooo want to spend money with an organisation whose marketing "strategy" consists of making pointless and puerile comments on a forum completely unconnected with their business.

Please go away, loser.
Answered 07/19/2011 by: VBScab
Red Belt

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