how to fix the issue with my bundler burn installation error:rror 0x80070667: Failed to install MSI package.

Xu, Sean (590) 0 Reputation points
2023-05-02T13:50:12.22+00:00

I try to install two components with WIX :

  1. Access DatabaseEngine 2010 x64bit, which is .exe installation (prerequisit component)
  2. my application Xseetup.msi which is a very simple "hello world" application

To bundler those to installation as one with Wix tools (candle/light) ;

I can build the installation successfully, but when I run the setup.exe, it alwasy has the error:

rror 0x80070667: Failed to install MSI package.

you can see my setup.wsx file and installation log for detail

-------------setup.wxs--------------------

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

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" 
     xmlns:bal="http://schemas.microsoft.com/wix/BalExtension"
     xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
    <Bundle
        Name="Test Rerequisits" 
        Version="1.0.0.0" 
        IconSourceFile="DDECRep.ico" 
	Manufacturer="me" 
	UpgradeCode="ada71534-11c8-4877-9544-f72fe65579c0">

 	<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
            <bal:WixStandardBootstrapperApplication 
             
                LogoFile="banner.png"
                LicenseFile="license.rtf"
                SuppressOptionsUI="yes" />
        </BootstrapperApplicationRef>

              
 	<Variable Name="CommandLineArg" bal:Overridable="yes"/>

        <Chain  DisableSystemRestore="yes"   DisableRollback ="yes">
            <PackageGroupRef 
                Id="XPreequisiteComponents"/>
	   <RollbackBoundary />
           <MsiPackage 
		Id="xsetup"
		After="AccessDatabaseEngine2010x64" 
		Cache="yes" 
                Compressed="yes" 
                SourceFile="XSetup.msi" 
		DisplayInternalUI="yes"
 
		ForcePerMachine="yes"
		SuppressSignatureVerification ="yes"
                Vital="yes">
		<MsiProperty Name="CommandLineArg" Value="[CommandLineArg]"/>
                <MsiProperty 
                    Name="xsetup Components" 
                    Value="1"/>
            </MsiPackage>
        </Chain>
    </Bundle>
    <Fragment>
        <WixVariable 
            Id="WixMbaPrereqPackageId" 
            Value="AccessDatabaseEngine" />
        <WixVariable 
            Id="WixMbaPrereqLicenseUrl" 
            Value="NetfxLicense.rtf" />
 
        <util:RegistrySearch 
            Root="HKLM" 
            Key="SOFTWARE\ODBC\ODBCINST.INI\Microsoft Access Driver (*.mdb, *.accdb)" 
            Value="DriverODBCVer" 
	    Result="exists" 
            Variable="AccessDatabaseEngineInstalled" 
	    Win64="yes"
	    />
  
 
        <PackageGroup 
            Id="XPreequisiteComponents">
            <ExePackage 
                Id="AccessDatabaseEngine2010x64" 
		SourceFile="AccessDatabaseEngine2010X64.exe"
		InstallCommand =" /passive"
                Cache="no" 
                Compressed="no" 
                PerMachine="yes" 
                Permanent="yes" 
                Vital="yes"              
                DetectCondition="AccessDatabaseEngineInstalled" />
	    
        </PackageGroup>
    </Fragment>
</Wix>

The following is the installation log:

[6F10:7DF4][2023-05-01T11:52:04]i001: Burn v3.14.0.1703, Windows v10.0 (Build 19042: Service Pack 0), path: C:\Users\XIAOXU\AppData\Local\Temp{B5C25A10-1306-4618-A065-5805B9284178}.cr\DSetup.exe

[6F10:7DF4][2023-05-01T11:52:04]i009: Command Line: '"-burn.clean.room=C:\DDEC Reports\Source\Installation\BootStrapper\DSetup.exe" -burn.filehandle.attached=560 -burn.filehandle.self=660'

[6F10:7DF4][2023-05-01T11:52:04]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\DDEC Reports\Source\Installation\BootStrapper\DSetup.exe'

[6F10:7DF4][2023-05-01T11:52:04]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\DDEC Reports\Source\Installation\BootStrapper'

[6F10:7DF4][2023-05-01T11:52:04]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\XIAOXU\AppData\Local\Temp\Test_Rerequisits_20230501115204.log'

[6F10:7DF4][2023-05-01T11:52:04]i000: Setting string variable 'WixBundleName' to value 'Test Rerequisits'

