The way we have it set up is we have the Custom Action project as well as the 
Wix project in the same solution.  The build order is set so that the Custom 
Action project builds BEFORE the WiX project.  We then reference the built 
"CA.dll" using relative path to the Custom Action folder.  Works without a 
hitch.

-----Original Message-----
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Tuesday, March 30, 2010 2:48 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX, Votive, installed files and incremental builds


In Visual Studio, you can set a Build Order for your projects (assuming that
they're all in the same solution). That way, your custom actions will be
built before your WiX files, assuring you that they're always up to date.
You can't, as far as I know, directly reference a custom action project in a
WiX project. You have to reference the built "CA.dll" file with a Binary
element in your WiX markup via a file path.
   You don't have to have everything in the same solution, as long as you
don't mind building separate solutions (or using MSBuild directly). All that
matters is that things are built in the right order and that the paths in
your WiX elements (Binary, File, etc.) point to the right things.
--
View this message in context: 
http://n2.nabble.com/WiX-Votive-installed-files-and-incremental-builds-tp4825468p4826418.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

The information contained in this message may be confidential and legally 
protected under applicable law. The message is intended solely for the 
addressee(s). If you are not the intended recipient, you are hereby notified 
that any use, forwarding, dissemination, or reproduction of this message is 
strictly prohibited and may be unlawful. If you are not the intended recipient, 
please contact the sender by return e-mail and destroy all copies of the 
original message.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to