One more problem: My main WPF project spits out a .exe.config file in
the /bin/XYZ folder, but not in the /obj/XYZ folder. Currently there
don't seem to be any preprocessor variables that can get me to the /bin
folder. Is that correct?
I need to include that .exe.config file in the installer, otherwise a
key file for deployment will be missing.
Here's a snippet from my project as it is now:
<File Id="hp.obfuscated.exe.config" Name="hp.obf~2.exe"
LongName="hp.obfuscated.exe.config" Checksum="yes" Vital="yes"
Source="$(var.hp_obfuscated.TargetDir)\hp.obfuscated.exe.config">
</File>
-Oluf
-----Original Message-----
From: Justin Rockwood [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 3:32 PM
To: Nissen, Oluf; [email protected]
Subject: RE: (votive, wix, vsip, and all things microsoft) : Using
Votive with MSBuild
Adding the wix-devs mailing list so other people can benefit from your
question, since it's a good one. You have to manually configure the WiX
MSBuild tasks if you want to use MSBuild and Wix without installing
Votive/Visual Studio. The key is to have the WixTasks.dll and
wix.targets files copied to Program Files\MSBuild\Microsoft\WiX\v3.0
directory. You can now create an MSBuild file to compile/link your Wix
projects. At the end of your file you should add the following line:
<Import
Project="$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\wix.targets" />
The other alternative is to use the new Votive that will be released
very shortly (within the next couple of weeks). The new Votive has
support for MSBuild by having the .wixproj file be a native MSBuild
file. You could use Votive to create the .wixproj file for you with all
of the various options you want for the compiler/linker and then just
use that file on your Vista system without VS 2005 or Votive installed.
Let me know if you have any other questions.
Thanks,
Justin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, August 14, 2006 1:35 PM
To: Justin Rockwood
Subject: (votive, wix, vsip, and all things microsoft) : Using Votive
with MSBuild
Importance: High
Hi Justin,
I'm looking at creating an installer for my WPF-based project using the
Votive tools.
I was hoping that I could use Votive to create an integrated project for
Visual Studio 2005 on XP and then move the whole solution to Vista and
build it there using MSBuild. Unfortunately Votive won't install on
Vista without Visual Studio. And MSBuild doesn't seem to recognize how
to build the project, even if I install the WiX binaries (excluding
Votive). Is my only option to install Visual Studio on the Vista system?
I'd really like to not have to do that, since I get new Vista builds on
a very frequent basis. Installing VS 2005 add to the install time on
every rev I get of Vista.
I would appreciate any kind of guidance you may have.
Kind regards,
Oluf Nissen
----------------------------------
This message was generated from a contact form at:
http://blogs.msdn.com/jrock/default.aspx
Your contact information was not shared with the user.
-------------------------------------------------------------------------
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-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs