Actually it is much simpler than that, I want to read the SQL port number from the registry and then open it in the firewall but to do the write I need the number without the hash.
Neil -----Original Message----- From: Richard [mailto:[EMAIL PROTECTED] Sent: 21 November 2008 19:00 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] RegistrySearch: remove # In article <[EMAIL PROTECTED]>, "Neil Sleightholm" <[EMAIL PROTECTED]> writes: > It there anyway to remove the hash (#) from the start of a > RegistrySearch if the value is a DWORD? I'm guessing the reason you want this is so that you can do numeric comparisons on a DWORD value in a condition? You could write a CA to adjust the property, but what I did when I wanted to write conditions on a DWORD read out of the registry is to just treat it as a string comparison. This may or may not be feasible in your case; in my case I only had to do equality comparisons for a small number of values. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/> ------------------------------------------------------------------------ - 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- 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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users