I just had another random thought on a potential feature that may make Burn a
bit more robust. Specifically, I was pondering the usefulness of a Condition
attribute on a MsiProperty element. Utilizing WixStdBA, there isn't an easy way
to conditionally set a wix variable based on other wix variables. On Wix-Users
there was a request on how to apply language transforms via burn so they could
localize their shortcuts. If burn supported conditional MsiProperty elements,
this could have been done with something like:
<MsiPackage ...>
<MsiProperty Name="TRANSFORM" Value=":german.mst" Condition="
SystemLanguageID = 1031" />
<MsiProperty Name="TRANSFORM" Value=":french.mst" Condition="
SystemLanguageID = 1036" />
<MsiProperty Name="TRANSFORM" Value=":japanese.mst" Condition="
SystemLanguageID = 1041" />
<MsiProperty Name="TRANSFORM" Value=":swahili.mst" Condition="
SystemLanguageID = 1089" />
<MsiProperty Name="TRANSFORM" Value=":english.mst" Condition="
(SystemLanguageID <> 1031) AND (SystemLanguageID <> 1036) AND (SystemLanguageID
<> 1041) AND (SystemLanguageID <> 1089)" />
</MsiPackage>
I'm thinking this wouldn't be hard to implement, and was wondering if a
feature like this interests anyone else. Are there any hidden gotcha's that I
may be overlooking?
Thanks,
Jacob
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs