Can anyone tell me if the following is a bug or if it is intended
behaviour. Im using wix 3.0.5419.0.
 
Ive been trying making a patch with non-default validation flags. I
wanted to compare only the first 2 fields of the product version instead
of the default (first 3 fields).
I set the validation flags in torch using -val switches on the torch
command line and make a wixmst from 2 admin images. Then I run candle,
light and pyro to produce the patch. 
No matter which switches are used on the torch command line, the patch
validation flags are always equal to the patch default ones. I had a
look at the source code and I think the reason is that pyro always
overrides the flags set by torch. In
compiler.cs:ParsePatchBaselineElement(), one of the first lines sets the
flags to the patch default flags, then if there is a Validate element,
it overrides those defaults. If there is not a Validate element, the
flags remain at the default values. However the values set by torch have
already been lost. Should pyro be overriding the values set by torch
when there is no Validate element ?
 
Clearly the workaround is to use a Validate element but it was easier
for me to change the torch command line in one place than several
patch.wxs files.
 
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email 
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com"; 
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
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.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
</font>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to