mattdoyle
11-15-2006, 02:40 PM
I need to read a value of a registry key and then make a comparison and use that result as an installation requirement. Using the "System Requirements" wizard I can only detect the existence of the key but not it's contents. After much digging I discovered that the pre-defined searches in the requirements screen are contained in .ini files in the search folder and if I write my own as shown below I can key off of the value of a key.
My question is this, where is this documented?
There's clearly a number of different options that can be selected from; Now that I've learned how to make these custom searches I want to know what are the other kinds of searches I can do.
[Title0409]
Name=query name
Type=Registry
Desc=comment field
[AppSearch]
Signature_=NewRegSignature
Property=DWFOUND
[RegLocator]
Records=Reg1
[Reg1]
Signature_=NewRegSignature
Root=2
Key=Software\company name\app name
Name=Version
Type=2
[ExpressCondition0409]
Name=string display on screen
Condition=DWFOUND>="3.4.2"
Message=message when things fail
Thanks,
Matt
My question is this, where is this documented?
There's clearly a number of different options that can be selected from; Now that I've learned how to make these custom searches I want to know what are the other kinds of searches I can do.
[Title0409]
Name=query name
Type=Registry
Desc=comment field
[AppSearch]
Signature_=NewRegSignature
Property=DWFOUND
[RegLocator]
Records=Reg1
[Reg1]
Signature_=NewRegSignature
Root=2
Key=Software\company name\app name
Name=Version
Type=2
[ExpressCondition0409]
Name=string display on screen
Condition=DWFOUND>="3.4.2"
Message=message when things fail
Thanks,
Matt