Hi Rob,
Thanks for your answer.
Now I'm trying to add my new Component in a new Feature.
The problem is that I can't figure out where to add my Feature.
At the moment, I have only one Feature, and this Feature should always 
be installed.
The Feature I'd like to add should also always be installed.
I tried adding it as a new Feature at the same level as the first 
Feature, and I also tried adding it as a new leaf in the first Feature.
None of these configurations get my new feature to be installed. It 
seems that I can't install the new Feature.
Here are the confs I tried:

#1:
<Feature Id='Complete' Level='1'>
  <..... a bunch of existing components ....>
</Feature>
<Feature Id='Complete2' Level='1'>
  <ComponentRef Id='MY_NEW_COMPONENT' />
</Feature>

#2:
<Feature Id='Complete' Level='1'>
  <..... a bunch of existing components ....>
  <Feature Id='Complete2' Level='1'>
    <ComponentRef Id='MY_NEW_COMPONENT' />
  </Feature>
</Feature>

Any ideas?

Thanks again for your help.

Fred

Rob Mensching a écrit :
> I think the MSI SDK on "Minor Upgrades" confirms your observations:
>
>         A minor upgrade can be used to add new features and components but 
> cannot reorganize the feature-component tree.
>
> You'll need to add the new Components to a new Feature.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric 
> Viollet
> Sent: Thursday, April 24, 2008 06:30
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] adding a component on a minor upgrade
>
> Hi everyone,
>
> Is it possible to add a component to an installed feature through a
> minor upgrade?
> The component I'm trying to add contains two files. And it seems, by the
> behavior I'm experiencing, that the answer is *no*.
> Could someone confirm this?
>
> Point #1: The product, to which I'd like to add a component, upgrades
> well if I don't add the component...
>
> Point #2: If I try to add the component, I get the following behavior:
> the product upgrades without apparent errors. However, none of the files
> are updated, the "Add/Remove Programs" is updated with the new version
> name. And when I try to uninstall the upgraded version, the entry in
> "Add/Remove Programs" is removed *but* none of the files/services are
> removed.
>
> Point #3: Strangely, I have another product in which I already had added
> a Component in an installed feature without any problem. The only
> difference, is that the component I added only contained any entry
> <CreateFolder > (no Files)
>
> Thanks for your help.
>
> Fred
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> 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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to