If you are looking for a specific SQL instance I tend to use this key 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL. 
The value in this key them directs you to the instance specific settings.

Neil

-----Original Message-----
From: Richard Mayes [mailto:caveman.d...@gmail.com] 
Sent: 19 May 2012 19:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error when doing a REG_MULTI_SZ registry search within 
Burn.

Thanks guy's. Unfortunately exists wouldn't work in my case as I needed to 
check whether an instance exists which is in the multi value. I managed to 
resolve it by checking whether the specific service exists.

I agree with Neil the docs are confusing and the intellisense is misleading as 
that mentions REG_MULTI_SZ specifically.

Richard Mayes
Blog: http://blog.slinkysoftware.com
Twitter: http://twitter.com/caveman_dick

On 19 May 2012 08:54, Neil Sleightholm <n...@x2systems.com> wrote:
> It looks like the documentation doesn't match this could you confirm which is 
> correct?
>
> This http://wix.sourceforge.net/manual-wix3/util_xsd_registrysearch.htm says 
> that util extension RegistrySearch supports @Format="raw" and mentions 
> REG_MULTI_SZ in the @ExpandEnvironmentVariables section but not specifically 
> in the Format attribute.
>
> This http://wix.sourceforge.net/manual-wix3/wix_xsd_registrysearch.htm says 
> the native RegistrySearch supports @Type="raw" and does include REG_MULTI_SZ 
> in the documentation.
>
> Neil
>
> -----Original Message-----
> From: Bob Arnson [mailto:b...@joyofsetup.com]
> Sent: 19 May 2012 00:40
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Error when doing a REG_MULTI_SZ registry search 
> within Burn.
>
> On 18-May-12 15:53, Richard Mayes wrote:
>> Error 0x80004001: Unsupported registry key value type. Type = '7'
>> RegistrySearchValue failed: 'SOFTWARE\Microsoft\Microsoft SQL 
>> Server', HRESULT 0x8000400
> Like MSI, Burn doesn't support getting the value of a multi-sz string.
> However, if all you want to do is check whether the registry value exists, 
> use @Result="exists".
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to