You don't need to had the <SuppressIces/> element to your .wixproj first.
If you do not want to suppress ICE by default then don't include the <SuppressIces/> element. When you call MSBuild from the command line and specify /p:SuppressIces="..." you'll still get the behavior you want. Be aware that if you do add a <SuppressIces/> element to your .wixproj and you specify a different set of values on the command line, then the only ICE to get suppressed will be the ones specified on the command line. In other words, the values are not merged together. Also, MSBuild will not let you change a property set on the command line. Assume the .wixproj has <SuppressIces>ICE82;ICE03</SuppressIces> If you specify /p:SuppressIces="ICE01;ICE02" on the command line, then the only ICE suppressed are ICE01 and ICE02. If you want all four to be suppressed, then you'll need to specify all of them on the command line with /p:SuppressIces="ICE01;ICE02;ICE03:ICE82". Using the following in the .wixproj doesn't work because property values specified on the command line cannot be changed: <SuppressIces Condition=" '$(SuppressIces)' != '' ">$(SuppressIces);ICE82;ICE03</SuppressIces> <SuppressIces Condition=" '$(SuppressIces)' == '' ">ICE82;ICE03</SuppressIces> Edwin G. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----Original Message----- > From: Dirk Kuypers [mailto:kuypers.d...@gmail.com] > Sent: Friday, August 17, 2012 4:01 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] WiX Suppress ICE Validation When Using MSBUILD > At The Commandline > > Hi, > > I guess you need an initial property (it will not be there untill you add it > manually once) like the one below in your wixproj file: > <SuppressIces>ICE82;ICE03</SuppressIces > > After that you can override properties from the command line of MSBuild > like this: > msbuild /p:SuppressIces="ICE01;ICE02" /p:Configuration=Release > /p:Platform=x86 /t:rebuild your.wixproj > > HTH > Dirk > > 2012/8/16 Shaun Hayward <shayw...@omnivex.com>: > > Thanks, Palbinder > > > > That lead me to the problem. All of the settings for my wixproj were under > the Release configuration but MSBUILD was using the Debug configuration > because I hadn't told it to build Release. I'm good to go. > > > > Though since I did figure out how to specify preprocessor variables in the > MSBUILD commandline, it would be nice to know how to specify ICE > suppression through the MSBUILD commandline. > > > > Thanks again > > - Shaun > > > > > > > > > > > > Shaun Hayward | Senior Software Developer | Omnivex | 905.761.6640 ext > > 429 | www.omnivex.com > > > > -----Original Message----- > > From: Pally Sandher [mailto:pally.sand...@iesve.com] > > Sent: Thursday, August 16, 2012 6:44 AM > > To: General discussion for Windows Installer XML toolset. > > Subject: Re: [WiX-users] WiX Suppress ICE Validation When Using > > MSBUILD At The Commandline - Email found in subject > > > > Try using the "Suppress specific warnings" field in the individual wixproj > files where appropriate. > > > > Palbinder Sandher > > Software Platform Engineer > > T: +44 (0) 141 945 8500 > > F: +44 (0) 141 945 8501 > > http://www.iesve.com > > > > **Design, Simulate + Innovate with the <Virtual Environment>** > > Integrated Environmental Solutions Limited. Registered in Scotland No. > > SC151456 Registered Office - Helix Building, West Of Scotland Science > > Park, Glasgow G20 0SP Email Disclaimer > > > > > > -----Original Message----- > > From: Shaun Hayward [mailto:shayw...@omnivex.com] > > Sent: 15 August 2012 17:58 > > To: 'General discussion for Windows Installer XML toolset.' > > Subject: [WiX-users] WiX Suppress ICE Validation When Using MSBUILD At > > The Commandline > > > > Hi everyone > > > > I've got a Visual Studio solution that contains two WiX Projects. In Visual > Studio, I set the project properties to ignore the nearly-400 ICE30 output by > light. The WiX code was written by another programmer and I don't currently > have the time or the mandate to rewrite it so that it doesn't have any ICE > errors. > > > > We were previously building it with Candle and Light, thus allowing us to do > a -sice for ICE30. Right now, I'm trying to get it to work with MSBUILD at the > commandline since we are changing our build process. I've managed to find > all of the other commandline parameters I need through Google (such as > setting the preprocessor variables) but I can't figure out how to set the > parameter to suppress a specific ICE validation. > > > > Here are the two commandlines I've tried: > > > > MSBUILD "C:\Code\Moxie\Dev\6.10\Build Workflow\Installation\Moxie > WiX\Moxie WiX.sln" > /p:DefineConstants="BINARIESFOLDER=C:\Code\Moxie\Dev\6.10\Build > Workflow\Binaries;LIBRARYFOLDER=C:\Code\Moxie\Dev\6.10\Build > Workflow\Library;MANUALSFOLDER=C:\Code\Moxie\Dev\6.10\Build > Workflow\Manuals;RESOURCESFOLDER=C:\Code\Moxie\Dev\6.10\Build > Workflow\Installation\Installation > Resources;MODULEZIPSFOLDER=C:\Code\Moxie\Dev\6.10\Build > Workflow\Module > Zips;PRODUCTVERSION=6.255.1.1;";OutputDir="C:\Code\Moxie\Dev\6.10\B > uild Workflow\MSIs";sice="30" > > > > MSBUILD "C:\Code\Moxie\Dev\6.10\Build Workflow\Installation\Moxie > > WiX\Moxie WiX.sln" > > /p:DefineConstants="BINARIESFOLDER=C:\Code\Moxie\Dev\6.10\Build > > Workflow\Binaries;LIBRARYFOLDER=C:\Code\Moxie\Dev\6.10\Build > > Workflow\Library;MANUALSFOLDER=C:\Code\Moxie\Dev\6.10\Build > > Workflow\Manuals;RESOURCESFOLDER=C:\Code\Moxie\Dev\6.10\Build > > Workflow\Installation\Installation > > Resources;MODULEZIPSFOLDER=C:\Code\Moxie\Dev\6.10\Build > > Workflow\Module Zips;PRODUCTVERSION=6.255.1.1;" > > /p:OutputDir="C:\Code\Moxie\Dev\6.10\Build Workflow\MSIs" /p:sice=30 > > > > Any thoughts about what I'm doing wrong? > > > > Many thanks > > - Shaun > > > > The information in this e-mail is intended solely for the addressee and > access by anyone else is unauthorized. Omnivex accepts no liability for the > content of this e-mail, or for the consequences of any actions taken on the > basis of the information provided. Any views or opinions presented in this e- > mail are solely those of the author and do not necessarily represent those of > the company. Omnivex makes no warranties, express or implied and is not > responsible for errors or omissions. > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > > -------- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. > > Discussions will include endpoint security, mobile security and the > > latest in malware threats. > > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and threat > landscape has changed and how IT managers can respond. Discussions will > include endpoint security, mobile security and the latest in malware threats. > http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users