You should not change the guid when moving between features. 

You would change it if you moved the component to another directory, which is
what you might be thinking of.

If you rearrange the feature-component tree then you can only use major
upgrades. You won't be able to create a small or minor update.

-----Original Message-----
From: Martin Kulov [mailto:[email protected]] 
Sent: 09 June 2011 15:30
To: wix-users
Subject: [WiX-users] moving component to another feature

Hi,

 

I have one component that I need to move from one feature to another. 

Should I change the component GUID in order to prevent orphaned files?

 

          <Directory Id="INSTALLLOCATION" Name="$(var.ProductName)">

            <Component Id="Comp1" Guid="{SOME-GUID}">

              <File Id="FL1" KeyPath="yes" Source="command.bat" />

            </Component>

          </Directory>

 

    <Feature Id='F1'

             Title="my feature"

             Level="110"

             AllowAdvertise="no"

             ConfigurableDirectory="INSTALLLOCATION" >

 

          <ComponentRef Id="Comp1" />

    </Feature>      

 

Thanks,

 

Martin Kulov

http://www.kulov.net

 

-----------------------------------------------------------------------------
-
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to