I'm trying to check for SharePoint 2010 being installed before permitting the installer to continue. In order for this to happen, I added the following "Search Target Machine" property:
Name = "Search for MOSS2010"
Property = SHAREPOINT2010INSTALLED
RegKey = SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0
Root = vsdrrHKLM
Value = SharePoint
On my system, the path indicated exists and the Value "SharePoint" is "Installed"
Now, I added a Launch Condition:
Name = SharePoint 2010 Installed
Condition = SHAREPOINT2010INSTALLED="Installed"
InstallUrl = (blank)
Message = SharePoint 2010 must be installed prior to installation of this package.
Now, on my system, with SP2010 installed, this is evaluating as false, because the installer is failing with the above message.
Is there a way to debug the Properties value at install-time? Or is there something stupid I'm doing?
Thanks.