If you edit the project file directly, you can do this.
In the
<ItemGroup>
<Compile Include="my file.wxs" />
</ItemGroup>
Section, just add another entry like this:
<Compile Include="<PathToFile>MySecondFIle.wxs"/>
Now, there is a catch. When you reload the project in VS, it's going to be
ugly.
VS will add a <Folder> tag for each folder in the relative path from your
project directory to the file. And it adds one folder entry for each level of
folder. For instance, I have a file that is two directories up from my project
file. So, when I open the project in VS, I have an empty folder for .., an
empty folder for ..\.., and a folder that is for ..\..\, but has the item in it.
Not pretty, but it works.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Rockwood
Sent: Thursday, February 08, 2007 12:28 PM
To: 'Mark Capaldi'; WiX-users@lists.sourceforge.net
Subject: Re: [WiX-users] Votive - Adding File as a Link
It's one of the things on my list to do, but linked files do not currently work
yet. Sorry about that.
Justin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Capaldi
Sent: Thursday, February 08, 2007 6:10 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Votive - Adding File as a Link
Hi,
I'm playing around with Votive v3.0.2211.0 in Visual Studio 2005 Team Edition
for Software Developers. I would like to add an existing item into my WiX
project as a link, but the dialog box doesn't have the drop down box on the Add
button like other projects. I can only Add files, which means that the file is
physically copied into the project folder on the file system
Is there any way to add files to a Votive projects as a link?
Regards,
Mark Capaldi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users