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 :-)

    <Property Id="SEARCHFORNET20">
         <RegistrySearch Id="RegistrySearch2" Root="HKLM" Type="raw"
Name="Install" Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727"/>
    </Property>

Thanks,
Erich.


Levi Wilson wrote:
> 
> Doesn't the <RegistrySearch /> 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 PROTECTED]> wrote:
>>
>>
>> Hi guys,
>> I have the following line, but even the folder exists on the registry,
>> Wix
>> says the opposite.
>>
>>     <Property Id="SEARCHFORNET20">
>>       <RegistrySearch Id="RegistrySearch2" Root="HKLM" Type="directory"
>> Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" />
>>     </Property>
>>
>> Is it possible that Wix 3.0 doesn't like the spaces in "NET Framework
>> Setup"?
>> Do you know how to solve it?
>>
>> Thank,
>> Erich.
>> --
>> View this message in context:
>> http://www.nabble.com/RegistrySearch-fails-in-Wix-3.0-tf3409533.html#a9498749
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/RegistrySearch-fails-in-Wix-3.0-tf3409533.html#a9499274
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to