Please send all replies to the mailing list so that everyone can benefit from
the answers and other people can offer help.

 

You can create a single Wix project that will include the code from both
solutions. Add a new Wix MSI project to the "main" solution (whichever that
is). 

Add the files created by both solutions into the .wxs file that is
automatically created. Make sure that the Wix project is last in the
solution's build order.

 

 

Solution ABC:

80 code projects

1 Wix project that outputs an MSI

            Product.wxs

 

Solution XYZ:

40 code projects

 

The product.wxs file will include many components:- some components will have
file elements where the Source attribute is pointing to the files created by
the XYZ solution and some components will have file elements where the source
attribute is pointing to files created by the ABC solution.

 

For example: 

<Component>

            <File Source="<path to output directory of ABC>/file1.dll" />

</Component>

<Component>

            <File Source="<path to output directory of ABC>/file2.dll" />

</Component>

...

<Component>

            <File Source="<path to output directory of XYZ>/fileA.dll" />

</Component>

<Component>

            <File Source="<path to output directory of XYZ>/fileB.dll" />

</Component>

...

 

The procedure is the same as for creating 1 solution containing 1 Wix
project. The difference is that some of your file elements will have source
attribute paths that point to files in the other solution.

 

This isn't the only way to do this, or the best, but it's simple.

 

From: Divyesh Ajmera [mailto:ajmera.divy...@gmail.com] 
Sent: 27 June 2011 11:50
To: Peter Shirtcliffe
Subject: Install package using multiple solutions

 


Hi Peter,

Sorry for a direct mail, i read your solution and tried to understand it a
bit, but dint succeed much.
here is my actual scenario:

I have two solutions, say abc.sln and xzy.sln
abc.sln has some 80 projects and xyz.sln has some 40+ projects.

Now what i want is to create a installation package using WIX project on VS
2010, using IDE, this package must include these both solutions and also
their respective projects.
what i have learned from studying is for single project we have to create a
.wxs file satisfying the schema and build the WIX project, it takes care
about creating .wixproj and .wixobj
but have no idea about doing the same for two solutions.
As per i know, it has to be done using .wxs file, but if uyou have some other
solution, kindly share.

kindly help in this respect.
Also it wolud be very helpful if you have any sample doing the same or any
link where i can get a reference.

-- 

Thanks,

Divyesh Ajmera

M: +91 81479 87986

     +91 76762 48064

 

E-mail: ajmera.divy...@gmail.com

</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com/sdl-vision";><img 
src="http://www.sdl.com/images/email_new_logo.png"; alt="www.sdl.com/sdl-vision" 
border="0"/></a>
<BR>
<font face="arial"  size="2"><a href ="http://www.sdl.com/sdl-vision"; 
style="color:005740; font-weight: bold">www.sdl.com/sdl-vision</a></font>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to