Here is a tip for those of you packaging Windows MSI installers using Visual Studio 2008's Package and Deployment project. The Package and Deployment project creates an MSI which supports the command line switch /qn to install silently. This is not enough however if the command line switch is not used. To ensure your MSI passes validation, open the Package an Deployment projects User Interface panel and remove all dialogues. This will allow the installer to run without asking the user to click through the dialogues. Hope this is helpful to anyone stuck on that part of validation. Best of luck!
For more complete information about compiler optimizations, see our Optimization Notice.