You actually want to use the WiX warning number in the SuppressWarnings
field/element, not the number that is used in the VS Errors window. Most WiX
warnings and errors have a unique number.
Eg:
warning LGHT1079: The cabinet 'WixProject1.cab' does not contain any files. If
this installation contains no files, this warning can likely be safely ignored.
Otherwise, please add files to the cabinet or remove it.
The error number is 1079 for the example above. This information is printed in
the Output window when building in VS. You should look at the output window to
determine the warning number for the warnings that you want to suppress and
then add them to the <SuppressSpecificWarnings>1079</SuppressSpecificWarnings>
field.
From: Robert O'Brien
Sent: Friday, April 11, 2008 12:57 PM
To: Jordan Fitzgibbon; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] format of wix project "suppress specific warnings"
text box
Fyi - I ended up with three additional warnings showing up which were getting
numbered as 1, 2 and 3. I tried adding 11;12;13 to my
SuppressSpecificWarnings element, e.g. 1;2;3;4;5;6;7;8;9;10;11;12;13, but that
didn't help. I added 1;2;3;4;5;6;7;8;9;10;1;2;3; and that did so it seems the
warning numbers cycle once you suppress existing ones and suppressing the new
ones involves starting at 1 again..
From: Robert O'Brien
Sent: Thursday, April 10, 2008 8:24 PM
To: Jordan Fitzgibbon; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] format of wix project "suppress specific warnings"
text box
Thanks. Adding
<SuppressSpecificWarnings>1;2;3;4;5;6;7;8;9;10</SuppressSpecificWarnings> to
the project did the trick.
From: Jordan Fitzgibbon
Sent: Thursday, April 10, 2008 6:14 PM
To: Robert O'Brien; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] format of wix project "suppress specific warnings"
text box
The format is supposed to be:
<warning number>(;<warning number>)*
In your case, just put 9 in the text box.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert O'Brien
Sent: Thursday, April 10, 2008 6:01 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] format of wix project "suppress specific warnings" text box
What is the format of of the wix project "suppress specific warnings" text box,
e.g. I'd like to enter something there that suppresses the following warning
that my sources are generating which as I understand it relates to a known bug
that will cause this warning not to occur in some future build.
Warning 9 The 'Win64' attribute is invalid - The value '$(var.Win64)' is
invalid according to its datatype
'http://schemas.microsoft.com/wix/2006/wi:YesNoType' - The '$' character,
hexadecimal value 0x24, cannot be included in a name.
/tia
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users