-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dectection issues ConfigMgr VcRedist 2012, 2013, 2019 #58
Comments
Are the Windows Installer GUIDs not matching what's on the client? |
No the GUID that is in the application deployment type in Config Mgr for the 2019 x64 version is {282975d8-55fe-4991-bbbb-06a72581ce58}. I can't find that GUID on my test system at all after the software is installed and showing up in the Programs and features list where it can be repaired or uninstalled manually. |
There's a new version of the 2019 x86 & x64 VcRedist. I'll release a new version of the module with the updated GUIDs ASAP. |
I will wait for the update and try again. Please note the 2012 and 2013 versions weren't detected either. |
New version should be up on the Gallery in a few minutes. Could you please check the GUID of the 2012 and 2013 versions on a client and compare to what's in the ConfigMgr app? Not sure why those versions are failing. |
From what location do you take the GUID's usually? Just to be sure that I am checking in the right place. |
|
I've just been trying to install Visual C++ Redistributable for Visual Studio 2012 Update 4 x64 through Config Mgr. It gets installed but Config Mgr is reporting it as failed as the application won't get discovered. HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall{ca67548a-5ebe-413a-b50c-4b9ceb6d66c6} is present on the system and is the same GUID as in Config Mgr. Would there be a change Config Mgr is only looking in HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall? As the GUID is only available in HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall? |
I am experiencing detection failures on the majority of the apps however the registry keys exist. I do no ever use the Apps failing to discover post install:
|
{65e650ff-30be-469d-b63a-418d71ea1765} 2019 x86 The above 100% exist in registry. 100% do not exist in This gist may be useful for some inspiration if you're interested in using registry based detection instead: https://gist.github.com/indented-automation/32efb05a5fb67ef9eed02bbb8fe90691 or this utility: https://reg2ps.azurewebsites.net/ |
Example snippet generated from Roger Zander's tool # Reg2CI (c) 2020 by Roger Zander
try {
if(-NOT (Test-Path -LiteralPath "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{65e650ff-30be-469d-b63a-418d71ea1765}")){ return $false };
if((Get-ItemPropertyValue -LiteralPath 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{65e650ff-30be-469d-b63a-418d71ea1765}' -Name 'DisplayVersion' -ea SilentlyContinue) -eq '14.25.28508.3') { } else { return $false };
}
catch { return $false }
return $true |
I can feel the urge to give a huge middle finger to Microsoft right now. I feel your pain. |
I am also struggling with this I see 3 reg keys for the current 2019 x64
|
I ended up just using a PowerShell detection method. The GUID detection was not working for the current executable. Note this will detect any version of c++ 2015-2019 x64. If you only want to detect a specific version modify the regex variable to include a version number.
|
@aaronparker perhaps re-open this so folks can easily see this and this thread? |
Good idea. |
I need to double check all product codes in the manifest; however, this detection method looks to work:
|
Just a note we're up to 14.28.29325.2 now and the method immediately above me does not work with this one unfortunately. I ended up using this script myself which worked wonders. |
I've added some changes to version
Screenshots: |
Expected Behavior
VcRedist 2012, 2013, 2019 detected as installed by Config Mgr.
Current Behavior
VcRedist 2008 and 2010 are being installed and detected correctly by Config Mgr. VcRedist 2012, 2013, 2019 are being installed, they show up in Control Panel -> Add remove programs, but Config Mgr isn't detecting them as such.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered: