I am using Votive in Visual Studio 2005.

        Can anyone tell me how I can configure my WXS file to pick up
DLLS to be deployed (with the <File> tag) from bin\Debug if the build
configuration is set to Debug, and bin\Release if its Release?

         

Adam,

 

Light uses the -b switch to specify the base directory to search for
files. This is set using the <LinkerBaseInputPaths> element in the
.wixproj file. You therefore shoud modify the .wixproj file with
something like:

 
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == ''
">Debug</Configuration>
    <ProductVersion>3.0</ProductVersion>
    <ProjectGuid>{b166672d-6329-4dd1-abc3-2e72d5e6e0a1}</ProjectGuid>
    <SchemaVersion>2.0</SchemaVersion>
    <OutputName>Identifier</OutputName>
    <OutputType>Package</OutputType>
    <WixToolPath>$(ProgramFiles)\Windows Installer XML
v3\bin\</WixToolPath>
    <LinkerBaseInputPaths>bin\$(Configuration)</LinkerBaseInputPaths>
  </PropertyGroup>


Regards,

John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to