winget-cli: winget 1.4.2011-preview can't install MSI-based applications
I was trying to upgrade my winget installation (I had 1.1.12653) to be able to use --architecture with some programs.
After installing latest release available (1.4.2011-preview) I can’t install any applications that are MSI-based (like Google.Chrome). Installer failed with error code 1619.

I’ve I install latest stable version (1.2.10271) I can install it without problems:

Log file for failed install is this one:
2022-07-23 20:37:17.459 [CORE] WinGet, version [1.4.2011-preview], activity [{BF5118D9-069A-4A79-827A-2C7916E2A8C9}]
2022-07-23 20:37:17.459 [CORE] OS: Windows.Desktop v10.0.22000.795
2022-07-23 20:37:17.459 [CORE] Command line Args: "C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\WindowsApps\winget.exe" install -e --id Google.Chrome
2022-07-23 20:37:17.459 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.2011.0
2022-07-23 20:37:17.459 [CORE] IsCOMCall:0; Caller: winget-cli
2022-07-23 20:37:17.461 [CLI ] WinGet invoked with arguments: 'install' '-e' '--id' 'Google.Chrome'
2022-07-23 20:37:17.461 [CLI ] Found subcommand: install
2022-07-23 20:37:17.461 [CLI ] Leaf command to execute: root:install
2022-07-23 20:37:17.462 [CLI ] Executing command: install
2022-07-23 20:37:17.462 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-07-23 20:37:17.462 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-07-23 20:37:17.462 [REPO] Adding to source references msstore
2022-07-23 20:37:17.462 [REPO] Adding to source references winget
2022-07-23 20:37:17.463 [REPO] Multiple sources available, creating aggregated source.
2022-07-23 20:37:17.463 [REPO] Adding to aggregated source: msstore
2022-07-23 20:37:17.463 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-07-23 20:37:17.631 [REPO] Response status: 200
2022-07-23 20:37:17.631 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-07-23 20:37:17.706 [REPO] Response status: 200
2022-07-23 20:37:17.706 [REPO] Adding to aggregated source: winget
2022-07-23 20:37:17.715 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-07-23 20:37:17.715 [CORE] Found matching extension.
2022-07-23 20:37:17.729 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.723.1102.118_neutral__8wekyb3d8bbwe\Public\index.db'
2022-07-23 20:37:17.729 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.723.1102.118_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-07-23 20:37:17.729 [REPO] Opened SQLite Index with version [1.5], last write [2022-07-23 12:01:26.000]
2022-07-23 20:37:17.835 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/Google.Chrome?Market=US
2022-07-23 20:37:17.879 [REPO] Response status: 200
2022-07-23 20:37:17.882 [CLI ] Found one app. App id: Google.Chrome App name: Google Chrome
2022-07-23 20:37:17.883 [REPO] Downloading manifest
2022-07-23 20:37:17.883 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/g/Google/Chrome/103.0.5060.134/9496-Google.Chrome.yaml
2022-07-23 20:37:17.894 [CORE] Download hash: c16a53e79469d05c1bd30ed3721a42b4d2264b8cd91686af103a6d4cde2699a1
2022-07-23 20:37:17.894 [CORE] Download completed.
2022-07-23 20:37:17.895 [CLI ] Manifest fields: Name [Google Chrome], Version [103.0.5060.134]
2022-07-23 20:37:17.896 [CLI ] Starting installer selection.
2022-07-23 20:37:17.896 [CLI ] Completed installer selection.
2022-07-23 20:37:17.902 [CLI ] Found existing installer file at 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi'. Verifying file hash.
2022-07-23 20:37:18.055 [CLI ] Existing installer file hash matches. Will use existing installer.
2022-07-23 20:37:18.055 [CLI ] Installer hash verified
2022-07-23 20:37:18.055 [CORE] Started applying motw to C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi with zone: 2
2022-07-23 20:37:18.057 [CORE] Finished applying motw
2022-07-23 20:37:18.057 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2022-07-23 20:37:18.057 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2022-07-23 20:37:18.057 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2022-07-23 20:37:18.088 [REPO] Examining ARP entries for Machine | X64
2022-07-23 20:37:18.088 [REPO] Examining ARP entries for Machine | X86
2022-07-23 20:37:18.090 [REPO] Examining ARP entries for User | X64
2022-07-23 20:37:18.094 [CLI ] Installer args: /passive /log "C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Google.Chrome.103.0.5060.134-2022-07-23-20-37-18.094.log"
2022-07-23 20:37:18.094 [CLI ] Starting: 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi' with arguments '/passive /log "C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Google.Chrome.103.0.5060.134-2022-07-23-20-37-18.094.log"'
2022-07-23 20:37:18.475 [CLI ] ShellExecute installer failed: 1619
2022-07-23 20:37:18.476 [CLI ] Terminating context: 0x8a150006 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:1f9
Log file for successful install is this one:
2022-07-23 20:42:15.114 [CORE] WinGet, version [1.2.10271], activity [{F54D6FC3-852E-404E-B8EC-3E83B477939F}]
2022-07-23 20:42:15.114 [CORE] OS: Windows.Desktop v10.0.22000.795
2022-07-23 20:42:15.114 [CORE] Command line Args: "C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\WindowsApps\winget.exe" install -e --id Google.Chrome
2022-07-23 20:42:15.115 [CORE] Package: Microsoft.DesktopAppInstaller v1.17.10271.0
2022-07-23 20:42:15.115 [CORE] IsCOMCall:0; Caller: winget-cli
2022-07-23 20:42:15.117 [CLI ] WinGet invoked with arguments: 'install' '-e' '--id' 'Google.Chrome'
2022-07-23 20:42:15.117 [CLI ] Found subcommand: install
2022-07-23 20:42:15.117 [CLI ] Leaf command to execute: root:install
2022-07-23 20:42:15.118 [CLI ] Executing command: install
2022-07-23 20:42:15.118 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-07-23 20:42:15.118 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-07-23 20:42:15.118 [REPO] Adding to source references msstore
2022-07-23 20:42:15.118 [REPO] Adding to source references winget
2022-07-23 20:42:15.118 [REPO] Multiple sources available, creating aggregated source.
2022-07-23 20:42:15.118 [REPO] Adding to aggregated source: msstore
2022-07-23 20:42:15.118 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-07-23 20:42:15.193 [REPO] Response status: 200
2022-07-23 20:42:15.193 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-07-23 20:42:15.254 [REPO] Response status: 200
2022-07-23 20:42:15.254 [REPO] Adding to aggregated source: winget
2022-07-23 20:42:15.263 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-07-23 20:42:15.263 [CORE] Found matching extension.
2022-07-23 20:42:15.277 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.723.1102.118_neutral__8wekyb3d8bbwe\Public\index.db'
2022-07-23 20:42:15.277 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.723.1102.118_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-07-23 20:42:15.278 [REPO] Opened SQLite Index with version [1.5], last write [2022-07-23 12:01:26.000]
2022-07-23 20:42:15.487 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/Google.Chrome?Market=US
2022-07-23 20:42:15.497 [REPO] Response status: 200
2022-07-23 20:42:15.500 [CLI ] Found one app. App id: Google.Chrome App name: Google Chrome
2022-07-23 20:42:15.501 [REPO] Downloading manifest
2022-07-23 20:42:15.501 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/g/Google/Chrome/103.0.5060.134/9496-Google.Chrome.yaml
2022-07-23 20:42:16.048 [CORE] Download hash: c16a53e79469d05c1bd30ed3721a42b4d2264b8cd91686af103a6d4cde2699a1
2022-07-23 20:42:16.048 [CORE] Download completed.
2022-07-23 20:42:16.048 [CLI ] Manifest fields: Name [Google Chrome], Version [103.0.5060.134]
2022-07-23 20:42:16.049 [CLI ] Starting installer selection.
2022-07-23 20:42:16.049 [CLI ] Completed installer selection.
2022-07-23 20:42:16.056 [CLI ] Generated temp download path: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\e0bb4e70d7c0872ac8b6ebe6b5c82191b1c64ec9b36bbe0fd3b2e08cff6c5154
2022-07-23 20:42:16.056 [CORE] Downloading to path: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\e0bb4e70d7c0872ac8b6ebe6b5c82191b1c64ec9b36bbe0fd3b2e08cff6c5154
2022-07-23 20:42:16.056 [CORE] DeliveryOptimization downloading from url: https://dl.google.com/dl/chrome/install/googlechromestandaloneenterprise64.msi
2022-07-23 20:42:20.034 [CORE] Download completed.
2022-07-23 20:42:20.109 [CORE] Started applying motw to C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\e0bb4e70d7c0872ac8b6ebe6b5c82191b1c64ec9b36bbe0fd3b2e08cff6c5154 with zone: 3
2022-07-23 20:42:20.111 [CORE] Finished applying motw
2022-07-23 20:42:20.111 [CLI ] Installer hash verified
2022-07-23 20:42:20.111 [CORE] Started applying motw to C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\e0bb4e70d7c0872ac8b6ebe6b5c82191b1c64ec9b36bbe0fd3b2e08cff6c5154 with zone: 2
2022-07-23 20:42:20.112 [CORE] Finished applying motw
2022-07-23 20:42:20.112 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi
2022-07-23 20:42:20.112 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2022-07-23 20:42:20.112 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2022-07-23 20:42:20.112 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2022-07-23 20:42:20.141 [REPO] Examining ARP entries for Machine | X64
2022-07-23 20:42:20.141 [REPO] Examining ARP entries for Machine | X86
2022-07-23 20:42:20.142 [REPO] Examining ARP entries for User | X64
2022-07-23 20:42:20.225 [CLI ] Installer args: /passive /log "C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Google.Chrome.103.0.5060.134-2022-07-23-20-42-20.225.log"
2022-07-23 20:42:20.225 [CLI ] Starting: 'C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi' with arguments '/passive /log "C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Google.Chrome.103.0.5060.134-2022-07-23-20-42-20.225.log"'
2022-07-23 20:42:38.331 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2022-07-23 20:42:38.331 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2022-07-23 20:42:38.331 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2022-07-23 20:42:38.365 [REPO] Examining ARP entries for Machine | X64
2022-07-23 20:42:38.367 [REPO] Examining ARP entries for Machine | X86
2022-07-23 20:42:38.368 [REPO] Examining ARP entries for User | X64
2022-07-23 20:42:38.441 [CLI ] During package install, 1 changes to ARP were observed, 1 matches were found for the package, and 1 packages were in both
2022-07-23 20:42:38.441 [CLI ] The entry determined to be associated with the package is 'Google Chrome', with publisher 'Google LLC'
2022-07-23 20:42:38.451 [REPO] Creating new SQLite Index [4294967295.4294967295] at 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2022-07-23 20:42:38.451 [SQL ] Opening SQLite connection: 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [6, 0]
2022-07-23 20:42:38.490 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2022-07-23 20:42:38.490 [SQL ] Opening SQLite connection: 'C:\Users\WDAGUtilityAccount\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2022-07-23 20:42:38.490 [REPO] Opened SQLite Index with version [1.3], last write [2022-07-23 20:42:38.000]
2022-07-23 20:42:38.526 [CLI ] Removing installer: C:\Users\WDAGUtilityAccount\AppData\Local\Temp\WinGet\Google.Chrome.103.0.5060.134\googlechromestandaloneenterprise64.msi
2022-07-23 20:42:38.527 [CLI ] Leaf command succeeded: root:install
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (13 by maintainers)
We’ve merged the fix into the codebase, and we just need to cut a new release.
100% I would expect any new file access issues to be related to #2324 .
Will have to look into why our tests that install MSI don’t fail, but I guess I can give
SYSTEMexplicit access. Not like it can’t just take it if it wants anyway…Here is the info about 1.3.1872. It works well and can install MSI packages as expected.