In my WiX 3.5 project I'm including a wxs file via a link. I.e., the wxs
file is not in the project folder, it is fairly far away in the folder
structure, and is included using Visual Studio's "Add as a link"
facility.

 

A specific example: 

 

My project is here:

D:\Merlinia\Trunk\OutBack5x\OutBack Server\WiX 3.5 Install\OutBack
Server - WiX.wixproj

 

I include the following file using "Add as a link":

D:\Merlinia\Trunk\Common5x\WiX Include files\LicenseAgreementKludge.wxs

 

This works fine, except for one strange side-effect. WiX creates two new
folders in which to place the obj file for the included file! Here is
where the obj file is placed:

D:\Merlinia\Trunk\OutBack5x\OutBack Server\Common5x\WiX Include
files\LicenseAgreementKludge.wixobj

 

In doing this it has created the two folders "Common5x\WiX Include
files". Which I would prefer that it didn't do - I would prefer that it
placed the obj file for the included file the same place as all of the
other obj files.

 

Is this a bug or a feature? Is it possible to avoid this? 

 

I've tried asking about this at StackOverflow, and got some suggestions,
but while they fixed the original problem they had side-effects of their
own that were even worse.

http://stackoverflow.com/questions/5235560/wix-creating-obj-file-in-stra
nge-place

 

Thanks in advance for any suggestions.

 

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to