[wix-devs] Module formatting conversion

Christopher Painter chrpai at iswix.com
Sat Dec 17 15:38:02 PST 2022


Quick test. In v3, the Package element is required to have Manufacturer attribute so compiling code will always end up creating a SummaryInformation element after conversion.  It will contain at least the Manufacturer attribute.

That said, in v4, removing the SummaryInformation element is allowed and it'll build an MSM with an empty Author in the summary information stream.

Before:
<Module Id="ProductName3MM" Language="1033" Version="1.0.0.0">
  <Package Id="491e5a50-c45d-4d3b-a0f8-5f8ff040d898" Manufacturer="ProductName3MM" />

After:
<Module Id="ProductName3MM" Language="1033" Version="1.0.0.0" Guid="491e5a50-c45d-4d3b-a0f8-5f8ff040d898">
  <SummaryInformation Manufacturer="ProductName3MM" />


________________________________
From: Christopher Painter <chrpai at iswix.com>
Sent: Saturday, December 17, 2022 4:59 PM
To: wix-devs <wix-devs at lists.wixtoolset.org>
Cc: Ron Martin <cpuwzd at comcast.net>
Subject: Re: [wix-devs] Module formatting conversion

I'd be happy to work with you today.  @chrpai on twitter.

>From what I've seen, if any of the attributes in the old element are non default values then that causes the new element to have to exist.  Otherwise it's omitted for simplicity.

________________________________
From: wix-devs <wix-devs-bounces at lists.wixtoolset.org> on behalf of Ron Martin via wix-devs <wix-devs at lists.wixtoolset.org>
Sent: Saturday, December 17, 2022 4:54 PM
To: wix-devs <wix-devs at lists.wixtoolset.org>
Cc: Ron Martin <cpuwzd at comcast.net>
Subject: [wix-devs] Module formatting conversion

I think I have found the main piece of code that I need:
ConvertModuleElement.

Ron Martin
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-devs mailing list