aws / aws/amazon-ssm-agent

e000: Error 0x80070643: Failed to install MSI package

Open
#446 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

We are getting the following error

![image](https://user-images.githubusercontent.com/22152786/169690742-3d76a0d7-5572-4d10-9225-2f7802c58826.png)

![image](https://user-images.githubusercontent.com/22152786/169690947-96efd9b5-516a-497a-ba75-3b37d34a1b4b.png)

env: windows server 2019

log:
```
[26D8:0948][2022-05-22T10:20:46]i001: Burn v3.11.0.1701, Windows v10.0 (Build 17763: Service Pack 0), path: C:\Users\ADMINI~1\AppData\Local\Temp\1\{bla-7D89-bla-8DBF-bla}\.cr\AmazonSSMAgentSetup.exe
[26D8:0948][2022-05-22T10:20:46]i000: Initializing hidden variable 'CODE'
[26D8:0948][2022-05-22T10:20:46]i000: Initializing string variable 'ID' to value 'null'
[26D8:0948][2022-05-22T10:20:46]i000: Initializing string variable 'REGION' to value 'null'
[26D8:0948][2022-05-22T10:20:46]i000: Initializing string variable 'ALLOWEC2INSTALL' to value 'null'
[26D8:0948][2022-05-22T10:20:46]i000: Initializing string variable 'DELETESYMLINKSFORSSMFOLDER' to value 'no'
[26D8:0948][2022-05-22T10:20:46]i000: Initializing string variable 'SKIPSYMLINKSCAN' to value 'no'
[26D8:0948][2022-05-22T10:20:46]i009: Command Line: '-burn.clean.room=C:\Users\Administrator\Downloads\AmazonSSMAgentSetup.exe -burn.filehandle.attached=660 -burn.filehandle.self=728'
[26D8:0948][2022-05-22T10:20:46]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\Administrator\Downloads\AmazonSSMAgentSetup.exe'
[26D8:0948][2022-05-22T10:20:46]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\Administrator\Downloads\'
[26D8:0948][2022-05-22T10:20:46]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\Amazon_SSM_Agent_20220522102046.log'
[26D8:0948][2022-05-22T10:20:46]i052: Condition '((VersionNT >= v5.2) AND (ServicePackLevel >= 1)) OR (VersionNT >= v6.0)' evaluates to true.
[26D8:0948][2022-05-22T10:20:46]i000: Setting string variable 'WixBundleName' to value 'Amazon SSM Agent'
[26D8:0948][2022-05-22T10:20:46]i000: Setting string variable 'WixBundleManufacturer' to value 'Amazon Web Services'
[26D8:142C][2022-05-22T10:20:46]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[26D8:142C][2022-05-22T10:20:46]i000: Setting version variable 'WixBundleFileVersion' to value '3.1.1374.0'
[26D8:0948][2022-05-22T10:20:46]i100: Detect begin, 2 packages
[26D8:0948][2022-05-22T10:20:46]i102: Detected related bundle: {bla-0c41-bla-9685-bla}, type: Upgrade, scope: PerMachine, version: 3.1.282.0, operation: MajorUpgrade
[26D8:0948][2022-05-22T10:20:46]i101: Detected package: AmazonSSMAgentMSI, state: Absent, cached: None
[26D8:0948][2022-05-22T10:20:46]i101: Detected package: AmazonSSMAgentMSI_32, state: Absent, cached: None
[26D8:0948][2022-05-22T10:20:46]i199: Detect complete, result: 0x0
[26D8:142C][2022-05-22T10:20:49]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[26D8:0948][2022-05-22T10:20:49]i200: Plan begin, 2 packages, action: Install
[26D8:0948][2022-05-22T10:20:49]i052: Condition 'VersionNT64' evaluates to true.
[26D8:0948][2022-05-22T10:20:49]i000: Setting string variable 'WixBundleRollbackLog_AmazonSSMAgentMSI' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\Amazon_SSM_Agent_20220522102046_000_AmazonSSMAgentMSI_rollback.log'
[26D8:0948][2022-05-22T10:20:49]i000: Setting string variable 'WixBundleLog_AmazonSSMAgentMSI' to value 'C:\Users\ADMINI~1\AppData\Local\Temp\Amazon_SSM_Agent_20220522102046_000_AmazonSSMAgentMSI.log'
[26D8:0948][2022-05-22T10:20:49]i052: Condition 'NOT VersionNT64' evaluates to false.
[26D8:0948][2022-05-22T10:20:49]i201: Planned package: AmazonSSMAgentMSI, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[26D8:0948][2022-05-22T10:20:49]i201: Planned package: AmazonSSMAgentMSI_32, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None
[26D8:0948][2022-05-22T10:20:49]i207: Planned related bundle: {bla-0c41-409e-bla-bla}, type: Upgrade, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, dependency: None
[26D8:0948][2022-05-22T10:20:49]i299: Plan complete, result: 0x0
[26D8:0948][2022-05-22T10:20:49]i300: Apply begin
[26D8:0948][2022-05-22T10:20:49]i010: Launching elevated engine process.
[26D8:0948][2022-05-22T10:20:49]i011: Launched elevated engine process.
[26D8:0948][2022-05-22T10:20:49]i012: Connected to elevated engine.
[1DD4:1418][2022-05-22T10:20:49]i358: Pausing automatic updates.
[1DD4:1418][2022-05-22T10:20:49]i359: Paused automatic updates.
[1DD4:1418][2022-05-22T10:20:49]i360: Creating a system restore point.
[1DD4:1418][2022-05-22T10:20:49]i362: System restore disabled, system restore point not created.
[1DD4:1418][2022-05-22T10:20:49]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6239eba2-3288-45ad-9144-d0ccde1e4839}, options: 0x7, disable resume: No
[1DD4:1418][2022-05-22T10:20:49]i000: Caching bundle from: 'C:\Users\ADMINI~1\AppData\Local\Temp\1\{bla-A532-bla-A328-bla}\.be\AmazonSSMAgentSetup.exe' to: 'C:\ProgramData\Package Cache\{6239eba2-3288-45ad-9144-d0ccde1e4839}\AmazonSSMAgentSetup.exe'
[1DD4:1418][2022-05-22T10:20:49]i320: Registering bundle dependency provider: {bla-3288-bla-9144-bla}, version: 3.1.1374.0
[1DD4:1418][2022-05-22T10:20:49]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{bla-3288-bla-9144-bla}, resume: Active, restart initiated: No, disable resume: No
[1DD4:1B4C][2022-05-22T10:20:49]i305: Verified acquired payload: AmazonSSMAgentMSI at path: C:\ProgramData\Package Cache\.unverified\AmazonSSMAgentMSI, moving to: C:\ProgramData\Package Cache\{bla-52E1-bla-AE8F-bla}v3.1.1374.0\AmazonSSMAgent.msi.
[1DD4:1418][2022-05-22T10:20:49]i323: Registering package dependency provider: {bla-52E1-bla-AE8F-bla}, version: 3.1.1374.0, package: AmazonSSMAgentMSI
[1DD4:1418][2022-05-22T10:20:49]i301: Applying execute package: AmazonSSMAgentMSI, action: Install, path: C:\ProgramData\Package Cache\{bla-52E1-bla-AE8F-bla}v3.1.1374.0\AmazonSSMAgent.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" CODE="*****" ID="null" REGION="null" ALLOWEC2INSTALL="null" DELETESYMLINKSFORSSMFOLDER="no" SKIPSYMLINKSCAN="no"'
[1DD4:1418][2022-05-22T10:20:51]e000: Error 0x80070643: Failed to install MSI package.
[1DD4:1418][2022-05-22T10:20:51]e000: Error 0x80070643: Failed to execute MSI package.
[26D8:0948][2022-05-22T10:20:51]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[26D8:0948][2022-05-22T10:20:51]i319: Applied execute package: AmazonSSMAgentMSI, result: 0x80070643, restart: None
[26D8:0948][2022-05-22T10:20:51]e000: Error 0x80070643: Failed to execute MSI package.
[1DD4:1418][2022-05-22T10:20:51]i318: Skipped rollback of package: AmazonSSMAgentMSI, action: Uninstall, already: Absent
[26D8:0948][2022-05-22T10:20:51]i319: Applied rollback package: AmazonSSMAgentMSI, result: 0x0, restart: None
[1DD4:1418][2022-05-22T10:20:51]i329: Removed package dependency provider: {bla-52E1-bla-AE8F-bla}, package: AmazonSSMAgentMSI
[1DD4:1418][2022-05-22T10:20:51]i351: Removing cached package: AmazonSSMAgentMSI, from path: C:\ProgramData\Package Cache\{bla-52E1-bla-AE8F-bla}v3.1.1374.0\
[1DD4:1418][2022-05-22T10:20:51]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6239eba2-3288-45ad-9144-d0ccde1e4839}, resume: None, restart: None, disable resume: No
[1DD4:1418][2022-05-22T10:20:51]i330: Removed bundle dependency provider: {bla-3288-bla-9144-bla}
[1DD4:1418][2022-05-22T10:20:51]i352: Removing cached bundle: {bla-3288-bla-9144-bla}, from path: C:\ProgramData\Package Cache\{bla-3288-bla-9144-bla}\
[1DD4:1418][2022-05-22T10:20:51]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{bla-3288-bla-9144-bla}, resume: None, restart initiated: No, disable resume: No
[26D8:0948][2022-05-22T10:20:52]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart: No

```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with AmazonSSMAgentSetup.exe on Windows Server 2019 and inspect the MSI log alongside the Burn log shown in the report. The issue does not identify a repository file, test, or entry point; done would mean determining the cause of error 0x80070643 and confirming that the agent installs successfully.

Written by the indexing model from the issue text.

Assessment

Domain
devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.