Hello, 

 

I've a third party software setup with multpile files:

- setup.exe

- setup.ini

- ThirdParty.msi

- Data1.cab

- 1041.mst

- 1033.mst

- 0x0409.ini

- 0x0411.ini

 

and two folders containing others files)

- manual 

- misc

 

I would like to launch this setup.exe (normally, not in quiet mode)
before installing my own application (I made a wix package)

 

my budle.wxs is:

 

<?xml version="1.0" encoding="UTF-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";

     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

  <Bundle Name="myApp" Version="1.0.0.0" Manufacturer="Me"
UpgradeCode="aab2f92a-d994-4b5e-810d-8094a5678438"

          Condition="(VersionNT >= v6.01)">

 

    <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.HyperlinkLicense" />

    <WixVariable Id="WixStdbaLicenseUrl" Value="" />

 

    <Variable Name="InstallFolder" Type="string"
Value="[ProgramFiles64Folder]Me\MyApp" />

 

    <Chain>

      <PackageGroupRef Id="Netfx4Full" />

      <PackageGroupRef Id="ThirdParty" />

      <RollbackBoundary />

      <MsiPackage SourceFile="$(var.MyApp Setup.TargetPath)" Vital="yes"
Compressed="yes" EnableFeatureSelection="yes" DisplayName="My
Application" DisplayInternalUI="yes" >

        <MsiProperty Name="APPLICATIONFOLDER" Value="[InstallFolder]" />

      </MsiPackage>

    </Chain>

  </Bundle>

 

  <Fragment>

    <WixVariable

        Id="WixMbaPrereqPackageId"

        Value="Netfx4Full" />

    <WixVariable

        Id="WixMbaPrereqLicenseUrl"

        Value="NetfxLicense.rtf" />

 

    <util:RegistrySearch

        Root="HKLM"

        Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full"

        Value="Version"

        Variable="Netfx4FullVersion" />

    <util:RegistrySearch

        Root="HKLM"

        Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full"

        Value="Version"

        Variable="Netfx4x64FullVersion"

        Win64="yes" />

 

    

    <PackageGroup Id="Netfx4Full">

      <ExePackage

          Id="Netfx4Full"

          DisplayName="Microsoft .NET Framework 4.0"

          Cache="no"

          Compressed="no"

          PerMachine="yes"

          Permanent="yes"

          Vital="yes"

          SourceFile="include\dotNetFx40_Full_x86_x64.exe"

          DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193";

          InstallCommand="/q /norestart"

          DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
Netfx4x64FullVersion)" />

    </PackageGroup>

 

    <PackageGroup Id=" ThirdParty ">

      <ExePackage Id=" ThirdParty "

                  DisplayName=" ThirdParty 1.30"

                  SourceFile="include\ThirdParty\setup.exe" 

                   Cache="no"

                  SuppressSignatureVerification="yes"

                  Compressed="no"

                  PerMachine="yes"

                 Permanent="yes"

                  Vital="yes" />    

    </PackageGroup>

  </Fragment>

</Wix>

 

I copy all the folders and file from the ThirdParty Folder into the
bin\Release\Third Party folder but my setup.exe file failed to launch
(see error below).

The thing are only the setup.exe file is copied to the cache folder.

 

[0888:0B50][2013-05-23T11:31:22]i301: Applying execute package:
ThirdParty, action: Install, path: C:\ProgramData\Package
Cache\B1E4142EAFE877F122AAD40C97CF5E54A9F9E789\setup.exe, arguments:
'"C:\ProgramData\Package
Cache\B1E4142EAFE877F122AAD40C97CF5E54A9F9E789\setup.exe"'

[0888:0B50][2013-05-23T11:33:06]e000: Error 0x80070481: Process returned
error: 0x481

[0888:0B50][2013-05-23T11:33:06]e000: Error 0x80070481: Failed to
execute EXE package.

[0B48:0654][2013-05-23T11:33:06]e000: Error 0x80070481: Failed to
configure per-machine EXE package.

[0B48:0654][2013-05-23T11:33:06]i319: Applied execute package:
ThirdParty, result: 0x80070481, restart: None

[0B48:0654][2013-05-23T11:33:06]e000: Error 0x80070481: Failed to
execute EXE package.

 

 

Any help would be appreciated.

thanks

 

 

Pierre-Alain GALTIER



 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to