[wix-users] Command line to generate msi

Jon Earle earlej at hotmail.com
Mon Jan 8 13:31:00 PST 2018

Ours is built using a standard gnu makefile, excerpts as follows:

MSBUILD ?= C:/Program\ Files\ \(x86\)/MSBuild/14.0/Bin/MSBuild.exe
CYGWIN_MSBUILD = /cygdrive/$(subst :,,$(MSBUILD))

    $(CYGWIN_MSBUILD) /m "Wix/MyClient.sln" "/t:CustomActions;MSI" \
            /p:TargetFrameworkVersion=$(DOTNETFRAMEWORK) \
            /p:Configuration="Release" \

We have two targets (more, actually, but this gets you going) - one to build the custom actions dll (CustomActions) and the second to generate the MSI (MSI).  The properties "/p:xxx" are used within msbuild and/or the msi generation itself (particularly the TargetFrameworkVersion).  As well, we pass in a number of variables on the msbuild commandline (eg. OUTPUT_DIR).  Finally, we are building within a cygwin bash shell, so we adjust the path to make it happy (definition of CYGWIN_MSBUILD).

From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of madhusudhana rao Vadlamuri via wix-users <wix-users at lists.wixtoolset.org>
Sent: Monday, December 4, 2017 10:00 PM
To: WiX Toolset Users Mailing List
Cc: madhusudhana rao Vadlamuri
Subject: [wix-users] Command line to generate msi

Hi all,
any one have idea to generate msi from wix .sln using command line .

Please help on this
thank you

V.Madhusudhana Rao
Mobile    : +1-412-584-2411
Email      : vadlamuri.madhu at gmail.com.

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
WiX Support | WiX Experts and Resources from FireGiant<http://www.firegiant.com/>
WiX Support | Installation, Development, Deployment | WiX Experts and Resources from FireGiant

More information about the wix-users mailing list