Bob -

Struggling here.  These two WiX configurations are throwing build errors.  I
don't want to create 2 separate component defs for x86 and x64.  Please help
:)

First configuration .. getting end tag errors:

            <?if $(loc.Win64)="yes" ?>
            <Component Id="C__kCEnt.ServiceModel.web.config"
Guid="{11220E4A-8FF8-4e7e-9A37-B7431253F808}" DiskId="1" Win64="yes">
            <?else ?>
            <Component Id="C__kCEnt.ServiceModel.web.config"
Guid="{11220E4A-8FF8-4e7e-9A37-B7431253F808}" DiskId="1">
            <?endif ?>
                <!-- Create <system.serviceModel> -->
                <util:XmlConfig    Id="XC__kCEnt.ServiceModel"
File="[KCENTERPRISE.ROOT.WEBDIR]web.config" Action="create" On="install"
                                ElementPath="//configuration"
Name="system.serviceModel" Node="element" VerifyPath="system.serviceModel"
                                Sequence="1"  />
            </Component>

Second configuration .. getting type mismatches:

            <Component Id="C__kCEnt.ServiceModel.web.config"
Guid="{11220E4A-8FF8-4e7e-9A37-B7431253F808}" DiskId="1"
Win64="$(loc.Win64)">
                <!-- Create <system.serviceModel> -->
                <util:XmlConfig    Id="XC__kCEnt.ServiceModel"
File="[KCENTERPRISE.ROOT.WEBDIR]web.config" Action="create" On="install"
                                ElementPath="//configuration"
Name="system.serviceModel" Node="element" VerifyPath="system.serviceModel"
                                Sequence="1"  />
            </Component>

Thanks.

- Troy

On Sat, Mar 14, 2009 at 1:20 PM, Bob Arnson <b...@joyofsetup.com> wrote:

> troy hostetter wrote:
> > Are there any recommendations on how to easily switch between x86 and x64
> > when building the MSI?
> >
>
> Use the InstallerPlatform property; it automatically sets the default
> for Package and Component. Use preprocessor to handle directories.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to