This works but is it supported?
<Property Id="USERNAME">
<RegistrySearch Id="RegUserName1" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows NT\CurrentVersion"
Name="RegisteredOwner" Type="raw" />
<RegistrySearch Id="RegUserName2" Root="HKLM"
Key="SOFTWARE\MyCompany\License" Name="RegisteredName" Type="raw" />
</Property>
What this does is set the property USERNAME to either the default value
from the CurrentVersion key or from my local application setting. As I
said in the initial question, it works but is it reliable, am I just
lucky?
Neil
Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users