Re: [WiX-users] RegistrySearch fails in Wix 3.0

2007-03-15 Thread Stefan Krueger [MVP]
You cannot search for the existance of a registry KEY (folder icon in regedit), only for a value. Type "Directory" means that this value should be treated as a directory (with trailing backslash). -- Stefan Krueger Microsoft Windows Installer MVP Please post your questions in the newsgroup or

Re: [WiX-users] RegistrySearch fails in Wix 3.0

2007-03-15 Thread Erich Buhler
Yes, you're 100% right. if the default value is empty, then the answer is that the folder doesn't exist even if it does. I changed the example to ask for a value inside it, and it worked. I copy the new version for the sake of the community :-) Thanks, Erich. Levi Wilson wr

Re: [WiX-users] RegistrySearch fails in Wix 3.0

2007-03-15 Thread Levi Wilson
Doesn't the require that the @Name attribute be defined? Maybe you'll want to set the @Name equal to one of the registry values found in that key, such as the Install or something. Then, if SEARCHFORNET20 is set to anything, it exists. If not, then it doesn't. On 3/15/07, Erich Buhler <[EMAIL