Digitally Signed Wix4 Bundle Installer does not Install the Binaries

Rajanbabu Manoharan 20 Reputation points
2023-09-11T05:24:53.24+00:00

We have created wix Bundle Installer. This is digitally signed.

This internally has following packages,

  1. Dot Net Installation Package(Exe)
  2. 3rd party OpenTapWix Package(msi) -> This is digitally signed
  3. Our Application Installation Package(msi) ->This is digitally signed

When I try to double click the bundle installer and click Install button, it try to open the Open Dialog instead if installing

Attached the log file and screenshot. Kindly help here.WixBundleInstaller_Error.png

Note : If bundle Installer is not digitally signed, then Installation is success.

Log File:

[5F58:4EA4][2023-09-11T10:33:27]i001: Burn x86 v4.0.1+6e6eb47812742cfb61a1c3328ba662ec2886a4e2, Windows v10.0 x64 (Build 19044: Service Pack 0), path: C:\WINDOWS\TEMP{E46FAE7C-B1B0-4664-8ED0-5D3F284B9B6B}.cr\ITS.OperatorApplicationBundleInstaller.exe

[5F58:4EA4][2023-09-11T10:33:27]i009: Command Line: '-burn.clean.room=C:\Users\AU000HQ0\Desktop\LatestBI\ITS.OperatorApplicationBundleInstaller.exe -burn.filehandle.attached=660 -burn.filehandle.self=656'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\AU000HQ0\Desktop\LatestBI\ITS.OperatorApplicationBundleInstaller.exe'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\AU000HQ0\Desktop\LatestBI'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327.log'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleInProgressName' to value ''

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleName' to value 'ITS Operator Application 3.7.0.789'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'WixBundleManufacturer' to value 'WSAUD A/S'

[5F58:5164][2023-09-11T10:33:27]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033

[5F58:5164][2023-09-11T10:33:27]i000: Setting version variable 'WixBundleFileVersion' to value '3.7.0.789'

[5F58:5164][2023-09-11T10:33:27]i000: Setting numeric variable 'WixStdBASuppressOptionsUI' to value 1

[5F58:4EA4][2023-09-11T10:33:27]i100: Detect begin, 3 packages

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting version variable 'OpenTapInstalledVersion' to value '9.18.5.0'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting string variable 'NETFX48VERSION' to value '533325'

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting numeric variable 'OpenTapDllFileExists' to value 1

[5F58:4EA4][2023-09-11T10:33:27]i000: Setting numeric variable 'TapPathDirectoryExists' to value 1

[5F58:4EA4][2023-09-11T10:33:27]i052: Condition 'NETFX48VERSION >= 528040' evaluates to true.

[5F58:4EA4][2023-09-11T10:33:27]i101: Detected package: ndp48_web.exe, state: Present, cached: Yes, install registration state: (permanent), cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:33:27]i101: Detected package: OpenTAP, state: Absent, cached: No, install registration state: (permanent), cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:33:27]i101: Detected package: ITSOperatorApplication, state: Absent, cached: No, install registration state: Absent, cache registration state: Absent

[5F58:4EA4][2023-09-11T10:33:27]i199: Detect complete, result: 0x0, registration state: None, cached: No, eligible for cleanup: No

[5F58:5164][2023-09-11T10:33:27]i052: Condition 'WixStdBAUpdateAvailable' evaluates to false.

[5F58:5164][2023-09-11T10:33:27]i052: Condition 'NOT WixStdBASuppressOptionsUI' evaluates to false.

[5F58:4EA4][2023-09-11T10:33:29]i200: Plan begin, 3 packages, action: Install

[5F58:4EA4][2023-09-11T10:33:29]i052: Condition 'TapPathDirectoryExists=0 OR OpenTapDllFileExists=0 OR OpenTapInstalledVersion < v9.18.5.0' evaluates to false.

[5F58:4EA4][2023-09-11T10:33:29]w321: Skipping dependency registration on package with no dependency providers: ndp48_web.exe

[5F58:4EA4][2023-09-11T10:33:29]i052: Condition 'true' evaluates to false.

[5F58:4EA4][2023-09-11T10:33:29]i000: Setting string variable 'WixBundleRollbackLog_ITSOperatorApplication' to value 'C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327_000_ITSOperatorApplication_rollback.log'

[5F58:4EA4][2023-09-11T10:33:29]i052: Condition 'true' evaluates to false.

[5F58:4EA4][2023-09-11T10:33:29]i000: Setting string variable 'WixBundleLog_ITSOperatorApplication' to value 'C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327_000_ITSOperatorApplication.log'

[5F58:4EA4][2023-09-11T10:33:29]i222: Planned rollback boundary: 'WixDefaultBoundary', vital: Yes, transaction: No (default: No)

[5F58:4EA4][2023-09-11T10:33:29]i201: Planned package: ndp48_web.exe, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, default cache strategy: Keep, ba requested strategy: Keep, cache: Vital, uncache: No, dependency: None, expected install registration state: (permanent), expected cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:33:29]i201: Planned package: OpenTAP, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, default cache strategy: Keep, ba requested strategy: Keep, cache: No, uncache: Yes, dependency: None, expected install registration state: (permanent), expected cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:33:29]i201: Planned package: ITSOperatorApplication, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, default cache strategy: Keep, ba requested strategy: Keep, cache: Vital, uncache: No, dependency: Register, expected install registration state: Present, expected cache registration state: Present

[5F58:4EA4][2023-09-11T10:33:29]i299: Plan complete, result: 0x0

[5F58:4EA4][2023-09-11T10:33:29]i300: Apply begin

[5F58:4EA4][2023-09-11T10:33:29]i010: Launching elevated engine process.

[5F58:4EA4][2023-09-11T10:33:30]i011: Launched elevated engine process.

[5F58:4EA4][2023-09-11T10:33:30]i012: Connected to elevated engine.

[0A40:6EE0][2023-09-11T10:33:30]i358: Pausing automatic updates.

[0A40:6EE0][2023-09-11T10:33:30]i359: Paused automatic updates.

[0A40:6EE0][2023-09-11T10:33:30]i360: Creating a system restore point.

[0A40:6EE0][2023-09-11T10:33:30]i361: Created a system restore point.

[0A40:6EE0][2023-09-11T10:33:30]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{48C951AA-8F35-47E0-AE52-7DE92B48DE81}, options: 0x3, disable resume: No

[0A40:6EE0][2023-09-11T10:33:30]i000: Caching bundle from: 'C:\WINDOWS\TEMP{4FEFF525-E438-4CA0-8069-79CEFBA728EE}.be\ITS.OperatorApplicationBundleInstaller.exe' to: 'C:\ProgramData\Package Cache{48C951AA-8F35-47E0-AE52-7DE92B48DE81}\ITS.OperatorApplicationBundleInstaller.exe'

[0A40:6EE0][2023-09-11T10:33:30]i320: Registering bundle dependency provider: {48C951AA-8F35-47E0-AE52-7DE92B48DE81}, version: 3.7.0.789

[0A40:6EE0][2023-09-11T10:33:30]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{48C951AA-8F35-47E0-AE52-7DE92B48DE81}, resume: Active, restart initiated: No, disable resume: No

[0A40:7BDC][2023-09-11T10:33:31]i304: Verified existing payload: ndp48_web.exe at path: C:\ProgramData\Package Cache\642721C60D52051C7F3434D8710FE3406A7CFE10B2B39E90EA847719ED1697D7\ndp48-web.exe.

[5F58:0D3C][2023-09-11T10:54:45]e000: Error 0x800704c7: BA OnCacheAcquireResolving failed.

[5F58:0D3C][2023-09-11T10:54:45]e000: Error 0x800704c7: BA aborted cache acquire resolving.

[5F58:0D3C][2023-09-11T10:54:45]e356: Application requested retry acquire of container: WixAttachedContainer, encountered error: 0x800704c7. Retrying...

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: BA aborted cache acquire begin.

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: BA OnCacheAcquireComplete failed.

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: Failed to acquire container: WixAttachedContainer

[5F58:0D3C][2023-09-11T10:54:48]e311: Failed to acquire container: WixAttachedContainer to working path: C:\Users\AU000HQ0\AppData\Local\Temp{4FEFF525-E438-4CA0-8069-79CEFBA728EE}\04EE232C56DE5FF4E68992E9DA5562ECDB11B6D8CDEC8D9D0A2D36BFBB179623275DB7C8AE5043651886E32FAF6560EAFAD50D9BEA489295A682BFFB4B46DB8D, error: 0x80070642.

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: Failed to acquire container: WixAttachedContainer to working path: C:\Users\AU000HQ0\AppData\Local\Temp{4FEFF525-E438-4CA0-8069-79CEFBA728EE}\04EE232C56DE5FF4E68992E9DA5562ECDB11B6D8CDEC8D9D0A2D36BFBB179623275DB7C8AE5043651886E32FAF6560EAFAD50D9BEA489295A682BFFB4B46DB8D

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: Failed to extract container for payload: ITSOperatorApplication

[5F58:0D3C][2023-09-11T10:54:48]e000: Error 0x80070642: BA OnCacheAcquireComplete failed.

[5F58:0D3C][2023-09-11T10:54:48]e357: Application requested retry acquire of payload: ITSOperatorApplication, encountered error: 0x80070642. Retrying...

[5F58:0D3C][2023-09-11T10:54:51]e000: Error 0x80070642: BA aborted cache acquire begin.

[5F58:0D3C][2023-09-11T10:54:51]e000: Error 0x80070642: BA OnCacheAcquireComplete failed.

[5F58:0D3C][2023-09-11T10:54:51]e000: Error 0x80070642: Failed to acquire payload: ITSOperatorApplication

[5F58:0D3C][2023-09-11T10:54:51]e313: Failed to acquire payload: ITSOperatorApplication to working path: C:\Users\AU000HQ0\AppData\Local\Temp{4FEFF525-E438-4CA0-8069-79CEFBA728EE}\ITSOperatorApplication, error: 0x80070642.

[5F58:0D3C][2023-09-11T10:54:51]e000: Error 0x80070642: Failed to acquire payload: ITSOperatorApplication to working path: C:\Users\AU000HQ0\AppData\Local\Temp{4FEFF525-E438-4CA0-8069-79CEFBA728EE}\ITSOperatorApplication

[5F58:0D3C][2023-09-11T10:54:51]e000: Error 0x80070642: Failed cache action: cache package

[5F58:4EA4][2023-09-11T10:54:51]e000: Error 0x80070642: Failed while caching, aborting execution.

[0A40:7BDC][2023-09-11T10:54:51]i351: Removing cached package: ITSOperatorApplication, from path: C:\ProgramData\Package Cache{EFEC3462-583C-4AAF-9DDF-AB3634157E58}v3.7.0.789\

[5F58:4EA4][2023-09-11T10:54:51]i373: Calculating whether to keep registration

[5F58:4EA4][2023-09-11T10:54:51]i374: package: ndp48_web.exe, install registration state: (permanent), cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:54:51]i374: package: OpenTAP, install registration state: (permanent), cache registration state: (permanent)

[5F58:4EA4][2023-09-11T10:54:51]i374: package: ITSOperatorApplication, install registration state: Absent, cache registration state: Absent

[5F58:4EA4][2023-09-11T10:54:51]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{48C951AA-8F35-47E0-AE52-7DE92B48DE81}, resume: None, restart: None, disable resume: No, default registration: None, ba requested registration: None

[0A40:6EE0][2023-09-11T10:54:51]i330: Removed bundle dependency provider: {48C951AA-8F35-47E0-AE52-7DE92B48DE81}

[0A40:6EE0][2023-09-11T10:54:51]i326: Removed dependency: {48C951AA-8F35-47E0-AE52-7DE92B48DE81} on package provider: {400D9E7D-8AE3-4BE2-BE30-69DC59A8B1F8}_v9.18.5.0, package OpenTAP

[0A40:6EE0][2023-09-11T10:54:51]i326: Removed dependency: {48C951AA-8F35-47E0-AE52-7DE92B48DE81} on package provider: {EFEC3462-583C-4AAF-9DDF-AB3634157E58}_v3.7.0.789, package ITSOperatorApplication

[0A40:6EE0][2023-09-11T10:54:51]i329: Removed package dependency provider: {400D9E7D-8AE3-4BE2-BE30-69DC59A8B1F8}_v9.18.5.0, package: OpenTAP

[0A40:6EE0][2023-09-11T10:54:51]i329: Removed package dependency provider: {EFEC3462-583C-4AAF-9DDF-AB3634157E58}_v3.7.0.789, package: ITSOperatorApplication

[0A40:6EE0][2023-09-11T10:54:51]i352: Removing cached bundle: {48C951AA-8F35-47E0-AE52-7DE92B48DE81}, from path: C:\ProgramData\Package Cache{48C951AA-8F35-47E0-AE52-7DE92B48DE81}\

[0A40:6EE0][2023-09-11T10:54:51]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{48C951AA-8F35-47E0-AE52-7DE92B48DE81}, resume: None, restart initiated: No, disable resume: No

[0A40:6EE0][2023-09-11T10:54:51]i420: Resuming automatic updates.

[5F58:4EA4][2023-09-11T10:54:51]i000: Unsetting variable 'WixStdBARestartRequired'

[0A40:6EE0][2023-09-11T10:54:51]i421: Resumed automatic updates.

[5F58:4EA4][2023-09-11T10:54:51]i399: Apply complete, result: 0x80070642, restart: None, ba requested restart: No

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixBundleAction = 2' evaluates to false.

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixBundleAction = 3' evaluates to false.

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixBundleAction = 4' evaluates to false.

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixBundleAction = 5' evaluates to false.

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixBundleAction = 6' evaluates to true.

[5F58:5164][2023-09-11T10:54:51]i052: Condition 'WixStdBARestartRequired' evaluates to false.

[5F58:4EA4][2023-09-11T10:54:54]i500: Shutting down, exit code: 0x642

