• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - rweigand

#1
Quote from: Andrew Jimenez on April 02, 2020, 02:30:55 PM
Turning out to be trickier than expected... We'll keep investigating!

Thnx a bunch for your trouble!
Btw, why not switch to detection by file version? Chrome on a x64 system always gets installed to "C:\Program Files (x86)\Google\Chrome\Application", and on a x86 system to "C:\Program Files\Google\Chrome\Application", right?
#2
Quote from: Justin Chalfant on February 11, 2020, 08:54:50 AM
Were look into both a beta and stable installation to check the detection.

Any news?
#3
I've looked into it on one of my affected clients. It's really so: if Chrome Beta was installed last, the reg key used for detection (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe) points to "C:\Program Files (x86)\Google\Chrome Beta\Application\chrome.exe". :(

To repair the detection on my affected clients I ran a PS script:
Import-Module 'C:\Program Files (x86)\Microsoft Endpoint Manager\AdminConsole\bin\ConfigurationManager.psd1'
cd P11:
$(Get-CMDeviceCollection -Name "Google Chrome Beta 77.0.3865.42 en-US-install (device)").CollectionRules.rulename | ForEach-Object {
    $key = "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe"
    $valuename1 = 'Path'
    $valuename2 = ''
    $ValueData1 = "C:\Program Files (x86)\Google\Chrome\Application"
    $ValueData2 = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
    $ValueType = [Microsoft.Win32.RegistryValueKind]::String
    $reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $_)
    $regkey = $reg.opensubkey($key, $true)
    write-output "$_ - $($regkey.getvalue($valuename1))"
    write-output "$_ - $($regkey.getvalue($valuename2))"
    #$regkey.SetValue($ValueName1,$ValueData1,$ValueType)
    #$regkey.SetValue($ValueName2,$ValueData2,$ValueType)
}


A bit crude, but it works... ;)

Hope the detection gets fixed on the next update!

Cheers,
RW
#4
Hi! Could it be, that the (x64) update detects Chrome Beta v80 and sets itself as installed?