I had already a Feature table in my wxs file. I have changed the
Feature='DefaultFeature' to point to the existing feature. The below is gone
but I have a new error:
light.exe : error LGHT0130 : The primary key 'DefaultFeature/WebAppSettings' is
duplicated in table 'FeatureComponents'. Please remove one of the entries or
rename a part of the primary key to avoid the collision.
My current feature list is:
<Feature Id="DefaultFeature" Level="1"> <ComponentRef
Id="ApplicationFiles" /> <ComponentRef Id="ApplicationShortcuts" />
<ComponentRef Id="StartupShortcut" /> <ComponentRef
Id="WebAppSettings" /></Feature>
Any help is greatly appreciated since I am getting bored of this.Thanks.
> From: c...@live.com
> To: wix-users@lists.sourceforge.net
> Date: Tue, 17 Jun 2014 08:43:22 +0000
> Subject: Re: [WiX-users] How to make a condition that works both for silent
> and interactive install
>
> As far as I understood from the tutorial that you linked, I don't need
> <ComponentGroupRef Id="SimpleWebAppGroup" />
> so, I deleted it. But now I got
> light.exe : error LGHT0204 : ICE03: Not a valid foreign key; Table:
> FeatureComponents, Column: Feature_, Key(s): ProductFeature.WebAppSettings
> Here is the related code part:
> <Component Id='WebAppSettings' Guid='0a87956e-13e3-41f2-8e52-8b6ebc3c48a2'
> Feature='ProductFeature' Directory='SUBDIR' >
> <util:XmlFile Id='LaunchAppAfterInstall' Action='setValue'
> ElementPath='/configuration/system.web/launchApp/@mode'
> File='[SUBDIR]web.config' Value='[LAUNCH_APP]' /> <CreateFolder
> /></Component>
> Thanks.
> > Date: Mon, 16 Jun 2014 14:13:38 -0500
> > From: ecyo...@grandecom.net
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] How to make a condition that works both for silent
> > and interactive install
> >
> > Simple WebAppGroup refers to the items he build in his project. To
> > see what those items are you need to start at the beginning of the
> > tutorial. Just because it doesn't apply to your situation doesn't
> > mean it's not needed. Try building the tutorial from start to finish,
> > build it, make sure it works, then modify the working tutorial to fit
> > your needs.
> >
> > Carter
> >
> > Quoting Dolevo Jay <c...@live.com>:
> >
> > > But I am not using MVC4 project. Is there any tutorial for only wxs
> > > file? Otherwise could you please be more specific on what I should
> > > do for SimpleWebAppGroup in wxs file?
> > >
> > >> Date: Mon, 16 Jun 2014 13:45:32 -0500
> > >> From: ecyo...@grandecom.net
> > >> To: wix-users@lists.sourceforge.net
> > >> Subject: Re: [WiX-users] How to make a condition that works both
> > >> for silent and interactive install
> > >>
> > >> To find out where Simple WebAppGroup comes from, you must Follow the
> > >> entire tutorial you found, starting here:
> > >>
> > >> http://damienbod.wordpress.com/2013/09/02/wix-installer-for-mvc-project/
> > >>
> > >> Carter
> > >>
> > >> Quoting Dolevo Jay <c...@live.com>:
> > >>
> > >> > Hi,
> > >> > I followed the instructions in:
> > >> >
> > >> http://damienbod.wordpress.com/2013/09/09/wix-installer-with-parameter-configurations/
> > >> > There, they didn't mention about defining SimpleWebAppGroup.
> > >> > I have put my Component inside of ComponentGroup as follows:
> > >> > <ComponentGroup Id="SimpleWebAppGroup"><Component
> > >> > Id='WebAppSettings' Guid='0a87956e-13e3-41f2-8e52-8b6ebc3c48a2'
> > >> > Feature='ProductFeature' Directory='SUBDIR' > <util:XmlFile
> > >> > Id='LaunchAppAfterInstall' Action='setValue'
> > >> > ElementPath='/configuration/system.web/launchApp/@mode'
> > >> > File='[SUBDIR]web.config' Value='[LAUNCH_APP]' /><CreateFolder
> > >> > /></Component></ComponentGroup>
> > >> > Now I have another error like:
> > >> > light.exe : error LGHT0204 : ICE03: Not a valid foreign key; Table:
> > >> > FeatureComponents, Column: Feature_, Key(s):
> > >> > ProductFeature.WebAppSettings
> > >> > It should be related to the component that I have added.What could
> > >> > be wrong now?
> > >> > Thanks.
> > >> >
> > >> >> Date: Mon, 16 Jun 2014 04:58:18 -0700
> > >> >> From: phogl...@rimage.com
> > >> >> To: wix-users@lists.sourceforge.net
> > >> >> Subject: Re: [WiX-users] How to make a condition that works both
> > >> >> for silent and interactive install
> > >> >>
> > >> >> Where is the ComponentGroup Id="SimpleWebAppGroup" defined? To use a
> > >> >> <ComponentGroupRef Id="SimpleWebAppGroup" />
> > >> >>
> > >> >> There also needs to be a:
> > >> >>
> > >> >> <ComponentGroup Id="SimpleWebAppGroup">
> > >> >> with one or more Component elements defined.
> > >> >> <ComponentGroup>
> > >> >>
> > >> >>
> > >> >>
> > >> >> --
> > >> >> View this message in context:
> > >> >>
> > >> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-make-a-condition-that-works-both-for-silent-and-interactive-install-tp7595290p7595298.html
> > >> >> Sent from the wix-users mailing list archive at Nabble.com.
> > >> >>
> > >> >>
> > >> ------------------------------------------------------------------------------
> > >> >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk
> > >> >> Solutions
> > >> >> Find What Matters Most in Your Big Data with HPCC Systems
> > >> >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > >> >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > >> >> http://p.sf.net/sfu/hpccsystems
> > >> >> _______________________________________________
> > >> >> WiX-users mailing list
> > >> >> WiX-users@lists.sourceforge.net
> > >> >> https://lists.sourceforge.net/lists/listinfo/wix-users
> > >> >
> > >> >
> > >> >
> > >> ------------------------------------------------------------------------------
> > >> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk
> > >> > Solutions
> > >> > Find What Matters Most in Your Big Data with HPCC Systems
> > >> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > >> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > >> > http://p.sf.net/sfu/hpccsystems
> > >> > _______________________________________________
> > >> > WiX-users mailing list
> > >> > WiX-users@lists.sourceforge.net
> > >> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >>
> > >> ------------------------------------------------------------------------------
> > >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > >> Find What Matters Most in Your Big Data with HPCC Systems
> > >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > >> http://p.sf.net/sfu/hpccsystems
> > >> _______________________________________________
> > >> WiX-users mailing list
> > >> WiX-users@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > > ------------------------------------------------------------------------------
> > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > > Find What Matters Most in Your Big Data with HPCC Systems
> > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > > http://p.sf.net/sfu/hpccsystems
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users