[wix-users] Make WiX Project work in Visual Studio & Build Machine
venh.123 at gmail.com
Fri Dec 27 07:36:08 PST 2019
Let me give some more detail. In my WiX project, I need to run Heat command
on a folder (not included in the project) and include the wxs content into
an empty file I have. Then I need to pass the name of the MSI (since it
should be configurable), the path of the MSI (since this also needs to be
configurable) and the Build Number (since this will be part of the MSI
name). I also need to pass the Product Version, since this will also have
Build number in it. Apart from this, I also need to pass the path of the
WiX binaries (downloaded). Even though, my machine has WiXToolSet installed
and Votive is also installed, I need to be able to build this project using
msbuild command. So, I have included all the above mentioned parameters as
properties (some as DefineConstants) in a separate targets file and have
imported this targets file into the wixproj file.
I want to be able to build the MSI both from Visual Studio and also from
command line using MSBuild. But I am having a hard time getting both
working at the same time. Any help would be appreciated.
On Fri, Dec 27, 2019 at 12:43 PM Ven H <venh.123 at gmail.com> wrote:
> I have a setup project in Visual Studio 2019. I use Heat command in that
> project. I followed the below link to make it working in build machine,
> which won't have VS or WiXToolSet installed.
> For this, I modified the .wixproj as per the link above. But now, it's no
> longer working in Visual Studio. Has anyone faced this issue? Has anyone
> had success in making a WiX project build successfully in Visual Studio as
> well as build machine? If so, please help.
More information about the wix-users