3
« on: May 16, 2019, 07:27:09 AM »
The .NET Core Runtime and Hosting Bundle Detection methods need updating I think. After an update, many machines don't detect unless I run a repair install after and then rescan again, though they in fact installed fine the first time.
Here's what I can tell based on the detection methods in SCUP and what's present on the machine:
There are 4 sets of detections in an OR statement, each of which contains 3 detections in an AND group
Set 1 Detection Method:
a) HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\sharedhost\Version exists
b) HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\sharedhost\Version string is >= '2.2.4.0'
c) HKLM\SOFTWARE\Microsoft\Updates\.NET Core exists
Set 2 Detection Method:
a) HKLM\SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x86\sharedhost\Version exists
b) HKLM\SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x86\sharedhost\Version string is >= '2.2.4.0'
c) HKLM\SOFTWARE\WOW6432Node\Microsoft\Updates\.NET Core exists
Set 3 Detection Method:
a) HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost\Version exists
b) HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost\Version string is >= '2.2.4.0'
c) HKLM\SOFTWARE\Microsoft\Updates\.NET Core exists
Set 4 Detection Method:
a) HKLM\SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x64\sharedhost\Version exists
b) HKLM\SOFTWARE\WOW6432Node\dotnet\Setup\InstalledVersions\x64\sharedhost\Version string is >= '2.2.4.0'
c) HKLM\SOFTWARE\WOW6432Node\Microsoft\Updates\.NET Core exists
Results on machine not detecting (update is installed, but repair not done):
Set 1:
a) Does not exist
b) Does not exist, so comparison no good
c) Does not exist
Set 2:
a) Exists
b) 2.1.5
c) Exists
Set 3:
a) Exists
b) 2.2.4
c) Does not exist
Set 4:
a) Does not exist
b) Does not exist, so comparison no good
c) Exists
Same box after repair install performed:
Set 1:
a) Does not exist
b) Does not exist, so comparison no good
c) Does not exist
Set 2:
a) Exists
b) 2.2.4
c) Exists
Detection occurs because of this set
Set 3:
a) Exists
b) 2.2.4
c) Does not exist
Set 4:
a) Does not exist
b) Does not exist, so comparison no good
c) Exists
These detections seem to work about 85-90% of the time, but not always. The example machine for this is an x64 Server Core 2016 system. Please let me know if I can help provide more information.