Use the Wix project properties to set the pre-processor variable to an
msbuild property e.g. SprintBuild=$(IsSprintBuild). You can initialise the
msbuild property via the build definition, an .rsp file, in tfsbuild.proj or
however you like.

-----Original Message-----
From: Robin66 [mailto:aliesch.r...@gmail.com] 
Sent: 26 February 2013 08:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] TFS2010 and Wix

Hi all,

We use TFS 2010 with VS2012 and use Wix for the Installers, now we have a
Bootstrapper that consists of 5 msi’s.
One of this msi is very big, so I only what it to be included in the
Bootstrapper if we do a “Sprintbuild” usually once a month.

At the Moment if have something like this in my Bundel.

<?if $(var.SprintBuild) = "1" ?>
 Include the Big MSI
 <?endif?>

This works ok, but I have to set the Variable SprintBuild manually to 1, so I
have to change the Variable manually to 1 under the Project Properties, do a
check in, Queue the Sprintbuild, set it back to 0 and check it back in.

Is there a way I can do this automatically, what would be the best way to do
something like this.

Thx a lot for your help.




--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/TFS2010-and-Wix
-tp7583944.html
Sent from the wix-users mailing list archive at Nabble.com.

-----------------------------------------------------------------------------
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to