My intention is to use RegistryValue element in InstallExecuteSequence.
What's the simple way of declaring RegistryValue element ?

I tried the following two approaches:
<!-- <Component>

<Registry>-->

<Property Id='SYSTEMROO'>

<RegistryValue Id="MAP_SQL_SERVER_Registry" Root="HKLM" Key="
SOFTWARE\Microsoft\MAP" Name="SQLSERVER" Value="[SQLSERVER]" Action="write"
Type="string" />

</Property>

<!-- </Registry>

</Component>-->
I got:
BUILD: Linking c:\map\private\map\installers\sql\mapdomaindata directory
Compiling - Candle (v2.0.4701.0) .\MapDomainDataDbSetup.wxs
MapDomainDataDbSetup.wixobj
errors in directory c:\map\private\map\installers\sql\mapdomaindata
c:\map\private\map\installers\sql\mapdomaindata\mapdomaindatadbsetup.wxs(166)
: error CNDL0005 : The
 Property element contains an unexpected child element 'RegistryValue'.

On Jan 29, 2008 10:28 PM, Bob Arnson <[EMAIL PROTECTED]> wrote:

> Ted Yu wrote:
>
>   What are parents of RegistryValue element ?
>
>             <RegistryValue Id="IWSWEBSITEIP_Registry"
>
> I tried Property and Component->Registry.
>
> Neither compiles.
>
>
> Which version of WiX? What error do you get? The parent elements are
> documented in WiX.chm:
>  Parents Component <http://wix_xsd_component.htm/>, 
> Registry<http://wix_xsd_registry.htm/>,
> RegistryKey <http://wix_xsd_registrykey.htm/>
>
> --
> sig://boBhttp://joyofsetup.com/
>
>
-------------------------------------------------------------------------
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