Jre installation Error


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

Answers (1)

Posted by: anonymous_9363 13 years ago
Red Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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