Share via

Hosting Bundle 8.0.11 does not install .Net Runtime

AEDDULA Nagababu 0 Reputation points
Nov 29, 2024, 1:59 PM

Hi,

Everything was working as expected until hosting bundle version 8.0.7. Started seeing issues from later versions.

Until 8.0.7, installing hosting bundle included all components like Windows Server Hosting, .Net Runtime, Asp.Net Core Shared Framework and these are clearly displayed in control panel programs.

I installed hosting bundle 8.0.11 and I do not see all components in control panel. I see only windows server hosting and initially assumed all components are installed silently. I ran 'dotnet --info' command and noticed .Net Runtime is not installed. I uninstalled and re-installed, then I can see .Net Runtime is installed this time. I suspect something happened during uninstall and that led to install .Runtime in the second install.

From logs I see the following, but not able to clearly understand the difference from first time to second time installation. Can you please help me understand why it skips installing .Net Runtime for the first time? This is very important for us to give exact information to our clients.

I have included logs text in the attached file:

Section1: First time installation log text

Section2: Uninstallation log text

Section3: Re-installation log text

During first installation:

Registry key not found. Key = 'SOFTWARE\Microsoft.NET\8.0'

Condition 'OPT_NO_RUNTIME_Exists' evaluates to true.

Setting string variable 'OPT_NO_RUNTIME' to value '1'

During second installation:

Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'

Setting numeric variable 'OPT_NO_RUNTIME_Exists' to value 0

HostingBundle_Install_Uninstall_Logs.txt

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,201 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,206 Reputation points Microsoft External Staff
    Dec 3, 2024, 6:34 AM

    Hi @AEDDULA Nagababu ,

    The problem might caused by remnants of registry entries from the previously installed .NET runtime.

    The first installation may have skipped the runtime due to the remnants of a previous registry key.

    [16C4:2788][2024-11-29T09:09:33]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [16C4:2788][2024-11-29T09:09:33]i000: Setting numeric variable 'OPT_NO_ANCM_Exists' to value 1
    [16C4:2788][2024-11-29T09:09:33]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [16C4:2788][2024-11-29T09:09:33]i000: Setting numeric variable 'OPT_NO_RUNTIME_Exists' to value 1
    [16C4:2788][2024-11-29T09:09:33]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [16C4:2788][2024-11-29T09:09:33]i000: Setting numeric variable 'OPT_NO_SHARED_CONFIG_CHECK_Exists' to value 1
    [16C4:2788][2024-11-29T09:09:33]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [16C4:2788][2024-11-29T09:09:33]i000: Setting numeric variable 'OPT_NO_SHAREDFX_Exists' to value 1
    [16C4:2788][2024-11-29T09:09:33]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [16C4:2788][2024-11-29T09:09:33]i000: Setting numeric variable 'OPT_NO_X86_Exists' to value 1
    
    

    After the uninstall operation, the registry key was cleaned up, and the corresponding registry key could not be found on the second installation, so a complete installation was performed.

    [2088:0200][2024-11-29T09:11:39]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [2088:0200][2024-11-29T09:11:39]i000: Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'
    [2088:0200][2024-11-29T09:11:39]i000: Setting numeric variable 'OPT_NO_ANCM_Exists' to value 0
    [2088:0200][2024-11-29T09:11:39]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [2088:0200][2024-11-29T09:11:39]i000: Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'
    [2088:0200][2024-11-29T09:11:39]i000: Setting numeric variable 'OPT_NO_RUNTIME_Exists' to value 0
    [2088:0200][2024-11-29T09:11:39]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [2088:0200][2024-11-29T09:11:39]i000: Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'
    [2088:0200][2024-11-29T09:11:39]i000: Setting numeric variable 'OPT_NO_SHARED_CONFIG_CHECK_Exists' to value 0
    [2088:0200][2024-11-29T09:11:39]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [2088:0200][2024-11-29T09:11:39]i000: Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'
    [2088:0200][2024-11-29T09:11:39]i000: Setting numeric variable 'OPT_NO_SHAREDFX_Exists' to value 0
    [2088:0200][2024-11-29T09:11:39]i052: Condition 'NOT (OPT_NO_ANCM OR OPT_NO_ANCM=0 OR OPT_NO_SHAREDFX OR OPT_NO_SHAREDFX=0 OR OPT_NO_RUNTIME OR OPT_NO_RUNTIME=0 OR OPT_NO_X86 OR OPT_NO_X86=0 OR OPT_NO_SHARED_CONFIG_CHECK OR OPT_NO_SHARED_CONFIG_CHECK=0)' evaluates to true.
    [2088:0200][2024-11-29T09:11:39]i000: Registry key not found. Key = 'Software\Microsoft\dotnet\host\options\8.0'
    [2088:0200][2024-11-29T09:11:39]i000: Setting numeric variable 'OPT_NO_X86_Exists' to value 0
    

    Best Regards.

    Jiachen Li


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Ole Kristian Hustad 0 Reputation points
    Mar 26, 2025, 1:54 PM

    There seems to be something wrong with the installer, it does not work as written on the download .Net8 webpage.

    8.0.7 hostingbundle installs all 3 components (runtime, hosting, shared framework), 8.0.14 only installs the Windows Server Hosting framework. I did not have any previous versions of .Net8.x.x on the server.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.