11/01/2009 3002 views

I am trying to silently install JRE for my product, using Wise Installer Studio.
I downloaded the Java1.6_16.exe, used a CA Execute program from Installation, where the exe is the given Java exe and Command line arg to that is as follows
/s /v/qn INSTALLDIR=\"[INSTALLDIR]bin\jre\" [NOTE: as per Java install Specification from ]

If I put this action in the Last Page of UI with Doaction this performs well and Get Jre installed on the box.
But If I put this CA in between the Normal Immediate/Deffered Execution this returns an error Code 1722.
In the CA properties I am using a "Inscript -options" as deferred execution and Processing as "Synchronous"

Any Idea how can I put this in the Place?.
Just revert back to this message if you need some more clarity or you have some question or some other way to perform this installation


P.S. -> The requirement is to Make an msi Installer, which installs our product with Jre, in silent as well as in UI sequence too.
0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

JRE ultimately expands and executes an MSI and nesting MSIs is now almost universally regarded as a Really Bad Idea.

Get your MSI and the JRE MSI and create a set-up executable using WiseScript instead. You may want to add some intelligence to the script so that it detects the instealled JRE version and only installs "your" version if necessary.

Oh, BTW, this forum is concerned with errors returned by the WI engine. Your post really belongs in the 'Package Development' forum. A moderator may move it there.
Answered 11/02/2009 by: VBScab
Red Belt