Hi all,

 

I'm a new WiX user. I answered my own question on this, but I thought
I'd share given I didn't find any authoritative documentation on this.

 

Yes, It IS possible to create win32 side-by-side components containing
multiple DLL's. The key is that only one of the listed <File> elements
in the .wxs source should have the "Assembly", "AssemblyManifest", and
"KeyPath" attributes. If you try to add these to more than one element,
you will run into WiX validation errors.

 

Thus, your .wxs file will contain something like:

 

    <Component Guid="{xxx}" Id="MyComponent">

        <File Assembly="win32" AssemblyManifest="My.manifest"
Id="one.dll" Name="one.dll" Source="path\to\one.dll" KeyPath="yes"
Vital="yes" />

        <File Id="two.dll" Name="two.dll" Source=" path\to\two.dll"
Vital="yes" />

        <File Id="three.dll" Name="three.dll" Source="
path\to\three.dll" Vital="yes" />

        ...

        <File Id="My.manifest" Name="My.manifest" Source="
path\to\My.manifest" Vital="yes" />

        <File Id="My.cat" Name="My.cat" Source=" path\to\My.cat"
Vital="yes" />

    </Component>

 

 

Haw-Bin

---------------------------------------------------------------------------

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.

Tradeweb reserves the right to monitor and review the content of all messages 
sent
to or from this e-mail address. Messages sent to or from this e-mail address may
be stored on the Tradeweb e-mail system.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to