Support Forum: Get Support for Patch My PC Products and Services

Microsoft Configuration Manager and Intune (Enterprises/Paid) => Report Update Detection Issues (Enterprises Using ConfigMgr and Intune) => Topic started by: greggoor on November 22, 2022, 12:45:45 AM

Title: Detection method of Git software
Post by: greggoor on November 22, 2022, 12:45:45 AM
Hi,

we noticed that 'Git' software is not properly detected if custom installation directory is defined.
You can adjust it by adding additional argument in the command line "DIR='custompath'".

Detection method in the publisher has hardcoded path which is being checked.

QuoteComparison="GreaterThanOrEqualTo" Data="2.38.1.0" />
    <bar:RegSz Key="HKEY_LOCAL_MACHINE" Subkey="SOFTWARE\GitForWindows" Value="LibexecPath" Comparison="EqualTo" Data="C:\Program Files\Git\mingw64\libexec\git-core" />

What do you say about adjusting detection method to check InstallPath value from the registry instead?
Title: Re: Detection method of Git software
Post by: Liviu (Patch My PC) on November 22, 2022, 01:55:41 AM
Hey greggoor,

Thanks for reporting this. Git is part of our catalog since a very long time.
We'll look into it to see if there is a better way to detect the app.
Title: Re: Detection method of Git software
Post by: Liviu (Patch My PC) on November 24, 2022, 02:39:44 AM
Hey greggoor,

Thanks for reporting this, we will fix this issue with today's catalog release.
https://patchmypc.com/category/catalog-updates
Title: Re: Detection method of Git software
Post by: greggoor on November 24, 2022, 11:06:02 PM
 ;) thanks for the udpate
Title: Re: Detection method of Git software
Post by: Liviu (Patch My PC) on November 25, 2022, 12:37:15 AM
Hey greggoor,

This detection rule for Git for Windows should now be corrected.