[6F10:7DF4][2023-05-01T11:52:04]i000: Setting string variable 'WixBundleManufacturer' to value 'me'

[6F10:3F98][2023-05-01T11:52:04]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033

[6F10:3F98][2023-05-01T11:52:04]i000: Setting version variable 'WixBundleFileVersion' to value '1.0.0.0'

[6F10:7DF4][2023-05-01T11:52:05]i100: Detect begin, 2 packages

[6F10:7DF4][2023-05-01T11:52:05]i000: Setting numeric variable 'AccessDatabaseEngineInstalled' to value 1

[6F10:7DF4][2023-05-01T11:52:05]i102: Detected related bundle: {7df02231-93ea-4492-9da8-5e60894c07b8}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None

[6F10:7DF4][2023-05-01T11:52:05]i102: Detected related bundle: {84f47299-b34f-4477-bf59-4cfce0c808fb}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None

[6F10:7DF4][2023-05-01T11:52:05]i102: Detected related bundle: {bbff8bf8-ebb4-4be1-9b5e-f38ca44d5f04}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None

[6F10:7DF4][2023-05-01T11:52:05]i102: Detected related bundle: {d46ba972-6430-4e6c-9f88-cece4c7c3d5e}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None

[6F10:7DF4][2023-05-01T11:52:05]i102: Detected related bundle: {dc3c3474-2609-4de5-9769-51d672e7a781}, type: Upgrade, scope: PerMachine, version: 1.0.0.0, operation: None

[6F10:7DF4][2023-05-01T11:52:05]i052: Condition 'AccessDatabaseEngineInstalled' evaluates to true.

[6F10:7DF4][2023-05-01T11:52:05]i101: Detected package: AccessDatabaseEngine2010x64, state: Present, cached: None

[6F10:7DF4][2023-05-01T11:52:05]i101: Detected package: XtrReader, state: Absent, cached: None

[6F10:7DF4][2023-05-01T11:52:05]i199: Detect complete, result: 0x0

[6F10:3F98][2023-05-01T11:52:07]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1

[6F10:7DF4][2023-05-01T11:52:07]i200: Plan begin, 2 packages, action: Install

[6F10:7DF4][2023-05-01T11:52:07]w321: Skipping dependency registration on package with no dependency providers: AccessDatabaseEngine2010x64

[6F10:7DF4][2023-05-01T11:52:07]i000: Setting string variable 'WixBundleRollbackLog_XtrReader' to value 'C:\Users\XIAOXU\AppData\Local\Temp\Test_Rerequisits_20230501115204_000_XtrReader_rollback.log'

[6F10:7DF4][2023-05-01T11:52:07]i000: Setting string variable 'WixBundleLog_XtrReader' to value 'C:\Users\XIAOXU\AppData\Local\Temp\Test_Rerequisits_20230501115204_000_XtrReader.log'

[6F10:7DF4][2023-05-01T11:52:07]i201: Planned package: AccessDatabaseEngine2010x64, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, cache: No, uncache: No, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i201: Planned package: XtrReader, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register

[6F10:7DF4][2023-05-01T11:52:07]i207: Planned related bundle: {7df02231-93ea-4492-9da8-5e60894c07b8}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i207: Planned related bundle: {84f47299-b34f-4477-bf59-4cfce0c808fb}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i207: Planned related bundle: {bbff8bf8-ebb4-4be1-9b5e-f38ca44d5f04}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i207: Planned related bundle: {d46ba972-6430-4e6c-9f88-cece4c7c3d5e}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i207: Planned related bundle: {dc3c3474-2609-4de5-9769-51d672e7a781}, type: Upgrade, default requested: None, ba requested: None, execute: None, rollback: None, dependency: None

[6F10:7DF4][2023-05-01T11:52:07]i299: Plan complete, result: 0x0

[6F10:7DF4][2023-05-01T11:52:07]i300: Apply begin

[6F10:7DF4][2023-05-01T11:52:07]i010: Launching elevated engine process.

[6F10:7DF4][2023-05-01T11:52:09]i011: Launched elevated engine process.

[6F10:7DF4][2023-05-01T11:52:09]i012: Connected to elevated engine.

[74CC:21F0][2023-05-01T11:52:09]i358: Pausing automatic updates.

[74CC:21F0][2023-05-01T11:52:09]i359: Paused automatic updates.

[74CC:21F0][2023-05-01T11:52:09]i360: Creating a system restore point.

