Well I found my own answer faster than I thought :)

ObjectField

Stephen Tunney
Nuance Communications, Inc.
Solutions Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tun...@nuance.com<mailto:stephen.tun...@nuance.com>
519-880-7463      Office
NUANCE.COM
The experience speaks for itself (tm)

From: Tunney, Stephen [mailto:stephen.tun...@nuance.com]
Sent: December-30-14 4:25 PM
To: wix-devs@lists.sourceforge.net
Subject: [WiX-devs] How to access row/field@unresolvedData from Table object in 
melt

I have an Binary elements in my wxs files that looks like this:
  <Fragment Id="F.Core.CustomAction">
    <Binary Id="CustomActions.dll" 
SourceFile="!(bindpath.Root)out/$(var.VSPlatform)/$(var.Configuration)/Products/CustomActions.dll"
 />
  </Fragment>

And various BinaryKeys for CustomActions declared throughout.

The CustomAction DLL indeed gets included in the MSI in the Binary table:
<row sectionId="F.Core.CustomAction" 
sourceLineNumber="E:\Jenkins\workspace\Wasabi5_5.5_Installers\Installation\Platform\Platform.Core\Core.wxs*6">
<field>CustomActions.dll</field>
<field 
unresolvedData="!(bindpath.WASRoot)out/x64/Release/Products/CustomActions.dll">E:\Jenkins\workspace\Wasabi5_5.5_Installers\out/x64/Release/Products/CustomActions.dll</field>
</row>

Now in melt I am attempting to get access to the unresolvedData attribute of 
field[1] but the object model of Microsoft.Tools.WindowsInstaller.Xml.Field 
does not expose this value which I get access to via the 
Microsoft.Tools.WindowsInstaller.Xml.Pdb object with Pdb.Load (already used in 
melt).

So my question is, how do I gain access to the attribute via the object model?  
I'm trying to fix the bug in melt that does not re-base the files from the 
Binary table, nor does it extract them for comparison and inclusion into a 
patch.

Thanks!
Stephen Tunney
Nuance Communications, Inc.
Solutions Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tun...@nuance.com<mailto:stephen.tun...@nuance.com>
519-880-7463      Office
NUANCE.COM
The experience speaks for itself (tm)

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to