Solved Errors uninstalling old Windows Desktop Runtime Environments


NatS1011

New member
Local time
6:57 PM
Posts
8
OS
Windows 11
My machine keeps having multiple versions of Windows Desktop Runtime Environments. I have a newer version here - 8.0.11 (x64) - but there is an old version - 6.0.27 (x64) - that I simply cannot uninstall. I use the official installer/uninstaller, but it always fails, I have the log further down below the immediate screen shot. Why does it say "Another instillation is already in progress" ? There isn't one, or at least there shouldn't be.

GUI uninstaller results:
Screenshot (1).webp

Log File results:

Code:
[3ED8:3EC4][2025-03-15T13:50:03]i001: Burn v3.14.0.5722, Windows v10.0 (Build 22631: Service Pack 0), path: C:\ProgramData\Package Cache\{d87ae0f4-64a6-4b94-859a-530b9c313c27}\windowsdesktop-runtime-6.0.27-win-x64.exe
[3ED8:3EC4][2025-03-15T13:50:03]i000: Initializing string variable 'BUNDLEMONIKER' to value 'Microsoft Windows Desktop Runtime - 6.0.27 (x64)'
[3ED8:3EC4][2025-03-15T13:50:03]i000: Initializing string variable 'PRODUCT_NAME' to value 'Microsoft Windows Desktop Runtime - 6.0.27 (x64)'
[3ED8:3EC4][2025-03-15T13:50:03]i000: Initializing string variable 'LINK_PREREQ_PAGE' to value 'https://go.microsoft.com/fwlink/?linkid=846817'
[3ED8:3EC4][2025-03-15T13:50:03]i009: Command Line: '"-burn.clean.room=C:\ProgramData\Package Cache\{d87ae0f4-64a6-4b94-859a-530b9c313c27}\windowsdesktop-runtime-6.0.27-win-x64.exe" -burn.filehandle.attached=552 -burn.filehandle.self=560 /uninstall'
[3ED8:3EC4][2025-03-15T13:50:03]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003.log'
[3ED8:3EC4][2025-03-15T13:50:03]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[3ED8:3EEC][2025-03-15T13:50:04]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[3ED8:3EEC][2025-03-15T13:50:04]i000: Setting version variable 'WixBundleFileVersion' to value '6.0.27.33320'
[3ED8:3EC4][2025-03-15T13:50:04]i100: Detect begin, 4 packages
[3ED8:3EC4][2025-03-15T13:50:04]i101: Detected package: dotnet_runtime_6.0.27_win_x64.msi, state: Present, cached: Complete
[3ED8:3EC4][2025-03-15T13:50:04]i101: Detected package: dotnet_hostfxr_6.0.27_win_x64.msi, state: Present, cached: Complete
[3ED8:3EC4][2025-03-15T13:50:04]i101: Detected package: dotnet_host_6.0.27_win_x64.msi, state: Present, cached: Complete
[3ED8:3EC4][2025-03-15T13:50:04]i101: Detected package: windowsdesktop_runtime_6.0.27_win_x64.msi, state: Present, cached: Complete
[3ED8:3EC4][2025-03-15T13:50:04]i052: Condition '((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to true.
[3ED8:3EC4][2025-03-15T13:50:04]i052: Condition 'VersionNT64' evaluates to true.
[3ED8:3EC4][2025-03-15T13:50:04]i199: Detect complete, result: 0x0
[3ED8:3EC4][2025-03-15T13:50:06]i200: Plan begin, 4 packages, action: Uninstall
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleRollbackLog_windowsdesktop_runtime_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_000_windowsdesktop_runtime_6.0.27_win_x64.msi_rollback.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleLog_windowsdesktop_runtime_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_000_windowsdesktop_runtime_6.0.27_win_x64.msi.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleRollbackLog_dotnet_host_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_001_dotnet_host_6.0.27_win_x64.msi_rollback.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleLog_dotnet_host_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_001_dotnet_host_6.0.27_win_x64.msi.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleRollbackLog_dotnet_hostfxr_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_002_dotnet_hostfxr_6.0.27_win_x64.msi_rollback.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleLog_dotnet_hostfxr_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_002_dotnet_hostfxr_6.0.27_win_x64.msi.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleRollbackLog_dotnet_runtime_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_003_dotnet_runtime_6.0.27_win_x64.msi_rollback.log'
[3ED8:3EC4][2025-03-15T13:50:06]i000: Setting string variable 'WixBundleLog_dotnet_runtime_6.0.27_win_x64.msi' to value 'C:\Users\OCTAGO~1\AppData\Local\Temp\Microsoft_Windows_Desktop_Runtime_-_6.0.27_(x64)_20250315135003_003_dotnet_runtime_6.0.27_win_x64.msi.log'
[3ED8:3EC4][2025-03-15T13:50:06]i201: Planned package: windowsdesktop_runtime_6.0.27_win_x64.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister
[3ED8:3EC4][2025-03-15T13:50:06]i201: Planned package: dotnet_host_6.0.27_win_x64.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister
[3ED8:3EC4][2025-03-15T13:50:06]i201: Planned package: dotnet_hostfxr_6.0.27_win_x64.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister
[3ED8:3EC4][2025-03-15T13:50:06]i201: Planned package: dotnet_runtime_6.0.27_win_x64.msi, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: No, uncache: Yes, dependency: Unregister
[3ED8:3EC4][2025-03-15T13:50:06]i299: Plan complete, result: 0x0
[3ED8:3EC4][2025-03-15T13:50:06]i300: Apply begin
[3ED8:3EC4][2025-03-15T13:50:06]i010: Launching elevated engine process.
[3ED8:3EC4][2025-03-15T13:50:06]i011: Launched elevated engine process.
[3ED8:3EC4][2025-03-15T13:50:06]i012: Connected to elevated engine.
[2FD0:14CC][2025-03-15T13:50:07]i358: Pausing automatic updates.
[2FD0:14CC][2025-03-15T13:50:07]i359: Paused automatic updates.
[2FD0:14CC][2025-03-15T13:50:07]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d87ae0f4-64a6-4b94-859a-530b9c313c27}, resume: Active, restart initiated: No, disable resume: No
[2FD0:14CC][2025-03-15T13:50:07]i326: Removed dependency: {d87ae0f4-64a6-4b94-859a-530b9c313c27} on package provider: windowsdesktop_runtime_48.108.8836_x64, package windowsdesktop_runtime_6.0.27_win_x64.msi
[2FD0:14CC][2025-03-15T13:50:07]i301: Applying execute package: windowsdesktop_runtime_6.0.27_win_x64.msi, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1"'
[2FD0:14CC][2025-03-15T13:50:10]e000: Error 0x80070652: Failed to uninstall MSI package.
[2FD0:14CC][2025-03-15T13:50:10]e000: Error 0x80070652: Failed to execute MSI package.
[3ED8:3EC4][2025-03-15T13:50:10]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3ED8:3EC4][2025-03-15T13:50:10]w348: Application requested retry of package: windowsdesktop_runtime_6.0.27_win_x64.msi, encountered error: 0x80070652. Retrying...
[2FD0:14CC][2025-03-15T13:50:13]i301: Applying execute package: windowsdesktop_runtime_6.0.27_win_x64.msi, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1"'
[2FD0:14CC][2025-03-15T13:50:16]e000: Error 0x80070652: Failed to uninstall MSI package.
[2FD0:14CC][2025-03-15T13:50:16]e000: Error 0x80070652: Failed to execute MSI package.
[3ED8:3EC4][2025-03-15T13:50:16]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3ED8:3EC4][2025-03-15T13:50:16]w348: Application requested retry of package: windowsdesktop_runtime_6.0.27_win_x64.msi, encountered error: 0x80070652. Retrying...
[2FD0:14CC][2025-03-15T13:50:19]i301: Applying execute package: windowsdesktop_runtime_6.0.27_win_x64.msi, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1"'
[2FD0:14CC][2025-03-15T13:50:22]e000: Error 0x80070652: Failed to uninstall MSI package.
[2FD0:14CC][2025-03-15T13:50:22]e000: Error 0x80070652: Failed to execute MSI package.
[3ED8:3EC4][2025-03-15T13:50:22]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3ED8:3EC4][2025-03-15T13:50:22]w348: Application requested retry of package: windowsdesktop_runtime_6.0.27_win_x64.msi, encountered error: 0x80070652. Retrying...
[2FD0:14CC][2025-03-15T13:50:25]i301: Applying execute package: windowsdesktop_runtime_6.0.27_win_x64.msi, action: Uninstall, path: (null), arguments: ' ARPSYSTEMCOMPONENT="1"'
[2FD0:14CC][2025-03-15T13:50:28]e000: Error 0x80070652: Failed to uninstall MSI package.
[2FD0:14CC][2025-03-15T13:50:28]e000: Error 0x80070652: Failed to execute MSI package.
[3ED8:3EC4][2025-03-15T13:50:28]e000: Error 0x80070652: Failed to configure per-machine MSI package.
[3ED8:3EC4][2025-03-15T13:50:28]i319: Applied execute package: windowsdesktop_runtime_6.0.27_win_x64.msi, result: 0x80070652, restart: None
[3ED8:3EC4][2025-03-15T13:50:28]e000: Error 0x80070652: Failed to execute MSI package.
[2FD0:14CC][2025-03-15T13:50:28]i318: Skipped rollback of package: windowsdesktop_runtime_6.0.27_win_x64.msi, action: Install, already: Present
[3ED8:3EC4][2025-03-15T13:50:28]i319: Applied rollback package: windowsdesktop_runtime_6.0.27_win_x64.msi, result: 0x0, restart: None
[2FD0:14CC][2025-03-15T13:50:28]i325: Registering dependency: {d87ae0f4-64a6-4b94-859a-530b9c313c27} on package provider: windowsdesktop_runtime_48.108.8836_x64, package: windowsdesktop_runtime_6.0.27_win_x64.msi
[2FD0:14CC][2025-03-15T13:50:28]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d87ae0f4-64a6-4b94-859a-530b9c313c27}, resume: ARP, restart: None, disable resume: No
[2FD0:14CC][2025-03-15T13:50:28]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{d87ae0f4-64a6-4b94-859a-530b9c313c27}, resume: ARP, restart initiated: No, disable resume: No
[3ED8:3EC4][2025-03-15T13:50:28]i399: Apply complete, result: 0x80070652, restart: None, ba requested restart:  No
 
Windows Build/Version
Windows 11 version 23H2 (OS Build 22631.4890)

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell / Inspiron 7440 14 2-in-1
    CPU
    System > About won't say...
    Keyboard
    built in
    Mouse
    built in trackpad
My machine keeps having multiple versions of Windows Desktop Runtime Environments.
So it should.
Do not uninstall .NET because you have a higher version.

.NET does not work like any other software. You need the multiple versions.
Each release version of .NET can be installed side-by-side, and furthermore, if an app is built for .NET 7, it won't run unless you have 7 installed (usually), even if you have 8 installed.

1742063896250.webp1742063896250.webp
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & IGB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 13 (Trixie)
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
You could try to go to Task Manager, and stop the window installer, and then try to remove it.

But what OAT said, multiply versions might be needed, as software on the machine might still use the old version. However if you remove an older version, and you have no issue with apps not starting anymore, then your good. if an app missing the 6.0 library you could always reinstall it.

I usually also remove some older onces, once in a while, while i know software has upgrade to newer versions, and the old are not needed anymore.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
You could try to go to Task Manager, and stop the window installer, and then try to remove it.

But what OAT said, multiply versions might be needed, as software on the machine might still use the old version. However if you remove an older version, and you have no issue with apps not starting anymore, then your good. if an app missing the 6.0 library you could always reinstall it.

