Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer Type in winget identify Powershell type as exe but actually it is wix #3989

Open
BrandonWanHuanSheng opened this issue Dec 18, 2023 · 1 comment
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@BrandonWanHuanSheng
Copy link

BrandonWanHuanSheng commented Dec 18, 2023

Old installer wix installed as C:\Windows\Installer\2e457b4e.msi - Microsoft.Powershell Version 7.3.10.0 -referring as PowerShell-7.3.10-win-x64.msi on URL version file https://github.com/PowerShell/PowerShell/releases/download/v7.3.10 Icon refer C:\Windows\Installer{EF0BEE17-83BD-4894-B602-FF196CC273BE}
image
image
image

Newer Version wix was not installed.
image
image

Actual Behaviour:
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version. This is incorrect because the installer release wix only.

Expected Behaviour:
Upgrade should be success.

See log details

2023-12-18 09:12:30.980 [CORE] WinGet, version [1.6.3421], activity [{7CD0E5BA-DCE5-4624-B2A9-520E5B45E8AB}]
2023-12-18 09:12:30.981 [CORE] OS: Windows.Desktop v10.0.22631.2861
2023-12-18 09:12:30.981 [CORE] Command line Args: winget install Microsoft.PowerShell
2023-12-18 09:12:30.981 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.3421.0
2023-12-18 09:12:30.981 [CORE] IsCOMCall:0; Caller: winget-cli
2023-12-18 09:12:31.011 [CLI ] WinGet invoked with arguments: 'install' 'Microsoft.PowerShell'
2023-12-18 09:12:31.012 [CLI ] Found subcommand: install
2023-12-18 09:12:31.012 [CLI ] Leaf command to execute: root:install
2023-12-18 09:12:31.032 [CLI ] Executing command: install
2023-12-18 09:12:31.054 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-12-18 09:12:31.055 [REPO] Adding to source references msstore
2023-12-18 09:12:31.055 [REPO] Adding to source references winget
2023-12-18 09:12:31.085 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-12-18 09:12:31.085 [CORE] Found matching extension.
2023-12-18 09:12:31.097 [REPO] Multiple sources available, creating aggregated source.
2023-12-18 09:12:31.097 [REPO] Adding to aggregated source: msstore
2023-12-18 09:12:31.098 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-12-18 09:12:31.493 [REPO] Response status: 200
2023-12-18 09:12:31.494 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-12-18 09:12:31.558 [REPO] Response status: 200
2023-12-18 09:12:31.560 [REPO] Adding to aggregated source: winget
2023-12-18 09:12:31.582 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-12-18 09:12:31.583 [CORE] Found matching extension.
2023-12-18 09:12:31.697 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.1217.1930.385_neutral__8wekyb3d8bbwe\Public\index.db'
2023-12-18 09:12:31.697 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.1217.1930.385_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-12-18 09:12:31.700 [REPO] Opened SQLite Index with version [1.7], last write [2023-12-18 02:29:41.000]
2023-12-18 09:12:31.975 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2023-12-18 09:12:31.975 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-12-18 09:12:32.006 [REPO] Reading MSI UpgradeCodes
2023-12-18 09:12:32.372 [REPO] Reading MSI UpgradeCodes
2023-12-18 09:12:34.250 [SQL ] Opening SQLite connection #3: ':memory:' [6, 0]
2023-12-18 09:12:34.467 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-12-18 09:12:34.467 [SQL ] Opening SQLite connection #4: 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-12-18 09:12:34.472 [REPO] Opened SQLite Index with version [1.3], last write [2023-11-25 10:06:20.000]
2023-12-18 09:12:34.481 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-12-18 09:12:34.584 [REPO] Response status: 200
2023-12-18 09:12:34.604 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-12-18 09:12:34.604 [SQL ] Opening SQLite connection #5: 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-12-18 09:12:34.609 [REPO] Opened SQLite Index with version [1.5], last write [2023-12-16 08:21:33.000]
2023-12-18 09:12:34.795 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:PackageFamilyName='microsoft.powershell_8wekyb3d8bbwe'[Exact] Include:ProductCode='{02a236f6-a7aa-4b3c-81f7-1a1b781616e3}'[Exact] Include:ProductCode='{0347128c-3130-4d49-af2b-544143edd25c}'[Exact] Include:ProductCode='{05321fdb-bba2-497d-99c6-c440e184c043}'[Exact] Include:ProductCode='{0688ccaa-0be9-4ca6-a374-6e2562e83166}'[Exact] Include:ProductCode='{089aa498-4d82-4cfb-b350-05e9db1b0447}'[Exact] Include:ProductCode='{0c2fc8a0-c59c-41d9-a58a-a9c6cd5e02d3}'[Exact] Include:ProductCode='{0e45206e-10cd-4c58-8053-22975efa701d}'[Exact] Include:ProductCode='{11479679-5c7f-477f-869f-3ed956ce684d}'[Exact] Include:ProductCode='{11e117c7-01d0-4c4e-9096-2e90843a173e}'[Exact] Include:ProductCode='{13312503-c951-4772-ba4e-c2c0f81a800d}'[Exact] Include:ProductCode='{1460ec99-e4cb-44a3-98f9-45157f11953a}'[Exact] Include:ProductCode='{14844184-695a-4b90-82cc-01f55ad80778}'[Exact] Include:ProductCode='{1720a41d-be77-4ba7-b94f-3b2d696d2dff}'[Exact] Include:ProductCode='{1a2f632a-216a-444e-9ac6-c35dd5bcaa70}'[Exact] Include:ProductCode='{1a549fc7-385b-471a-88c3-df7edb94b6b3}'[Exact] Include:ProductCode='{1c95ccdc-8672-48c4-bad7-971abbb9a153}'[Exact] Include:ProductCode='{1de68b23-402e-4ea5-978d-5f1e9128ac2c}'[Exact] Include:ProductCode='{20550cd1-4102-4984-bd59-6fe1666d98c0}'[Exact] Include:ProductCode='{24117da7-83aa-439d-98ea-d57e2826d10d}'[Exact] Include:ProductCode='{26d7faf1-b242-4bc1-acc4-8f5a9a63bb8f}'[Exact] Include:ProductCode='{28481f46-dc7f-4f62-bebe-fc551e0ad1f5}'[Exact] Include:ProductCode='{2aa39a40-9624-4997-8e1f-062ba577db54}'[Exact] Include:ProductCode='{2b7eb71c-12f7-4126-9d50-c7a822d250bf}'[Exact] Include:ProductCode='{321a0885-714a-459d-870b-050242b21d04}'[Exact] Include:ProductCode='{323ad147-6fc4-40cb-a810-2aadf26d868a}'[Exact] Include:ProductCode='{351d8ab0-8593-495e-943a-ed413d1936e3}'[Exact] Include:ProductCode='{357a3946-1572-4a21-9b60-4c7bd1bb9761}'[Exact] Include:ProductCode='{395ba042-240f-404d-8b49-bdc2e812dbe5}'[Exact] Include:ProductCode='{3b4733c4-22af-4bd8-8f71-bf6e36e33c44}'[Exact] Include:ProductCode='{3e1d544c-e761-430f-b278-43e9fbff0e4f}'[Exact] Include:ProductCode='{3e687d5a-09a8-4a0e-8e33-16b27be7d0b0}'[Exact] Include:ProductCode='{41d89b69-b90a-4cfb-9783-4b86d2b34ec3}'[Exact] Include:ProductCode='{420ae50d-8b07-4845-8592-3beccd71de80}'[Exact] Include:ProductCode='{4438c52a-75c6-4a58-8df6-1f95d965fbc9}'[Exact] Include:ProductCode='{49e8fdaa-6579-448a-badf-b8521786ed4d}'[Exact] Include:ProductCode='{4a3091f4-fd67-4a02-bb8d-fcf0858022d2}'[Exact] Include:ProductCode='{4a7a1687-e4ff-4412-8143-549ab6a60fff}'[Exact] Include:ProductCode='{4a83c040-c2f8-4873-b9fe-2d529f1303b6}'[Exact] Include:ProductCode='{4ae22946-019c-429a-8f6c-b38048f3db78}'[Exact] Include:ProductCode='{4cd2445f-f6a9-4143-bbed-afbafd8eb3dc}'[Exact] Include:ProductCode='{4d162966-20c3-40f0-bf40-dd6f261bbfa9}'[Exact] Include:ProductCode='{4d2e0f74-0170-438a-b91e-cd8adbc57bbc}'[Exact] Include:ProductCode='{511197e1-fb28-4c66-bae1-ecd29fb4a84e}'[Exact] Include:ProductCode='{55262626-ad34-4cc2-b492-a047b85711ff}'[Exact] Include:ProductCode='{5896b11a-8dd8-4280-874b-1740e55b8c7f}'[Exact] Include:ProductCode='{5b7a41f8-e132-45be-92d5-48543f89372f}'[Exact] Include:ProductCode='{626e5136-60ab-4043-96b7-1959f3fff63e}'[Exact] Include:ProductCode='{65276649-728d-4ab9-aaec-6eff860b11ec}'[Exact] Include:ProductCode='{69c0afad-2b31-4906-bdd3-8016daad82bc}'[Exact] Include:ProductCode='{6a081203-10e2-4abd-aecb-9a18f00a92dc}'[Exact] Include:ProductCode='{6a4388c3-01a5-45fa-bdec-abd58d4395be}'[Exact] Include:ProductCode='{6bacc31b-bbbc-4d56-9114-112e820a1073}'[Exact] Include:ProductCode='{6c1f709b-bd77-453c-a47d-45a86833051d}'[Exact] Include:ProductCode='{6e6dc89e-ca80-46fc-8af1-cf9244405f9d}'[Exact] Include:ProductCode='{700898a6-4cce-400a-b0c8-ed92240b25ef}'[Exact] Include:ProductCode='{72a3e749-821d-45f0-80f4-f93f5843fa5c}'[Exact] Include:ProductCode='{749d8748-450a-4ac2-b37f-6db55c7f4d9b}'[Exact] Include:ProductCode='{78dc7953-633e-4fca-b804-2d67ce155e1d}'[Exact] Include:ProductCode='{7b48f2b1-de3f-448d-8464-eb14736d7334}'[Exact] Include:ProductCode='{7b7fefd2-1b63-4a8c-aaa7-453303937480}'[Exact] Include:ProductCode='{7f8234e5-6d6e-472d-a3be-95268c7f8666}'[Exact] Include:ProductCode='{7fa35664-8619-4399-b863-689b152e00b6}'[Exact] Include:ProductCode='{7fe90d61-d2f3-4a11-a7b5-cfe7b5899700}'[Exact] Include:ProductCode='{80917f8e-e801-4c4e-b4fd-0544c492a534}'[Exact] Include:ProductCode='{8112a61c-4b0b-45d1-8d7a-89647b958fc3}'[Exact] Include:ProductCode='{829f108c-1b74-400e-a7ea-b8ea129d65e6}'[Exact] Include:ProductCode='{850d3de3-2ecd-459d-9677-8305f5a8866e}'[Exact] Include:ProductCode='{887bbd1d-0b7e-44e5-b6a6-f06c0cc0e44d}'[Exact] Include:ProductCode='{8b34f593-c5df-47d9-ad0e-23d579f6d83e}'[Exact] Include:ProductCode='{8b844f39-e6ee-486b-be85-96a485ae2b96}'[Exact] Include:ProductCode='{8bde4e1b-d21c-496f-9245-1c3a2fdcfde7}'[Exact] Include:ProductCode='{8c622ec6-96ef-4213-96d6-d31657cba06c}'[Exact] Include:ProductCode='{8dceaefc-a41f-489e-b590-7daeedf5699f}'[Exact] Include:ProductCode='{8e26535e-5f2c-448d-bb9d-447474dac463}'[Exact] Include:ProductCode='{8f76ee1c-aadb-4559-b77e-36be3e797ea7}'[Exact] Include:ProductCode='{8fed201c-8a90-49e9-bc16-ff64ad8c04c6}'[Exact] Include:ProductCode='{91c8d67a-2213-452c-b9b3-247f9d25e23c}'[Exact] Include:ProductCode='{9261fb12-aa19-4097-b217-8ec86ba5599e}'[Exact] Include:ProductCode='{959cb28b-c5f3-4b66-9f8c-ec1f02e15115}'[Exact] Include:ProductCode='{95a5474f-00b9-44ae-a0e2-448cd2228499}'[Exact] Include:ProductCode='{a1d5ce14-6581-4cd0-8371-5b8aec70d77e}'[Exact] Include:ProductCode='{a55d1349-d294-43e8-b79a-1ec86dc3d18a}'[Exact] Include:ProductCode='{a6307460-5cb8-47e2-91fe-a35552ea2c39}'[Exact] Include:ProductCode='{a8d4ed31-54e3-450f-84b4-c58694d8ac0e}'[Exact] Include:ProductCode='{aad8bfce-9d62-498b-9606-030031dbe970}'[Exact] Include:ProductCode='{ad700148-dd32-4283-8c07-ed1f8af876cd}'[Exact] Include:ProductCode='{af15bbeb-3f1d-4dd7-b9d8-fec5811d8bf1}'[Exact] Include:ProductCode='{b0387f27-d79a-4282-9825-0d908435cecf}'[Exact] Include:ProductCode='{b1dd8b0f-1dda-4b7a-a9ce-67b3f7138d08}'[Exact] Include:ProductCode='{b324e508-9aae-446a-bc4c-bb446e8c2a18}'[Exact] Include:ProductCode='{b54291c1-205e-4f39-95f9-eff603ab1b60}'[Exact] Include:ProductCode='{b549bbbf-33e3-4b5c-8ac0-77d00cec26ef}'[Exact] Include:ProductCode='{b5fc945e-99ee-4db8-9aa4-b63d56d886cc}'[Exact] Include:ProductCode='{b7001017-15e5-45ed-b438-fbe590097c37}'[Exact] Include:ProductCode='{b8b9c30d-050a-4a42-b553-2f6a4e9c0e38}'[Exact] Include:ProductCode='{b9a2cd79-b8a3-42bb-bffa-8b19004ba850}'[Exact] Include:ProductCode='{b9bc4534-05a8-401b-b315-7a320f3de0af}'[Exact] Include:ProductCode='{bf1e4b7a-656d-47b3-8ae7-c69f50b14665}'[Exact] Include:ProductCode='{c4b618e5-7f53-4f09-9fd3-a1ceadeff5cb}'[Exact] Include:ProductCode='{c4f0686b-5b68-4e8c-b2d7-89b6eceddc61}'[Exact] Include:ProductCode='{c624e6c6-3e92-4962-bf07-8c79e66c9ff2}'[Exact] Include:ProductCode='{cb5d5aa8-2610-4948-9f52-8be2260d67c1}'[Exact] Include:ProductCode='{cd7e3182-53a6-4054-b06a-bed12015512f}'[Exact] Include:ProductCode='{cebe393d-90a6-4e25-9ff9-3d3015b8b693}'[Exact] Include:ProductCode='{d2315b00-759f-4e19-b2ec-f3150b0e9e87}'[Exact] Include:ProductCode='{d2cd402d-83e4-4f5b-890d-0d21a978bd10}'[Exact] Include:ProductCode='{d68bfbe6-5da9-485d-9523-7aca9dec2ee2}'[Exact] Include:ProductCode='{d765cff9-fe05-4d83-91db-dfc21d8c3d2c}'[Exact] Include:ProductCode='{d91edb21-fcd5-45ae-b983-cafa80899437}'[Exact] Include:ProductCode='{d99b6160-3886-4982-a9bd-fe0c1fb8a05c}'[Exact] Include:ProductCode='{daa8210f-91fd-46fe-a0a5-4ea5f707f715}'[Exact] Include:ProductCode='{db2cd4c0-5287-424b-9a14-faf1d57096cd}'[Exact] Include:ProductCode='{dc4672a3-0279-4fb4-b42f-9c959983f56b}'[Exact] Include:ProductCode='{dc81541a-3fdc-46ce-9987-e606b833f841}'[Exact] Include:ProductCode='{dcd5f175-10f8-4377-bd37-7db63eec05f5}'[Exact] Include:ProductCode='{e0404587-c1a9-4be7-a7e6-316bb342fd31}'[Exact] Include:ProductCode='{e3b4f7c2-691d-4d21-9df8-d58f1cbc585e}'[Exact] Include:ProductCode='{e3f4e1b9-a800-4c4a-bfa4-8891384e8d48}'[Exact] Include:ProductCode='{e8f40b64-dea0-4555-a364-2432ba30fd5f}'[Exact] Include:ProductCode='{ea7e74be-c39b-4643-9d24-312413d434aa}'[Exact] Include:ProductCode='{ee9cc6f4-acf6-4b10-81bd-49d1c188770d}'[Exact] Include:ProductCode='{ef0bee17-83bd-4894-b602-ff196cc273be}'[Exact] Include:ProductCode='{f1e2415c-fa05-4436-b3d2-2b156c806c71}'[Exact] Include:ProductCode='{f648ac46-1de4-4f78-b4aa-397e214ae6e7}'[Exact] Include:ProductCode='{f8bdf556-6537-4289-b67f-36cce4d1fe5e}'[Exact] Include:ProductCode='{fb509d15-7c71-4b8e-bb88-b0afc3736caf}'[Exact] Include:NormalizedNameAndPublisher='powershell'+'microsoft'[Exact]
2023-12-18 09:12:34.847 [REPO] Opening pinning index
2023-12-18 09:12:34.847 [REPO] Opening existing pinning index
2023-12-18 09:12:34.847 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2023-12-18 09:12:34.848 [SQL ] Opening SQLite connection #6: 'C:\Users\Dell\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db' [2, 0]
2023-12-18 09:12:34.849 [REPO] Opened Pinning Index with version [1.0], last write [2023-06-11 22:17:22.000]
2023-12-18 09:12:34.855 [CLI ] Found one app. App id: Microsoft.PowerShell App name: PowerShell
2023-12-18 09:12:34.855 [CLI ] Found installed package, converting to upgrade flow
2023-12-18 09:12:34.900 [REPO] Downloading manifest
2023-12-18 09:12:34.900 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/m/Microsoft/PowerShell/7.4.0.0/2297
2023-12-18 09:12:35.320 [CORE] Download hash: 59f7644d59abf8bd65954f6d0d721eea16770f06e33c7775acb4f078f39da6e4
2023-12-18 09:12:35.320 [CORE] Download completed.
2023-12-18 09:12:35.329 [CLI ] Starting installer selection.
❌ 2023-12-18 09:12:35.329 [CLI ] Installer [X64,wix,Machine,] not applicable: Installed package type 'exe' is not compatible with installer type wix
❌ 2023-12-18 09:12:35.329 [CLI ] Installer [X86,wix,Machine,] not applicable: Installed package type 'exe' is not compatible with installer type wix
2023-12-18 09:12:35.332 [CLI ] Terminating context: 0x8a15002b at C:__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:b8

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Dec 18, 2023
@BrandonWanHuanSheng BrandonWanHuanSheng changed the title It look like the installer are same type but running upgrade failed. Installer Type in winget identify Powershell type as exe but actually it is wix Dec 18, 2023
@mdanish-kh
Copy link
Contributor

mdanish-kh commented Dec 18, 2023

What do you get with winget list powershell? Looking at the logs, it seems that you have the EXE variant of PowerShell that is believed to be automatically installed through Windows Update

Related to:

Tracking issue over at PowerShell repo

@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. Area-External Issue outside of winget-cli source and removed Needs-Triage Issue need to be triaged labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-External Issue outside of winget-cli source Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

3 participants