Wix Bootstrapper unable to kickstart installation

0

I am working on a Wix Bootstrapper project to chain a ExePackage and a MsiPackage. The ExePackage element calls a vendor specific exe which will trigger a set of their msi's basically installing the vendor platform. After installing the platform an msi will be triggered which will install some additional plugins in this platform. Although i have an option to chain the msi's rather than calling the Vendor bootstrapper , I don't want to do this for couple of reasons , vendors bootstrapper takes care of some cleaning and also has some intelligence built into it when certain features don't install properly. This is the configuration of the bundle.

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

<Chain>
  <!--This ExePackage will trigger a set of msis to install a platform on the users machine-->
  <ExePackage Id="VendorProductPlatformStarter"
              PerMachine="yes"
              SourceFile="VendorFolder\VendorInstaller.exe"
              Compressed="no"
              Cache="no"
              InstallCommand="/s /Install"
              UninstallCommand="/s /Uninstall"
              Vital="yes">
  </ExePackage>                  

  <!--Rollback point-->
  <RollbackBoundary />

  <!--This MsiPackage will install some additional plugins after the platform has been installed. -->
  <MsiPackage Id="AdditionalPlugins" Visible="no" SourceFile="Plugins\Plugins.msi" Vital="yes" />
</Chain>
</Bundle>

when i double click the installer , the installation fails.

    [1974:4198][2018-11-27T15:22:38]i000: Caching bundle from: 'C:\Users\User\AppData\Local\Temp\{291F15E2-219C-4F1E-AF77-084F50F5BBE6}\.be\FinalBootStrapper.exe' to: 'C:\ProgramData\Package Cache\{652212ba-4cc0-4506-9f7d-99aeab21954d}\FinalBootStrapper.exe'
[1974:4198][2018-11-27T15:22:38]i320: Registering bundle dependency provider: {652212ba-4cc0-4506-9f7d-99aeab21954d}, version: 1.0.0.0
[1974:4198][2018-11-27T15:22:38]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{652212ba-4cc0-4506-9f7d-99aeab21954d}, resume: Active, restart initiated: No, disable resume: No
[221C:2450][2018-11-27T15:22:38]i338: Acquiring package: VendorPlatformInstaller, payload: VendorPlatformInstaller, copy from: C:\Users\user\TestProjects\MyVendorBootStrapper\MyVendorBootStrapper\bin\Debug\VendorPlatformInstaller.exe
[221C:2450][2018-11-27T15:22:39]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:\Users\user\TestProjects\MyVendorBootStrapper\MyVendorBootStrapper\bin\Debug\'
[1974:2C9C][2018-11-27T15:22:39]i305: Verified acquired payload: VendorPlatformInstaller at path: C:\ProgramData\Package Cache\.unverified\VendorPlatformInstaller, moving to: C:\ProgramData\Package Cache\7BA3D05F0617DF775CB7F00C99C524926E17B0D4\VendorPlatformInstaller.exe.
[1974:2C9C][2018-11-27T15:22:40]i304: Verified existing payload: MyPlugins at path: C:\ProgramData\Package Cache\{FF8C3242-EE06-41B9-B49B-A1C29BF96493}v1.0.0\MyOcean2017-Modules.msi.
[1974:4198][2018-11-27T15:22:40]i301: Applying execute package: VendorPlatformInstaller, action: Install, path: C:\ProgramData\Package Cache\7BA3D05F0617DF775CB7F00C99C524926E17B0D4\VendorPlatformInstaller.exe, arguments: '"C:\ProgramData\Package Cache\7BA3D05F0617DF775CB7F00C99C524926E17B0D4\VendorPlatformInstaller.exe" /s /Install'
[1974:4198][2018-11-27T15:22:52]e000: Error 0x80070002: Process returned error: 0x80070002
[1974:4198][2018-11-27T15:22:52]e000: Error 0x80070002: Failed to execute EXE package.
[221C:1FB8][2018-11-27T15:22:52]e000: Error 0x80070002: Failed to configure per-machine EXE package.
[221C:1FB8][2018-11-27T15:22:52]i319: Applied execute package: VendorPlatformInstaller, result: 0x80070002, restart: None
[221C:1FB8][2018-11-27T15:22:52]e000: Error 0x80070002: Failed to execute EXE package.
[1974:4198][2018-11-27T15:22:52]i351: Removing cached package: VendorPlatformInstaller, from path: C:\ProgramData\Package Cache\7BA3D05F0617DF775CB7F00C99C524926E17B0D4\
[1974:4198][2018-11-27T15:22:52]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{652212ba-4cc0-4506-9f7d-99aeab21954d}, resume: None, restart: None, disable resume: No

From the log file I can see that it is executing the package from C:\ProgramData\Package Cache.. , I have set Cache="no" in my bundle but yet i see that the package is getting triggered from here.

Also one more question i have is do i need to mention the vendor's msi's as payloads in the bundle? If i do this then i get a message during that build the CAB file exceeds count ~65k so I had to resort to another method mentioned in a stackoverflow article where i created an exe which inturns triggers the vendors bootstrapper so that i can overcome the file limit issue but here too i hit the same problem as mentioned in the log file.

Any ideas/suggestions ?

Thanks.

wix
burn
asked on Stack Overflow Nov 27, 2018 by Somu

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0