Managed installs unable to report minor version
I'm looking for an idea to find our existing and new ActivClient 6.2.0.179 installs.
We deployed ActivClient 6.2.0.50 and that reports fine. We updated those installs with MSP files to 6.2.0.179. Even if installed manually, those 179 installs show in Programs and Features as 6.2 in the Version column on the client machines. On those machines the full minor version can only be found in the Comments column (usually hidden). They don't report back to Kace with the minor version.
ActivClient 6.2.0.50 was installed on some machines manually and by Kace on other machines. I've tried manually installing it and the MSP files so it's at 6.2.0.179 and then running a Kace inventory check, but it still returns only 6.2.
The only registry entry for the 'installed' files that has 6.2.0.179 is buried in the reg path below. It has both text and numbers and when I try either as the return value, I get no return. I tested on other values that are just numbers or just text and they work fine.
How can I find my 6.2.0.179 installs?
RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\37954E682535F9341A51E2E84E4D1004\InstallProperties,Comments,TEXT)
Answers (1)
When you use any of the *Return() rules for a custom inventory item, it will not actually generate a count of computers. With the CI rule you have above, you will need to use a Smart Label to query the CI field.
If you want to get a count of computers, you would need to use:
RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\37954E682535F9341A51E2E84E4D1004\InstallProperties,Comments,6.2.179)
And just change the last parameter based on what you're looking for for each Inventory Item.
We've had to do similar with some LOB apps we use. Rather than creating a separate CI for each possible version, though, we just created one that uses the *Return() rules, and then use Smart Labels to query it.
Comments:
-
Thanks. Much appreciated.
I changed it to the line below, but it still isn't returning anything. I tried adding quotes to the value since it has spaces, but no difference. I copied the value from another machine's registry and pasted into Kace so I know it's correct.
I forced inventory checks on a handful of machines with the software installed and let a few hours pass for others to check in, but nothing gets returned.
RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\37954E682535F9341A51E2E84E4D1004\InstallProperties,Comments,"ActivClient x64 6.2 (6.2.0.179)")
I'm still playing with it in the meantime, but I remain open to any ideas. :-)
Thanks.
-Steve - murbot 10 years ago-
You may want to enable Debug mode and check the KDEPLOY.LOG for any indications of why the rule isn't working. You could even change it back to RegistryValueReturn while debug is on just so you can see exactly what it returns. - BHC-Austin 10 years ago