Solved Errors uninstalling old Windows Desktop Runtime Environments


NatS1011

Member
Local time
5:41 PM
Posts
53
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 My Computer

At a glance

Windows 11System > About won't say...
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 My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
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 My Computer

At a glance

Windows 11
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 My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Okay, that makes sense. Thanks
 

My Computer My Computer

At a glance

Windows 11System > About won't say...
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 My Computer

At a glance

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

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
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 Computer My Computer

At a glance

Windows 11 Enterprise 25H2 [rev. 8893]
OS
Windows 11 Enterprise 25H2 [rev. 8893]
  • Like
Reactions: OAT
Gonna be a all-nighter to go trough all of them. 🤣
1742068950797.webp
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
Computer type
PC/Desktop
Back
Top Bottom