Page 1 of 1

Any plans to add a ComponentId check function?

Posted: Mon Jun 11, 2007 11:02 pm
by davemcl
Im currently eveluating IA and the first issue I hit is there doesnt seem to be a simple way of checking on the existence of a ComponentId from a 3rd party MSI. I use the Complocator and AppSearch tables at the moment in IS.
Unless there is a way to do this via the registry???

TIA
Dave

Posted: Mon Jun 11, 2007 11:11 pm
by davemcl
Update:
The ComponentId I was looking for is related to Office 2003.
{3EC1EAE0-A256-411D-B00B-016CA8376078}
If you strip the braces and reverse the first 3 groups it turns out this ends up in the registry here:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Components\as
0EAE1CE3652AD1140BB010C68A730687

Is this a consistent and supported method of checking if a 3rd party component is installed?

TIA
Dave

Posted: Sat Jun 16, 2007 8:29 pm
by CandiceJones
That ought to work well, yes.