I am trying to determine if a registry key exists, but the key is a
empty string.  If I change the string in the registry to contain
something, I get the correct value in my property.  If the registry
string is empty, I get an default value of the property.  It seems
there is no way to simply determine if the registry key exists.

Here is my wix code:

<Property Id   = "SN_898" Hidden="no" Value="Not Found">
  <RegistrySearch Id   = "Sn_Id"
    Root = "HKLM"
    Key  = "SOFTWARE\Microsoft\StrongName\Verification\*,B03F5F7F11D50A3A"
    Type = "raw"
    Win64 = "$(var.IS_WIN64)" />
</Property>

--Tom

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to