[wix-users] How to supply value of var argument of heat command while compiling in VS
Hoover, Jacob
Jacob.Hoover at greenheck.com
Tue Mar 20 07:43:01 PDT 2018
In the WixProj,
<PropertyGroup>
<DefineConstants>
$(DefineConstants);
OutDr=C:\Foo;
</DefineConstants>
</PropertyGroup>
I am sure there are other means of doing it, but as I am most comfortable with msbuild I go direct to the wixproj. This also allows you to property drive the variable, and be able to provide updated values from a cli build.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Ven H via wix-users
Sent: Tuesday, March 20, 2018 3:00 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Ven H <venh.123 at gmail.com>
Subject: [wix-users] How to supply value of var argument of heat command while compiling in VS
I am using Heat.exe to harvest a folder with some files. For the argument called "-var", I am providing a value "var.OutDir" and the heat output is generated. Now, I am trying to use this wxs file in my Visual Studio setup project. But, I am getting a compile error. I am not sure where to supply the value of Var argument in Visual Studio. I tried providing it in the Build tab of Project Properties in the Preprocessor variables and/ variables, but no luck. Because of this, I am not able to use heat output in Visual Studio. Can anyone please help?
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list