Does anyone know how to check whether the key exists in the registry. The key 
doesn't contain any named values. It's empty.

I've been trying to use RegistrySearch.
According to http://msdn.microsoft.com/en-us/library/aa371171(VS.85).aspx if 
value of Name is null "then the value from the key's unnamed or default value, 
if any, is retrieved".
But I can't set empty value of the Name attribute according to the WiX schema 
limitations:
error CNDL0006: The RegistrySearch/@Name attribute's value cannot be an empty 
string.  If you want the value to be null or empty, simply remove the entire 
attribute.

When I remove Name attribute (as I suggested) WiX doesn't locates the key.

I'd appreciate for any ideas.

Ilya Serbis


------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to