Archive for December, 2007

December 19th, 2007 at 11:23 am

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
setup1.jpg
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 setup2.jpg

December 4th, 2007 at 8:41 am

Windows media services

Install Microsoft Platform SDK for Windows Server 2003 R2

For Adding & starting, listing, deleting publishing points:

Following is the C# code -
wms.txt