Thanks Rob for your reply. I did it using custom actions.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Friday, September 12, 2008 2:47 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Reading the registry entries - Facing an interesting 
problem

Windows Installer has very poor read-MULTI_SZ operations.  You'll probably be 
stuck with a custom action... unfortunately.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mukesh Agrawal
Sent: Thursday, September 11, 2008 08:53
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Reading the registry entries - Facing an interesting 
problem


Hi,

Refer to the attached image.

In a registry entry, we can have many Registry Values for a key.
For example, I have 3 values for the key Softwares\Microsoft\Microsoft SQL 
Server\Instance Names\SQL.
I don't know the "Names" of these Registry Values and I want to check every 
Values of this key. Also, I don't know the number of such values for a 
particular key beforehand. Is there any way to get these Values in wix?

In my investigation what I have found is, in this case, I can get the Names for 
all possible values of this key from another registry entry.
But the problem is, all these names are stored in "space separated string"  or 
REG_MULTI_SZ  format. Is there any way to parse this string and get names from 
this (in wix). Also, how do I know the count of such names because I will need 
those many properties for making a registry search.

Thanks
Mukesh Agrawal.
-------------------------------------------------------------------------
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


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

Reply via email to