A tip that may help Windows developers in their Visual Studio Package and Deployment projects. As we all know by now, we must include the CRT Runtime (C++ Runtime) in our MSI installer. When you add your CRT Merge modules (for debug and release), do not forget to add the corresponding policy merge modules. If you forget these, the CRT Runtime will not install correctly and you will experience a variety of error messages. Examples of policy files: policy_9_0_Microsoft_VC90_CRT_x86.msm policy_9_0_Microsoft_VC90_DebugCRT_x86.msm These policy files are "sometimes" automatically added as a dependency for you, but to be on the safe side double check that they are listed in the Solution Explorer for your Package and Deployment project. This same requirement for policy merge modules applies to MFC,ATL, etc.
For more complete information about compiler optimizations, see our Optimization Notice.