[wix-users] DetectRelatedMsiPackage

Brian C Cooke tonic889 at gmail.com
Mon Jul 4 11:52:56 PDT 2016


Yes, that makes sense.  But my question is why is detectRelatedMsiPackage
event firing with the same package ID and different product codes?  It
seems like it is either a Wix bug or a bug in the way my packages are
authored.

Thanks,
Brian

On Fri, Jul 1, 2016 at 7:21 PM, Huy Doan <hdoan at vmware.com> wrote:

> I am not sure but from my understanding, the upgrade code is used to
> detect related components during the upgrade process. Two different
> products (different versions of the same product) would have different
> product codes. So upgrade code is there to show that who are related.
>
> I did a debugging at bundle level and see that product codes are used in
> dependencies.
>
> Hope this helps.
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Brian C Cooke
> Sent: Friday, July 1, 2016 11:25 AM
> To: wix-users at lists.wixtoolset.org
> Subject: [wix-users] DetectRelatedMsiPackage
>
> I have a bundle with two packages which have different product codes but
> the same upgrade code.  While installing a Major Upgrade in my custom BA,
> the DetectRelatedMsiPackage event is getting triggered once for each
> package but reporting the same product code both times.  e.g.
>
> e.ProductCode = <guid 1>, e.PackageId = package_name1
>
> and then
>
> e.ProductCode = <guid 1>, e.PackageId = package_name2
>
> Can anyone suggest why this is happening?  I would expect this event to be
> triggered once with Product Code 1, and again with Product Code 2.  I am on
> Wix 3.10.
>
> Thanks,
> Brian
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.firegiant.com_&d=CwICAg&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=dIns6fQ--MkFJxuBFYmMeQ&m=MvVc2rM0ZyMxr5n9twRgtJC1ILCWRVDWW-eNvxufA4I&s=bo_qvUPGn1zygLOrSt8TdGOlD5KNzrp7x7VsqJUTBhQ&e=
>


More information about the wix-users mailing list