[wix-users] moving UI code into a fragment in separate source file

Joseph L. Casale jcasale at activenetwerx.com
Sun Oct 1 00:02:02 PDT 2017


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
Of Alan Sinclair via wix-users
Sent: Saturday, September 30, 2017 10:30 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Alan Sinclair <anadem at gmail.com>
Subject: [wix-users] moving UI code into a fragment in separate source file

> I'm going to need to extend the installer UI so want to move that code into
> a separate source file, gui.wxs. I assume it will be a fragment but how do
> I reference it so it's included in the MSI? (Sorry, this feels like a
> really dumb question!)

Use an include preprocessor, see http://wixtoolset.org/documentation/manual/v3/overview/preprocessor.html
That literally inserts what's wrapped in the include element from the
referenced code into the spot the PP directive exists.


More information about the wix-users mailing list