[74CC:21F0][2023-05-01T11:52:09]w363: Could not create system restore point, error: 0x800704ec. Continuing...

[74CC:21F0][2023-05-01T11:52:09]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2d4e9335-4820-4f94-b3bc-f1c01968b382}, options: 0x7, disable resume: No

[74CC:21F0][2023-05-01T11:52:09]i000: Caching bundle from: 'C:\Users\XIAOXU\AppData\Local\Temp{DE766713-D22A-4869-BB3F-031D5CD82C65}.be\DSetup.exe' to: 'C:\ProgramData\Package Cache{2d4e9335-4820-4f94-b3bc-f1c01968b382}\DSetup.exe'

[74CC:21F0][2023-05-01T11:52:09]i320: Registering bundle dependency provider: {2d4e9335-4820-4f94-b3bc-f1c01968b382}, version: 1.0.0.0

[74CC:21F0][2023-05-01T11:52:09]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2d4e9335-4820-4f94-b3bc-f1c01968b382}, resume: Active, restart initiated: No, disable resume: No

[74CC:786C][2023-05-01T11:52:10]i305: Verified acquired payload: XtrReader at path: C:\ProgramData\Package Cache.unverified\XtrReader, moving to: C:\ProgramData\Package Cache{44125591-3845-44FA-B6D6-C96E5B76A383}v9.04.396\DDECReports.msi.

[74CC:21F0][2023-05-01T11:52:10]i323: Registering package dependency provider: {44125591-3845-44FA-B6D6-C96E5B76A383}, version: 9.04.396, package: XtrReader

[74CC:21F0][2023-05-01T11:52:10]i301: Applying execute package: XtrReader, action: Install, path: C:\ProgramData\Package Cache{44125591-3845-44FA-B6D6-C96E5B76A383}v9.04.396\DDECReports.msi, arguments: ' ALLUSERS="1" MSIFASTINSTALL="7" DDEC Report Main Components="1"'

[74CC:21F0][2023-05-01T11:52:11]e000: Error 0x80070667: Failed to install MSI package.

[74CC:21F0][2023-05-01T11:52:11]e000: Error 0x80070667: Failed to execute MSI package.

[6F10:7DF4][2023-05-01T11:52:11]e000: Error 0x80070667: Failed to configure per-machine MSI package.

[6F10:7DF4][2023-05-01T11:52:11]i319: Applied execute package: XtrReader, result: 0x80070667, restart: None

[6F10:7DF4][2023-05-01T11:52:11]e000: Error 0x80070667: Failed to execute MSI package.

[74CC:21F0][2023-05-01T11:52:11]i318: Skipped rollback of package: XtrReader, action: Uninstall, already: Absent

[6F10:7DF4][2023-05-01T11:52:11]i319: Applied rollback package: XtrReader, result: 0x0, restart: None

[74CC:21F0][2023-05-01T11:52:11]i329: Removed package dependency provider: {44125591-3845-44FA-B6D6-C96E5B76A383}, package: XtrReader

[74CC:21F0][2023-05-01T11:52:11]i351: Removing cached package: XtrReader, from path: C:\ProgramData\Package Cache{44125591-3845-44FA-B6D6-C96E5B76A383}v9.04.396\

[74CC:21F0][2023-05-01T11:52:14]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2d4e9335-4820-4f94-b3bc-f1c01968b382}, resume: None, restart: None, disable resume: No

[74CC:21F0][2023-05-01T11:52:14]i330: Removed bundle dependency provider: {2d4e9335-4820-4f94-b3bc-f1c01968b382}

[74CC:21F0][2023-05-01T11:52:14]i352: Removing cached bundle: {2d4e9335-4820-4f94-b3bc-f1c01968b382}, from path: C:\ProgramData\Package Cache{2d4e9335-4820-4f94-b3bc-f1c01968b382}\

[74CC:21F0][2023-05-01T11:52:14]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{2d4e9335-4820-4f94-b3bc-f1c01968b382}, resume: None, restart initiated: No, disable resume: No

[6F10:7DF4][2023-05-01T11:52:14]i399: Apply complete, result: 0x80070667, restart: None, ba requested restart: No

Developer technologies | Visual Studio | Setup
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2023-05-03T02:14:32.33+00:00

    Hi @Xu, Sean, 

    Welcome to Microsoft Q&A! 

    You issue is more related to WiX, please report it in dedicated WiX forum.

    Thanks for your understanding! 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    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.