You could try looking at the msbuild files supplied with WiX, but the go/no-go 
data for linking depends on what compile did, so in reality it won't be 
straightforward to determine pre-compile what the decision will be at link.
AfterCompileAndLink fires after all cultures have been linked.

> Date: Sun, 25 Aug 2013 13:48:19 -0700
> From: phogl...@rimage.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] MSBuild wix project file - how to detect skipped and 
> specific culture
> 
> Is there a MSBuild Task or a method of conditioning one of the Targets that
> fires prior to Compile, so that my in-line task will not fire if linking is
> going to be skipped?
> 
> I notice that when I add a task to Target MsiSign that it does not file if
> linking is skipped (which is the behavior that I want to achieve with on of
> the Target that fires prior to Compile.  I know about Input and Output and I
> assume that they need to be set to something but I am not clear on how to
> define the Input group (which already exists obviously).
> 
> A related but different question is that the MSBuild property Cultures is a
> list of all cultures to build.  After linking is there a property that can
> detect in Target AfterCompileAndLink which indicates the specific culture
> that was just built?
> 
> 
> 
> --
> View this message in context: 
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MSBuild-wix-project-file-how-to-detect-skipped-and-specific-culture-tp7588418.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and 
> AppDynamics. Performance Central is your source for news, insights, 
> analysis and resources for efficient Application Performance Management. 
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to