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\Build > 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