[wix-users] Can Component ID be shared between installers

Andreas Buchner Andreas.Buchner at inloox.com
Thu Apr 6 09:03:35 PDT 2017


No, that´s not correct.
Please read
http://robmensching.com/blog/posts/2003/10/4/windows-installer-components-introduction/
and
http://robmensching.com/blog/posts/2003/10/18/component-rules-101/


-----Ursprüngliche Nachricht-----
Von: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] Im Auftrag von Habib Salim
Gesendet: Donnerstag, 6. April 2017 17:52
An: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Betreff: Re: [wix-users] Can Component ID be shared between installers

I'm really new to Wix; still haven't built my first production installer yet, so I may be off.

By my limited understanding, each msi is independent. Therefore, as long they are separate MSI files, I don't see why you cannot use the same componentid in two different installers. 

For example, you could have a common fragments file that in included in each installer's main .wxs file (which would contain separate install
paths) This would make sense as you could be using third-party component libraries and have all such components in a shared components fragment file.

The question really would be what happens at Uninstall.  Even there, I think that the installer only removes files from the paths in the msi file.



-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Gerhard Matzen
Sent: Thursday, April 06, 2017 11:06 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Can Component ID be shared between installers

I component is uniquely identified by its component guid and its KeyPath.
As long as the component guid/keypath combination is different, then you are OK.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Simran Simpsons
Sent: Thursday, April 6, 2017 7:06 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Can Component ID be shared between installers

Hi All
I have two installers that are installing similar files but in different locations Component A is installed at C:\Program Files (x86)\ProductA Component B is installed at C:\Program Files (x86)\ProductB

The two MSIs are different. But Can i use the same component id for both the installers.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list