[5F58:4EA4][2023-09-11T10:54:54]i502: Cleanup begin.

[5F58:4EA4][2023-09-11T10:54:54]i503: Cleanup not required due to running Apply.

[5F58:4EA4][2023-09-11T10:54:54]i599: Cleanup complete, result: 0x0

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: NETFX48VERSION = 533325

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: OpenTapDllFileExists = 1

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: OpenTapInstalledVersion = 9.18.5.0

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: ProgramFilesFolder = C:\Program Files (x86)\

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: RebootPending = 1

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: TapPathDirectoryExists = 1

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleAction = 6

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleCommandLineAction = 6

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleElevated = 1

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleFileVersion = 3.7.0.789

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleInProgressName =

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleInstalled = 0

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleLog = C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327.log

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleLog_ITSOperatorApplication = C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327_000_ITSOperatorApplication.log

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleManufacturer = WSAUD A/S

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleName = ITS Operator Application 3.7.0.789

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleOriginalSource = C:\Users\AU000HQ0\Desktop\LatestBI\ITS.OperatorApplicationBundleInstaller.exe

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\AU000HQ0\Desktop\LatestBI\

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleProviderKey = {48C951AA-8F35-47E0-AE52-7DE92B48DE81}

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleRollbackLog_ITSOperatorApplication = C:\Users\AU000HQ0\AppData\Local\Temp\ITS_Operator_Application_3.7.0.789_20230911103327_000_ITSOperatorApplication_rollback.log

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleSourceProcessFolder = C:\Users\AU000HQ0\Desktop\LatestBI\

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleSourceProcessPath = C:\Users\AU000HQ0\Desktop\LatestBI\ITS.OperatorApplicationBundleInstaller.exe

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleTag =

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleUILevel = 4

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixBundleVersion = 3.7.0.789

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixCanRestart = 1

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixStdBALanguageId = 1033

[5F58:4EA4][2023-09-11T10:54:54]i410: Variable: WixStdBASuppressOptionsUI = 1

[5F58:4EA4][2023-09-11T10:54:54]i007: Exit code: 0x642, restarting: No

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 44,771 Reputation points
    2023-09-11T15:16:52.7533333+00:00

    Hello,

    The "Error 0x80070642," usually indicates a problem with extracting a package or payload during the installation process. In your case, it seems to be related to the caching and extraction of the "ITSOperatorApplication" package within your Wix Bundle Installer.

    To troubleshoot this, you can check the next options:

    • Verify that free space is available on the drive
    • Check for permissions on the folder, in your case C:\Users\AU000HQ0\AppData\Local\Temp
    • Verify the MSI package integrity. Try running the MSI manually from the location to verify the running sequence and if the package reports any issue during a manual run.
    • Sometimes you may have cached information in the system from previous installation attempts. Please try to delete the cache by running the next DOS commands as Administrator:

    msiexec.exe /unregister

    msiexec.exe /regserver

    --If the reply is helpful, please Upvote and Accept as answer--


  2. Rajanbabu Manoharan 20 Reputation points
    2023-09-14T09:57:08.62+00:00

    Thank you!
    https://wixtoolset.org/docs/tools/signing/
    This document helps. It would be helpful if the document is more detailed.


  3. Nlokost 0 Reputation points
    2024-06-03T10:55:06.3766667+00:00

    I also faced this problem. Adding the following code to my wixproj file helped me

    <PropertyGroup>
      <SignOutput>true</SignOutput>
    </PropertyGroup>
    <Target Name="SignBundleEngine">
      <Message Importance="high" Text="SignBundleEngine: @(SignBundleEngine)" />
      <Exec Command='AzureSignTool sign --azure-key-vault-url "$(param1)" --azure-key-vault-accesstoken "$(param2)" --azure-key-vault-certificate "$(param3)" --timestamp-rfc3161 "http://timestamp.globalsign.com/tsa/r6advanced1" --verbose "%(SignBundleEngine.FullPath)"'
      />
    </Target>
    <Target Name="SignBundle">
      <Message Importance="high" Text="SignBundle: @(SignBundle)" />
      <Exec Command='AzureSignTool sign --azure-key-vault-url "$(param1)" --azure-key-vault-accesstoken "$(param2)" --azure-key-vault-certificate "$(param3)" --timestamp-rfc3161 "http://timestamp.globalsign.com/tsa/r6advanced1" --verbose "%(SignBundle.FullPath)"'
      />
    </Target>
    
    0 comments No comments

  4. Lars Berger 0 Reputation points
    2024-07-28T11:37:08.36+00:00

    For anyone else who comes across this issue, the Burn engine needs to be signed separately by using wix burn detach and wix burn reattach

    For reference package.ps1#L124

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.