[wix-users] .Net Core 2.2 Windows Server Hosting

Bob Arnson bob at firegiant.com
Fri Aug 16 13:01:53 PDT 2019


And they can change/remove it at any time.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rob Mensching via wix-users
Sent: Friday, 16 August, 2019 16:00
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] .Net Core 2.2 Windows Server Hosting

FWIW, it'd be best if someone provided a link to MSDN or some other .NET related web page that said how to detect their stuff. Otherwise, it is just guessing.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Jacques Eloff via wix-users
Sent: Friday, August 16, 2019 11:35 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Jacques Eloff <repstosd at gmail.com>
Subject: Re: [wix-users] .Net Core 2.2 Windows Server Hosting

The hosting bundle is just a wrapper for a few other bundles and MSIs that also ship as part of other bundles. It contains

1. The .NET Core Runtime bundles (EXE) both x86 and x64 2. The ASP.NET Core shared framework MSIs (both x86 and x64) 3. The ASP.NET Core Module for IIS

1 and 2 can also be acquired through separate installations and ANCM also ships as part of Visual Studio. so detecting them doesn't mean they were installed as a result of installing the hosting bundle. Your safest bet is to check against HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
because the bundle would get registered there. In 2.x the hosting bundles supported SxS installs so you may find multiple entries there.

It should also write a registry key to HKLM\SOFTWARE\Microsoft\Updates (It uses the Optional Registration elements in the bundle that WiX provides).
Though I've seen those keys getting removed by Windows Update sometimes so I won't rely on that.

And just in case you need to deal with 1.x: That included both the 1.0 and
1.1 (FTS/LTS runtimes for .NET Core). The ASP.NET Shared Framework didn't exist until 2.0

Jacques


On Thu, Aug 15, 2019 at 3:01 PM Nir Bar via wix-users < wix-users at lists.wixtoolset.org> wrote:

> You need to check the version of dotnet.exe 
> "[ProgramFiles64Folder]\dotnet\dotnet.exe"
>
>
>
> --
>
> Nir Bar
>
> WiX Expert
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant 
> http://www.firegiant.com/
>

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list