You can pass preprocessor variables ($(var.)) via the command line using "-d". You can also use $(env.) environment variables.
Tris Hodges wrote: > Hi, I am using TFS 2008 and wanted to know how I can access the > resulting build number to use in my Wix installer? > > I have overridden the BuildNumberOverrideTarget but cannot work out > how I can pass this in\access this within my Wix 3 project. Basically > I want to name the installer after the Build Number and reference it > within the installer text. I am sure someone has done this before but > couldn't find anything on the web. > > Any help appreciated. Thanks. > > > ------------------------------------------------------------------------ > Everything in one place. All new Windows Live! > <http://www.windowslive.co.uk/get-live> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users