Detection Method for Windows Installer Patch

I am trying to use the application model to install a Windows Installer patch (MSP) for some software. Understanding that each vendor is different in how they handle patching, what are some ways I can construct the detection method? I've tried checking the registry for the existence of a key that is created by the MSP, but it still fails the detection method.  My searches for examples have failed as well :)

Has anyone done this before?

Thanks,

Jeff

July 16th, 2015 1:57pm

I would look at a specific file and version in the detection method.
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 2:08pm

When the product version is changed by the patch (e.g. Adobe Acrobat patches does) you can use the MSI product code AND the new version as DM

Stefan

July 16th, 2015 4:16pm

You can also query the Windows Installer database by using the WindowsInstaller.Installer COM object and the PatchesEx property: https://msdn.microsoft.com/en-us/library/aa369442(v=vs.85).aspx .
Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 5:59pm

When the product version is changed by the patch (e.g. Adobe Acrobat patches does) you can use the MSI product code AND the new version as DM

Stefan

July 16th, 2015 8:14pm

When the product version is changed by the patch (e.g. Adobe Acrobat patches does) you can use the MSI product code AND the new version as DM

Stefan

Free Windows Admin Tool Kit Click here and download it now
July 16th, 2015 8:14pm

I ended up using the registry detection method but used the HKLM\Software\Microsoft\WIndows\CurrentVersion\Installer\UserData\S-1-5-18 and the key matching the product.

Jeff

July 20th, 2015 10:22am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics