Open NJT145 opened 1 year ago
it seems that it actually points to the uninstaller, but with silent switch. however, without that switch it is working with no problem. here is my lo for uninstall:
2023-06-13 09:01:24.418 [CORE] WinGet, version [1.4.11071], activity [{B197753D-6C69-4C8B-9842-7B86078F2F73}]
2023-06-13 09:01:24.418 [CORE] OS: Windows.Desktop v10.0.19045.2965
2023-06-13 09:01:24.418 [CORE] Command line Args: "C:\Users\nejat\AppData\Local\Microsoft\WindowsApps\winget.exe" uninstall Anaconda.Anaconda3
2023-06-13 09:01:24.418 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.11071.0
2023-06-13 09:01:24.418 [CORE] IsCOMCall:0; Caller: winget-cli
2023-06-13 09:01:24.431 [CLI ] WinGet invoked with arguments: 'uninstall' 'Anaconda.Anaconda3'
2023-06-13 09:01:24.437 [CLI ] Found subcommand: uninstall
2023-06-13 09:01:24.437 [CLI ] Leaf command to execute: root:uninstall
2023-06-13 09:01:24.444 [CLI ] Executing command: uninstall
2023-06-13 09:01:24.446 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-06-13 09:01:24.446 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-06-13 09:01:24.446 [REPO] Adding to source references msstore
2023-06-13 09:01:24.446 [REPO] Adding to source references winget
2023-06-13 09:01:24.446 [REPO] Multiple sources available, creating aggregated source.
2023-06-13 09:01:24.446 [REPO] Adding to aggregated source: msstore
2023-06-13 09:01:24.446 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-06-13 09:01:24.550 [REPO] Response status: 200
2023-06-13 09:01:24.551 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-06-13 09:01:24.573 [REPO] Response status: 200
2023-06-13 09:01:24.573 [REPO] Adding to aggregated source: winget
2023-06-13 09:01:24.586 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-06-13 09:01:24.586 [CORE] Found matching extension.
2023-06-13 09:01:24.625 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.613.302.345_neutral__8wekyb3d8bbwe\Public\index.db'
2023-06-13 09:01:24.625 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.613.302.345_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-06-13 09:01:24.626 [REPO] Opened SQLite Index with version [1.6], last write [2023-06-13 05:01:38.000]
2023-06-13 09:01:24.818 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-06-13 09:01:24.818 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-06-13 09:01:24.818 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-06-13 09:01:24.868 [REPO] Reading MSI UpgradeCodes
2023-06-13 09:01:24.887 [REPO] Examining ARP entries for Machine | X64
2023-06-13 09:01:24.983 [REPO] Examining ARP entries for Machine | X86
2023-06-13 09:01:25.064 [REPO] Reading MSI UpgradeCodes
2023-06-13 09:01:25.082 [REPO] Examining ARP entries for User | X64
2023-06-13 09:01:25.460 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\nejat\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-06-13 09:01:25.460 [SQL ] Opening SQLite connection #3: 'C:\Users\nejat\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-06-13 09:01:25.461 [REPO] Opened SQLite Index with version [1.6], last write [2023-02-20 05:37:50.000]
2023-06-13 09:01:25.505 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-06-13 09:01:25.547 [REPO] Response status: 200
2023-06-13 09:01:25.560 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\nejat\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-06-13 09:01:25.560 [SQL ] Opening SQLite connection #4: 'C:\Users\nejat\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-06-13 09:01:25.561 [REPO] Opened SQLite Index with version [1.6], last write [2023-06-13 08:36:29.000]
2023-06-13 09:01:25.645 [CLI ] Found one app. App id: Anaconda.Anaconda3 App name: Anaconda3
2023-06-13 09:01:25.660 [CLI ] Starting: 'C:\ProgramData\anaconda3\Uninstall-Anaconda3.exe' with arguments '/S'
2023-06-13 09:01:27.067 [CLI ] Leaf command succeeded: root:uninstall
Please confirm these before moving forward
Category of the issue
Other
Brief description of your issue
It seems that
winget list Anaconda.Anaconda3
doesn't run properly the uninstaller of anaconda at<INSTALLDIR>\Uninstall-Anaconda3.exe
. This might cause error on upgrade for newer versions. Need help to configure its manifest to point the uninstaller at someway...Steps to reproduce
I installed Anaconda interactively with this command:
winget install -e -i --id=Anaconda.Anaconda3 --source=winget --scope=machine
. And no problem at installation. But when I uninstall it with this commandwinget list Anaconda.Anaconda3
, it doesn't uninstall it, and it says that uninstallation is completed with no errors...Actual behavior
The code
winget list Anaconda.Anaconda3
runs without errors but doesn't uninstall Anaconda, and also break the default uninstaller so that it uninstalls with errors.Expected behavior
Using winget to uninstall
Anaconda.Anaconda3
should run its uninstaller at<INSTALLDIR>\Uninstall-Anaconda3.exe
. For example, I installed Anaconda for all users, so that at my system the uninstaller is at "C:\ProgramData\anaconda3\Uninstall-Anaconda3.exe".Environment
Screenshots and Logs
No response