I usually also remove some older onces, once in a while, while i know software has upgrade to newer versions, and the old are not needed anymore.
If a developer hard code the requirement of a certain .NET version for his program to work and you have removed it, it will not run.
Even MS is still updating this version:

dist.webp
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & IGB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 13 (Trixie)
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Okay, that makes sense. Thanks
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell / Inspiron 7440 14 2-in-1
    CPU
    System > About won't say...
    Keyboard
    built in
    Mouse
    built in trackpad
If a developer hard code the requirement of a certain .NET version for his program to work and you have removed it, it will not run.
However if you remove an older version, and you have no issue with apps not starting anymore, then your good.
Where saying the same thing...

About the updates of the version. If you have no apps installed that use .net 8 for example, then windows will continue updating them. However if no app is using the .net 8 version, you can still remove it safely. Goes for all of those versions.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
  • Like
Reactions: OAT

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & IGB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 13 (Trixie)
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
If one were feeling spunky, they could scan their system for runtimeconfig.json files. For .NET apps, that file will tell you which runtimes the app requires. Find all the runtimes you need, and remove the rest.

JSON:
{
  "runtimeOptions": {
    "tfm": "net5.0",
    "framework": {
      "name": "Microsoft.WindowsDesktop.App",
      "version": "5.0.0"
    }
  }
}

JSON:
{
  "runtimeOptions": {
    "tfm": "net9.0",
    "frameworks": [
      {
        "name": "Microsoft.NETCore.App",
        "version": "9.0.0"
      },
      {
        "name": "Microsoft.WindowsDesktop.App",
        "version": "9.0.0"
      }
    ]
  }
}
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
  • Like
Reactions: OAT
Gonna be a all-nighter to go trough all of them. 🤣
1742068950797.webp
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop

Latest Support Threads

Back
Top Bottom