[wix-users] Installing the JRE EXE silently through my own MSI fails

Mayooran Macilamany mayooran99 at gmail.com
Mon May 22 17:50:24 PDT 2017


Yes but that is not an option since this is not within the scope of the
development team. Is there not a way to run these MSIs the way I have used
them? They do work when I have just the VC redistributables. Its when I add
the JRE that I run into this issue.

On Tue, May 23, 2017 at 6:18 AM, Christopher Painter <chrpai at iswix.com>
wrote:

> In SCCM you'd use a task sequence, application model / dependency or
> package/program chain to serialize the JRE and your application.
>
>
> ________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> Mayooran Macilamany <mayooran99 at gmail.com>
> Sent: Monday, May 22, 2017 7:39 PM
> To: WiX Toolset Users Mailing List
> Subject: Re: [wix-users] Installing the JRE EXE silently through my own
> MSI fails
>
> Hi Dexter,
>
> When I tried with two MSIs it worked. I cannot go with EXE since these are
> executed through SCCM where I cannot run any EXEs.
>
> On Tue, May 23, 2017 at 6:07 AM, Walter Dexter <wfdexter at gmail.com> wrote:
>
> > You can't install an msi from inside another msi. There's an msi hiding
> in
> > the JRE exe. You probably need a bundle.
> >
> > > On May 22, 2017, at 6:46 PM, Mayooran Macilamany <mayooran99 at gmail.com
> >
> > wrote:
> > >
> > > I have my own msi through which I am trying to install the JRE exe. I
> am
> > > able to run other EXEs this way. But the JRE EXE is not getting
> > installed.
> > > Below is the error I am getting.
> > >
> > > MSI (s) (A0:C4) [05:10:08:690]: Executing op:
> > > CustomActionSchedule(Action=RUN_JAVA,ActionType=1042,Source=C:\Program
> > > Files (x86)\preRequisites\Java.exe,Target=/s,)
> > > MSI (s) (A0:B8) [05:10:32:587]: Running as a service.
> > > CustomAction RUN_JAVA returned actual error code 1618 (note this may
> not
> > be
> > > 100% accurate if translation happened inside sandbox)
> > > MSI (c) (FC:BC) [05:10:35:397]: Font created.  Charset: Req=0, Ret=0,
> > Font:
> > > Req=MS Shell Dlg, Ret=MS Shell Dlg
> > >
> > > Error 1722. 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 RUN_JAVA, location:
> > C:\Program
> > > Files (x86)\preRequisites\Java.exe, command: /s
> > > Action ended 5:10:38: InstallFinalize. Return value 3.
> > > Action ended 5:10:39: INSTALL. Return value 3.
> > >
> > > Below is the WiX file I have for my MSI.
> > >
> > > <Directory Id="TARGETDIR" Name="SourceDir">
> > > <Directory Id="ProgramFilesFolder">
> > > <Directory Id="INSTALLLOCATION" Name="preRequisites">
> > > <Component Id="ProductComponent"
> > > Guid="7927FC46-E8C5-4FEA-A683-C275C08FB4D5" KeyPath="yes">
> > > <File Id="VC2013.exe" Name="VC2013.exe"
> > > Source="../../Setups/PreRequisites/kkube-prerequisites/vcredist_x86_
> > 2013.exe"
> > > DiskId="1"/>
> > > <File Id="VC2015.exe" Name="VC2015.exe"
> > > Source="../../Setups/PreRequisites/kkube-prerequisites/vcredist_x86_
> > 2015.exe"
> > > DiskId="1"/>
> > > <File Id="Java.exe" Name="Java.exe"
> > > Source="../../Setups/PreRequisites/kkube-prerequisites/jre-8u92-
> > windows-x64.exe"
> > > DiskId="1"/>
> > > <File Id="dotNet4.5Installer.exe" Name="dotNet4.5Installer.exe"
> > > Source="../../Setups/PreRequisites/kkube-prerequisites/dotNet4.
> > 5Installer.exe"
> > > DiskId="1"/>
> > > </Component>
> > > </Directory>
> > > </Directory>
> > > </Directory>
> > >
> > > <CustomAction Id="RUN_VC2013" FileKey="VC2013.exe" ExeCommand="/q"
> > > Execute="deferred" Return="check" />
> > > <CustomAction Id="RUN_VC2015" FileKey="VC2015.exe" ExeCommand="/q"
> > > Execute="deferred" Return="check" />
> > > <CustomAction Id="RUN_JAVA" FileKey="Java.exe" ExeCommand="/s"
> > > Execute="deferred" Return="check" />
> > > <CustomAction Id="RUN_DOTNET" FileKey="dotNet4.5Installer.exe"
> > > ExeCommand="/q" Execute="deferred" Return="check" />
> > >
> > > <InstallExecuteSequence>
> > > <Custom Action="RUN_VC2013" Before="InstallFinalize">NOT
> > Installed</Custom>
> > > <Custom Action="RUN_VC2015" Before="InstallFinalize">NOT
> > Installed</Custom>
> > > <Custom Action="RUN_JAVA" Before="InstallFinalize">NOT
> Installed</Custom>
> > > <Custom Action="RUN_DOTNET" Before="InstallFinalize">NOT
> > Installed</Custom>
> > > </InstallExecuteSequence>
> > > <Feature Id="ProductFeature" Title="preRequisites" Level="1">
> > > <ComponentRef Id="ProductComponent" />
> > > </Feature>
> > >
> > > I tried running the JRE with the command "<name of the exe> /s". It
> > > installs silently. Why does it fail when installing it through my MSI?
> > How
> > > can I achieve this? Any help would be much appreciated.
> > >
> > > ____________________________________________________________________
> > > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> WiX Support | WiX Experts and Resources from FireGiant<http://www.
> firegiant.com/>
> www.firegiant.com
> WiX Support | Installation, Development, Deployment | WiX Experts and
> Resources from FireGiant
>
>
>
> >
> > ____________________________________________________________________
> > WiX Toolset Users Mailing List provided by FireGiant
> > http://www.firegiant.com/
> WiX Support | WiX Experts and Resources from FireGiant<http://www.
> firegiant.com/>
> www.firegiant.com
> WiX Support | Installation, Development, Deployment | WiX Experts and
> Resources from FireGiant
>
>
>
> >
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list