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="VendorFolderVendorInstaller.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="PluginsPlugins.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:UsersUserAppDataLocalTemp{291F15E2-219C-4F1E-AF77-084F50F5BBE6}.beFinalBootStrapper.exe' to: 'C:ProgramDataPackage 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: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebugVendorPlatformInstaller.exe
[221C:2450][2018-11-27T15:22:39]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebug'
[1974:2C9C][2018-11-27T15:22:39]i305: Verified acquired payload: VendorPlatformInstaller at path: C:ProgramDataPackage Cache.unverifiedVendorPlatformInstaller, moving to: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe.
[1974:2C9C][2018-11-27T15:22:40]i304: Verified existing payload: MyPlugins at path: C:ProgramDataPackage Cache{FF8C3242-EE06-41B9-B49B-A1C29BF96493}v1.0.0MyOcean2017-Modules.msi.
[1974:4198][2018-11-27T15:22:40]i301: Applying execute package: VendorPlatformInstaller, action: Install, path: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe, arguments: '"C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.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:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4
[1974:4198][2018-11-27T15:22:52]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:ProgramDataPackage 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.










share|improve this question



























    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="VendorFolderVendorInstaller.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="PluginsPlugins.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:UsersUserAppDataLocalTemp{291F15E2-219C-4F1E-AF77-084F50F5BBE6}.beFinalBootStrapper.exe' to: 'C:ProgramDataPackage 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: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebugVendorPlatformInstaller.exe
    [221C:2450][2018-11-27T15:22:39]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebug'
    [1974:2C9C][2018-11-27T15:22:39]i305: Verified acquired payload: VendorPlatformInstaller at path: C:ProgramDataPackage Cache.unverifiedVendorPlatformInstaller, moving to: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe.
    [1974:2C9C][2018-11-27T15:22:40]i304: Verified existing payload: MyPlugins at path: C:ProgramDataPackage Cache{FF8C3242-EE06-41B9-B49B-A1C29BF96493}v1.0.0MyOcean2017-Modules.msi.
    [1974:4198][2018-11-27T15:22:40]i301: Applying execute package: VendorPlatformInstaller, action: Install, path: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe, arguments: '"C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.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:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4
    [1974:4198][2018-11-27T15:22:52]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:ProgramDataPackage 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.










    share|improve this question

























      0












      0








      0


      1






      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="VendorFolderVendorInstaller.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="PluginsPlugins.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:UsersUserAppDataLocalTemp{291F15E2-219C-4F1E-AF77-084F50F5BBE6}.beFinalBootStrapper.exe' to: 'C:ProgramDataPackage 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: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebugVendorPlatformInstaller.exe
      [221C:2450][2018-11-27T15:22:39]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebug'
      [1974:2C9C][2018-11-27T15:22:39]i305: Verified acquired payload: VendorPlatformInstaller at path: C:ProgramDataPackage Cache.unverifiedVendorPlatformInstaller, moving to: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe.
      [1974:2C9C][2018-11-27T15:22:40]i304: Verified existing payload: MyPlugins at path: C:ProgramDataPackage Cache{FF8C3242-EE06-41B9-B49B-A1C29BF96493}v1.0.0MyOcean2017-Modules.msi.
      [1974:4198][2018-11-27T15:22:40]i301: Applying execute package: VendorPlatformInstaller, action: Install, path: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe, arguments: '"C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.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:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4
      [1974:4198][2018-11-27T15:22:52]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:ProgramDataPackage 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.










      share|improve this question














      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="VendorFolderVendorInstaller.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="PluginsPlugins.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:UsersUserAppDataLocalTemp{291F15E2-219C-4F1E-AF77-084F50F5BBE6}.beFinalBootStrapper.exe' to: 'C:ProgramDataPackage 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: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebugVendorPlatformInstaller.exe
      [221C:2450][2018-11-27T15:22:39]i000: Setting string variable 'WixBundleLastUsedSource' to value 'C:UsersuserTestProjectsMyVendorBootStrapperMyVendorBootStrapperbinDebug'
      [1974:2C9C][2018-11-27T15:22:39]i305: Verified acquired payload: VendorPlatformInstaller at path: C:ProgramDataPackage Cache.unverifiedVendorPlatformInstaller, moving to: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe.
      [1974:2C9C][2018-11-27T15:22:40]i304: Verified existing payload: MyPlugins at path: C:ProgramDataPackage Cache{FF8C3242-EE06-41B9-B49B-A1C29BF96493}v1.0.0MyOcean2017-Modules.msi.
      [1974:4198][2018-11-27T15:22:40]i301: Applying execute package: VendorPlatformInstaller, action: Install, path: C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.exe, arguments: '"C:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4VendorPlatformInstaller.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:ProgramDataPackage Cache7BA3D05F0617DF775CB7F00C99C524926E17B0D4
      [1974:4198][2018-11-27T15:22:52]i372: Session end, registration key: SOFTWAREMicrosoftWindowsCurrentVersionUninstall{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:ProgramDataPackage 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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 27 '18 at 10:07









      SomuSomu

      135119




      135119
























          0






          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53497211%2fwix-bootstrapper-unable-to-kickstart-installation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53497211%2fwix-bootstrapper-unable-to-kickstart-installation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Contact image not getting when fetch all contact list from iPhone by CNContact

          count number of partitions of a set with n elements into k subsets

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks