Adding prerequisites of registry entry to setup projects
Right Click on Setup Project select View -> Launch conditions
Select Requirements on Target Machine
Right click and select Add Registry Launch conditon
Under Search Target Machine, Click Search for RegistryEntry1
Right Click and select Properties Window
Enter the Registry information - For example, If you are searching for Windows media server which has a registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OC Manager\Subcomponents
Give a friendly name for Name and Property
RegKey is the path that starts from SOFTWARE
Root is vsdrrHKLM - (HKLM for HKEY_LOCAL_MACHINE)
Value is the registry key, wms_manager

Close the property window
Now Right click Launch Conditions -> Codition1
Give a name for the condition
Under condition, specify the condition to check for. The name of the condition should be same as the one specified in search conditions
Specify a error message 


