<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>About Web Services and C++ on Windows platform : VC++ Libraries Deployment</title><link>http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx</link><description>Tags: VC++ Libraries Deployment</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>VS2005 SP1 does update VC++ redistributable MSMs in \common files\merge modules</title><link>http://blogs.msdn.com/nikolad/archive/2007/06/06/vs2005-sp1-does-update-vc-redistributable-msms-in-common-files-merge-modules.aspx</link><pubDate>Thu, 07 Jun 2007 03:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3129406</guid><dc:creator>NikolaD</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/3129406.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=3129406</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=3129406</wfw:comment><description>I thought I should write a short post on this issue. It had been discussed before on forums and in bugs. Long story short, VS2005 SP1 does update all VC++ redistributable MSMs in \Program Files\Common Files\Merge Modules. Or I guess I should say, it is...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2007/06/06/vs2005-sp1-does-update-vc-redistributable-msms-in-common-files-merge-modules.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3129406" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>VS2005 SP1 version of Visual C++ Redistributable Package is available for download.</title><link>http://blogs.msdn.com/nikolad/archive/2007/04/23/vs2005-sp1-version-of-visual-c-redistributable-package-is-available-for-download.aspx</link><pubDate>Tue, 24 Apr 2007 01:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2250978</guid><dc:creator>NikolaD</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/2250978.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=2250978</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=2250978</wfw:comment><description>Actually it has been available for download for several days now, but I was looking on Orcas features and completely forgot to mention it on my blog. Here they are: Visual C++ 2005 SP1 Redistributable Package (x64) Visual C++ 2005 SP1 Redistributable...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2007/04/23/vs2005-sp1-version-of-visual-c-redistributable-package-is-available-for-download.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2250978" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>A solution to two references to different versions of CRT, MFC, ATL in one application manifest file</title><link>http://blogs.msdn.com/nikolad/archive/2007/03/29/a-solution-to-two-references-to-different-versions-of-crt-mfc-atl-in-one-application-manifest-file.aspx</link><pubDate>Thu, 29 Mar 2007 23:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1990873</guid><dc:creator>NikolaD</dc:creator><slash:comments>24</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/1990873.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=1990873</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=1990873</wfw:comment><description>I have received several questions about a case when developers find two or more references to different versions of CRT or MFC or ALT libraries in application manifest. In this post I am describing root cause of the issue, the solution to the problem and possible workarounds....(&lt;a href="http://blogs.msdn.com/nikolad/archive/2007/03/29/a-solution-to-two-references-to-different-versions-of-crt-mfc-atl-in-one-application-manifest-file.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1990873" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Q&amp;A on adapting VS2005 SP1 to build your applications</title><link>http://blogs.msdn.com/nikolad/archive/2007/02/09/q-a-on-adapting-vs2005-sp1-to-build-your-applications.aspx</link><pubDate>Sat, 10 Feb 2007 05:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1639729</guid><dc:creator>NikolaD</dc:creator><slash:comments>10</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/1639729.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=1639729</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=1639729</wfw:comment><description>When VS2005 SP1 has been released, because of manifests it become more visible what version of VC++ DLLs are used at runtime by applications built with SP1. Devs have noticed that once they have built their application with VS2005 SP1, it wants to load...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2007/02/09/q-a-on-adapting-vs2005-sp1-to-build-your-applications.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1639729" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Silent installs of VCRedist.EXE shipped with VS2005</title><link>http://blogs.msdn.com/nikolad/archive/2007/02/08/silent-installs-of-vcredist-exe-shipped-with-vs2005-rtm.aspx</link><pubDate>Thu, 08 Feb 2007 21:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1628836</guid><dc:creator>NikolaD</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/1628836.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=1628836</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=1628836</wfw:comment><description>Aaron has a post on his blog that describes way of silent install of VCRedist.EXE. I though I would cross-link it from my blog in case some folks are interested in this information. Here is the link http://blogs.msdn.com/astebner/archive/2007/02/07/update-regarding-silent-install-of-the-vc-8-0-runtime-vcredist-packages.aspx...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2007/02/08/silent-installs-of-vcredist-exe-shipped-with-vs2005-rtm.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1628836" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Junfeng Zhang describing ways of diagnosing SxS failures</title><link>http://blogs.msdn.com/nikolad/archive/2006/08/28/SxSTrace.aspx</link><pubDate>Tue, 29 Aug 2006 02:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:729109</guid><dc:creator>NikolaD</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/729109.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=729109</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=729109</wfw:comment><description>Junfeng has an interesting walkthrough on how diagnose SxS failures and brief introduction of new tool available on Vista. One may find it here, http://blogs.msdn.com/junfeng/archive/2006/04/14/576314.aspx.
...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2006/08/28/SxSTrace.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=729109" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Norton WinDoctor errors about msvcr80.dll</title><link>http://blogs.msdn.com/nikolad/archive/2006/06/28/WinDoctorErrors.aspx</link><pubDate>Thu, 29 Jun 2006 03:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:650274</guid><dc:creator>NikolaD</dc:creator><slash:comments>42</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/650274.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=650274</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=650274</wfw:comment><description>Norton WinDoctor issuing errors about msvcr80.dll missing for files in .Net Framework 2.0 (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\) or Visual Studio 2005. These errors can safely be ignored. Please do not copy msvcr80.dll or any other dlls to System32 or C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ folders...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2006/06/28/WinDoctorErrors.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=650274" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Applocal deployment of MFC localized resource DLLs</title><link>http://blogs.msdn.com/nikolad/archive/2006/04/24/Applocal-deployment-of-MFC-localized-resource-DLLs-in-VS2005.aspx</link><pubDate>Tue, 25 Apr 2006 03:28:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582558</guid><dc:creator>NikolaD</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/582558.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=582558</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=582558</wfw:comment><description>It was pointed out to me that it is not clear from Docs how to redistribute MFC localized DLLs with MFC application in application local folder. This post contains short example of application local deployment of MFC localized resource DLLs. ...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2006/04/24/Applocal-deployment-of-MFC-localized-resource-DLLs-in-VS2005.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=582558" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/MFC/default.aspx">MFC</category></item><item><title>Visual C++ 2005 Redistributable Package is released to the web</title><link>http://blogs.msdn.com/nikolad/archive/2006/04/11/Download-location-for-VCRedist.aspx</link><pubDate>Tue, 11 Apr 2006 19:55:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:573483</guid><dc:creator>NikolaD</dc:creator><slash:comments>19</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/573483.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=573483</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=573483</wfw:comment><description>VCRedist.exe can now be downloaded from the Microsoft site. This package contains VS2005 RTM versions of all VC libraries – OpenMP, MFC, ATL, CRT, MSDIA. You may use this exe to to make an application built with VC++ Express run on a computer that does not have VC++ 2005 Express installed. 

...(&lt;a href="http://blogs.msdn.com/nikolad/archive/2006/04/11/Download-location-for-VCRedist.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=573483" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Embed manifest with makefiles in VS2005</title><link>http://blogs.msdn.com/nikolad/archive/2006/03/23/Example-on-how-change-existing-makefiles-to-embed-manifest.aspx</link><pubDate>Thu, 23 Mar 2006 22:04:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:559183</guid><dc:creator>NikolaD</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/559183.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=559183</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=559183</wfw:comment><description>It is pointed out to me that MSDN example on how to embed manifest is focused on changes into one makefile. In this post I outline how one can change many existing makefiles to embed manifest....(&lt;a href="http://blogs.msdn.com/nikolad/archive/2006/03/23/Example-on-how-change-existing-makefiles-to-embed-manifest.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=559183" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/nikolad/attachment/559183.ashx" length="1281" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category></item><item><title>VS2005 docs are online!</title><link>http://blogs.msdn.com/nikolad/archive/2005/10/19/482736.aspx</link><pubDate>Wed, 19 Oct 2005 21:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:482736</guid><dc:creator>NikolaD</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/482736.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=482736</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=482736</wfw:comment><description>&lt;P&gt;&amp;nbsp;I would like to let readers know that most of material that I have on my blog in regard of Fusion and VC++ libs, manifests and other side-by-side things, all or most of this is already available in a form of VC++ docs online on &lt;A href="http://msdn2.microsoft.com"&gt;http://msdn2.microsoft.com&lt;/A&gt;. It is actually online for quite some time, but it looks like folks still do&amp;nbsp; not know about this site. Let me give you some overview of topics:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Deployment section (&lt;A href="http://msdn2.microsoft.com/en-us/library/zebw5zk9(en-US,VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/zebw5zk9(en-US,VS.80).aspx&lt;/A&gt;) 
&lt;UL&gt;
&lt;LI&gt;Deeply hidden before, this section was brought up to the top level and contains answers to questions on how to deploy VC++ applications to another computer. It goes over practices, different deployment model (&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235316(en-US,VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235316(en-US,VS.80).aspx&lt;/A&gt;) and examples (&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235285"&gt;http://msdn2.microsoft.com/en-us/library/ms235285&lt;/A&gt;)&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Building SxS C++ Apps and assemblies (&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235532(en-US,VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235532(en-US,VS.80).aspx&lt;/A&gt;) 
&lt;UL&gt;
&lt;LI&gt;Contains general information on manifest in C++ apps and&amp;nbsp;dlls. Also high level description of how manifest is generated by VC++ IDE.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I would like to&amp;nbsp;specifically&amp;nbsp;mention two&amp;nbsp;topics that should answer two most frequent questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;how to embedded manifest inside a binary using makefiles (&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235591(en-US,VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235591(en-US,VS.80).aspx&lt;/A&gt;)&amp;nbsp; 
&lt;LI&gt;troubleshooting (&lt;A href="http://msdn2.microsoft.com/en-us/library/ms235342(en-US,VS.80).aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235342(en-US,VS.80).aspx&lt;/A&gt;). &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Hope this may help you find information you are looking for. Also I would like to mention that Martyn has moved his blog to a new location (&lt;a href="http://blogs.msdn.com/martynl/"&gt;http://blogs.msdn.com/martynl/&lt;/A&gt;). One of his recent posts describes in details why VC++ had to change deployment model for VC++ DLLs, &lt;a href="http://blogs.msdn.com/martynl/archive/2005/10/13/480880.aspx"&gt;http://blogs.msdn.com/martynl/archive/2005/10/13/480880.aspx&lt;/A&gt;. Take a look and feel free to ask any questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=482736" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Running C++ application built by VC++ Express on another computer</title><link>http://blogs.msdn.com/nikolad/archive/2005/09/02/running-c-application-built-by-vc-express-on-another-computer.aspx</link><pubDate>Sat, 03 Sep 2005 05:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:460368</guid><dc:creator>NikolaD</dc:creator><slash:comments>42</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/460368.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=460368</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=460368</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Another FAQ from VC++ Express users is: "I give my VC++ application to my friend, and it does not run on her computer." This happens because VC++ Dlls have to be redistributed to another computer together with this application. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;There are three ways to get an application built with VC++ Express 2005 to run on another computer that does not have VC++ Express installed:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Ask user&amp;nbsp;of&amp;nbsp;that computer to install&amp;nbsp;&amp;nbsp;Visual C++ Redistributable Package (VCRedist_x86.exe) to install all Visual C++ libraries as shared side-by-side assemblies into the native assembly cache (WinSxS folder). This package can be downloaded from the Microsoft download site &lt;A onclick="javascript:Track('ctl00_LibFrame_ctl01|ctl00_LibFrame_ctl10',this);" href="http://go.microsoft.com/fwlink/?linkid=65127&amp;amp;clcid=0x409"&gt;Microsoft Visual C++ 2005 Redistributable Package (x86)&lt;/A&gt;. Redistributing Visual C++ libraries using this package is recommended for applications built with Visual C++ Express.&lt;/P&gt;
&lt;LI&gt;
&lt;P&gt;Build another installer of VC++ libraries using Redistributable Merge Modules installed by VC++ Express into Common Files\Merge Modules. I am describing this approach below in more details. &lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Statically link your application to VC++ libraries.&amp;nbsp; I recommend against statically linking because static linking prevents your application from running against the most up todate version of VC++ libraries installed on your computer. For example, consider an application that is statically linked to a particular library, running on a client computer with a new version of this library. The application still uses code from the previous version of this library, and does not benefit from library improvements, such as security enhancements.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;So if you have decided that you cannot use&amp;nbsp; &lt;A onclick="javascript:Track('ctl00_LibFrame_ctl01|ctl00_LibFrame_ctl10',this);" href="http://go.microsoft.com/fwlink/?linkid=65127&amp;amp;clcid=0x409"&gt;Microsoft Visual C++ 2005 Redistributable Package (x86)&lt;/A&gt;&amp;nbsp;and wisely avoid statically linking to VC++ libraries, you may build a custom MSI that deployes VC++ libraries using&amp;nbsp; four merge modules with CRT library installed by VC++ Express. In my case there are installed in D:\Program Files\Common Files\Merge Modules\:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face=Arial color=#000080&gt;D:\Program Files\Common Files\Merge Modules\&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;microsoft_vc80_crt_x86.msm&lt;BR&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;policy_8_0_microsoft_vc80_crt_x86.msm&lt;BR&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;microsoft_vc80_debugcrt_x86.msm&lt;BR&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;policy_8_0_microsoft_vc80_debugcrt_x86.msm&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;Clearly I assume that you have read the EULA and redist.txt and do understand that redistribution of debug applications is not allowed. You can simulate redist of debug binaries in your office, but if it goes outside to another computer, it must be application build in Release mode. So please read the EULA and redist.txt carefully and understand what you can and what you cannot redistribute. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;I am going to show now how to one can use MSMs to install VC++ DLLs to another computer. I have VC++ Express installed on my computer and I want to make it run on another computer that does not have VC++2005 installed. Here is what I do:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;1. I download WIX from sourceforge.net, here is the link &lt;A href="http://sourceforge.net/projects/wix" mce_href="http://sourceforge.net/projects/wix"&gt;http://sourceforge.net/projects/wix&lt;/A&gt; . More specific I am going to download from this link, &lt;A href="http://prdownloads.sourceforge.net/wix/binaries-2.0.3220.0.zip?download" mce_href="http://prdownloads.sourceforge.net/wix/binaries-2.0.3220.0.zip?download"&gt;http://prdownloads.sourceforge.net/wix/binaries-2.0.3220.0.zip?download&lt;/A&gt; but you may use another build of WiX, perhaps more recent or older then one I use. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;2. I am going to unzip this package to D:\WiX\ &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;3.Now I am going to open Visual Studio 2005 Command Prompt (Start&amp;gt;All Programs&amp;gt;Visual C++ 2005 Express Edition&amp;gt;Visual Studio Tools&amp;gt;Visual Studio 2005 Command Prompt) &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;4. I am typing uuidgen –n2 and click Enter. This generates two UUIDs for me that I am going to use later in Step 6. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;5. Now I am going to create two XML files in D:\WiX. First VCCRT.wxi, second VCCRT.wxs. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;6. First, I am creating D:\WIX\VCCRT.wxi with the following content :&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt"&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face=Arial color=#0000ff&gt;&amp;lt;Include&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff"&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;?define PRODUCT_ID=!!!! REPLACE WITH &lt;B style="mso-bidi-font-weight: normal"&gt;UUID1&lt;/B&gt; FROM STEP 4 !!!! ?&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff"&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;?define PACKAGE_ID=!!!! REPLACE WITH &lt;B style="mso-bidi-font-weight: normal"&gt;UUID2&lt;/B&gt; FROM STEP 4 !!!! ?&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffffff" face=Arial color=#0000ff&gt;&amp;lt;/Include&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;I style="mso-bidi-font-style: normal"&gt;&lt;U&gt;Attn: I am going to use two UUIDs generated for me by uuiedgen.exe in the Step 4 to define PRODUCT_ID and PACKAGE_ID. On purpose, I am not listing UUID generated for me, so to help readers of this article avoid using same UUID as someone else.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/U&gt;&lt;/I&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;7. Second, I am creating D:\WIX\VCCRT.wxs with following content&lt;/P&gt;&lt;FONT face=Arial color=#0000ff&gt;&lt;/FONT&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 1pt; BORDER-LEFT: medium none; PADDING-TOP: 1pt; BORDER-BOTTOM: windowtext 1pt solid; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt"&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial color=#0000ff&gt;&amp;lt;?xml version='1.0'?&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial color=#0000ff&gt;&amp;lt;?include $(sys.SOURCEFILEDIR)\VCCRT.wxi ?&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial color=#0000ff&gt;&amp;lt;Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Product Id='$(var.PRODUCT_ID)' &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Name='MSI to redistribute my app' &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 3"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Language='1033' Version='1.0.0.0' Manufacturer='Me'&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Package Id='$(var.PACKAGE_ID)' &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Description='MSI to redistribute my app'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Comments='MSI to redistribute my app'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Manufacturer='Me'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;InstallerVersion='300'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;Compressed='yes' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Media Id='1' Cabinet='VCCRT.cab' EmbedCab='yes' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Directory Id='TARGETDIR' Name='SourceDir'&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Merge Id='CRT' Language='0' src='D:\Program Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm' DiskId='1' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Merge Id='CRT Policy' Language='0' src='d:\Program Files\Common Files\Merge Modules\policy_8_0_Microsoft_VC80_CRT_x86.msm' DiskId='1' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/Directory&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;Feature Id='CRT_WinSXS' Title='CRT WinSXS' Level='1'&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;MergeRef Id='CRT' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;MergeRef Id='CRT Policy' /&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/Feature&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;InstallExecuteSequence&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;RemoveRegistryValues/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;RemoveFiles/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;InstallFiles/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;WriteRegistryValues/&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-tab-count: 1"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/InstallExecuteSequence&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/Product&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: windowtext; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; MARGIN: 0in 0in 0pt; BORDER-LEFT: medium none; PADDING-TOP: 0in; BORDER-BOTTOM: windowtext; mso-element: para-border-div; mso-border-top-alt: solid windowtext .75pt; mso-border-bottom-alt: solid windowtext .75pt; mso-padding-alt: 1.0pt 0in 1.0pt 0in"&gt;&lt;SPAN lang=DE style="mso-ansi-language: DE"&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&amp;lt;/Wix&amp;gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;8. Now I am going back to command line, change current directory, compile and link msi &lt;/P&gt;
&lt;OL style="MARGIN-TOP: 0in" type=a&gt;
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level2 lfo1; tab-stops: list 1.0in"&gt;&amp;gt;cd d:\WiX 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level2 lfo1; tab-stops: list 1.0in"&gt;&amp;gt;candle.exe vccrt.wxs -out vccrt.wixobj 
&lt;LI class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level2 lfo1; tab-stops: list 1.0in"&gt;&amp;gt;light.exe vccrt.wixobj -out vccrt.msi&lt;/LI&gt;&lt;/OL&gt;
&lt;OL&gt;&lt;/OL&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;9. That's it, MSI is created. It should be a file D:\WiX\vccrt.msi. If you see errors, take a look on troubleshooting section below. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;10. &amp;nbsp;&lt;/SPAN&gt;Now I copy my application and vccrt.msi to another computer where I want this application to run which does not have VC++ Express installed. After I have copied my EXE and vccrt.msi, I will first run vccrt.msi before running my EXE. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l1 level1 lfo1; tab-stops: list .5in"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;11. Well my application works just fine. If your application does not start after MSI is installed, please see TroubleShoting section below.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=4&gt;&lt;STRONG&gt;Troubleshooting:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;1. Error message CNDL0054 from candle.exe&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;candle.exe : error CNDL0054 : The document element name 'Include' is invalid.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;A WiX source file must use 'Wix' as the document element name.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;Cause:&lt;/U&gt; you have tried executing &amp;gt;candle.exe vccrt.wxi -out vccrt.wixobj instead of &amp;gt;candle.exe vccrt.wxs -out vccrt.wixobj&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;2. Error message CNDL0009 from candle.exe&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;D:\WiX\vccrt.wxs(6) : error CNDL0009 : The Product/@Id attribute's value, '!!!! REPLACE WITH UUID FROM STEP 4 !!!! ', is not a legal guid value.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;FONT face=Arial color=#000080&gt;D:\WiX\vccrt.wxs(10) : error CNDL0009 : The Package/@Id attribute's value, '!!!! REPLACE WITH UUID FROM STEP 4 !!!!', is not a legal guid value.&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;Cause:&lt;/U&gt; Edit vccrt.wxi and replace !!!! REPLACE WITH UUID FROM STEP 4 !!!! with UUID generated in Step 4&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;U&gt;&lt;o:p&gt;&lt;SPAN style="TEXT-DECORATION: none"&gt;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;3. Error Message CNDLXXXX from candle.exe&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;&lt;o:p&gt;&lt;SPAN style="TEXT-DECORATION: none"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/U&gt;&lt;U&gt;Cause:&lt;/U&gt; No idea, mistake happen when you copy/pasted XML from this post. See WiX documentation for troubleshooting.&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;4. Error on start of application either a message box that says "This application has failed to start because the application configuration is incorrect" or "The system cannot execute the specified program"&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;&lt;o:p&gt;&lt;SPAN style="TEXT-DECORATION: none"&gt;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;Cause:&lt;/U&gt; First, check that your application is built in Release mode. If it was Debug application, you will see OS errors that let you know that either msvcm80d.dll or msvcr80d.dll is not loaded. Second, check if you have deployed all Dependencies of this application. Use depends.exe to see dependencies of an application&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo2; tab-stops: list .5in"&gt;5. Error message box while starting your application that says "To run this application you first must install .Net Framework of version v.2.0.xxxx". &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;&lt;o:p&gt;&lt;SPAN style="TEXT-DECORATION: none"&gt;&lt;/SPAN&gt;&lt;/o:p&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.5in"&gt;&lt;U&gt;Cause:&lt;/U&gt; You application contains managed code and depends on presence of .Net Framework. For C++ applications it means that it has been compiled as /clr, /clr:pure or /clr:safe. You have install .Net Framework.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;6. After you have installed MSI and&amp;nbsp;you run your application you still get errors&amp;nbsp;described&amp;nbsp;on &lt;A class="" title="Potential Runtime Errors" href="http://msdn2.microsoft.com/en-us/library/ms235299(VS.80).aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms235299(VS.80).aspx"&gt;this page in MSDN&amp;nbsp;&lt;/A&gt;, please make sure you have done all steps exactly as they are described and repeat them. Also check out &lt;A class="" href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/ms235342.aspx"&gt;general troubleshooting section&lt;/A&gt; in MSDN docs for issues around deployment of Visual C++ libraries. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt" mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;For any additional help with redistributing applications built with VC++ Express, please check out discussions or ask your question on&amp;nbsp;&lt;o:p&gt;VC++ Forums, &lt;A href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=29&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=29&amp;amp;SiteID=1&lt;/A&gt;. &lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;/o:p&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=460368" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item><item><title>Fusion Docs</title><link>http://blogs.msdn.com/nikolad/archive/2005/06/08/427103.aspx</link><pubDate>Thu, 09 Jun 2005 07:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:427103</guid><dc:creator>NikolaD</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/427103.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=427103</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=427103</wfw:comment><description>&lt;P&gt;I am helping our UE team (folks that work on MSDN docs) with topics on Fusion and how to debug Fusion errors. I have finished today another section on how to deal with well-known and sincerely loved error dialog "The System cannot execute the specified program". Please send me any feedback on this topic, except grammar and spelling errors :-). I have built it using setup anyone can find in Beta 2, so it should be easy to follow. Here is the &lt;a href="http://blogs.msdn.com/nikolad/articles/427101.aspx"&gt;link&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="http://blogs.msdn.com/admin/blogs/posteditor.aspx?App=nikolad&amp;amp;PostID=427101"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=427103" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category></item><item><title>Why I see ''Embedding manifest...'' message in Output window?</title><link>http://blogs.msdn.com/nikolad/archive/2005/06/05/425360.aspx</link><pubDate>Sun, 05 Jun 2005 11:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:425360</guid><dc:creator>NikolaD</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/425360.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=425360</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=425360</wfw:comment><description>&lt;P class=MsoNormal&gt;Well, time flies fast. It was two month since my last post here. One may ask what I was doing all this time. Answer is simple – working. :-) Seriously, VC++ program management team has spent a lot of time in preparing and then running VC++ Tour in Europe. There is long slides deck with information on all features coming in VC++ 2005 and several demos for most frequently asked features. Take a look on official page for this trip for more information &lt;A href="http://msdn.microsoft.com/visualc/community/Tour2005/"&gt;http://msdn.microsoft.com/visualc/community/Tour2005/&lt;/A&gt; . Also during our stop in Norway, my laptop was ambushed by Pepsi. It was seriously damaged and for the rest of the trip I was only able to check my emails from internet cafes. However very soon I started to have issues with remote connectivity, and that was the end of e-life for me. Anyway, it is the second week I am back in my office and hopefully I will post more regularly now.&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;So if you use VS2005 Beta 2 (yes, yes, it is available now, go ahead and download it if you have not done this already), you may have already noticed a message saying “Embedding manifest…” when you are building you project. You may also notice that linking starts second time sometimes after this message. You may ask yourself, what is going on and why we link twice. Actually 2&lt;SUP&gt;nd&lt;/SUP&gt; link starts only if incremental linking or edit-and-continue is enabled. By default Visual Studio tryes embedding manifest for each project, unless users explicitly changes Manifest Tool -&amp;gt; Input and Output -&amp;gt; Embed Manifest property in Project Properties dialog. If the user selects to not embed manifest, manifest is generated as an external file and saved in the same directory where the final binary is. If the user chooses to embed the manifest, IDE embeds final manifests using the following process:&lt;/P&gt;
&lt;P class=MsoNormal&gt;1. After the user code is compiled to object files, the linker collects dependent assembly information and while linking the final binary it generates an intermediate manifest that is used later to generate the final manifest.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;2. After the intermediate manifest and linking are finished, the manifest tool will be executed to merge a final manifest.&lt;/P&gt;
&lt;P class=MsoNormal&gt;3. If neither incremental linking nor edit-and-continue are enabled, mt.exe embeds the final manifest into the binary. If incremental linking or edit-and-continue is enabled, mt.exe save it as an external file. And project system is going to start second incremental linking to embed this external file. &lt;/P&gt;
&lt;P class=MsoNormal&gt;4. Project build system then detects whether the manifest generated by the manifest tool contains different information then the manifest already embedded in the binary. &lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;5. If the manifest embedded in the binary is different from the manifest generated by the manifest tool or binary does not contain an embedded manifest, IDE will invoke the linker one more time to embed the external manifest file inside the binary as a resource. &lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;6. If the manifest embedded in the binary is the same as the manifest generated by the manifest tool, the build will continue to the next build steps.&lt;/P&gt;
&lt;P class=MsoNormal&gt;So why does IDE need steps 4-6? The issue here is that in order for incremental linking to work, no changes should be made to the binary after it was linked by the linker. If mt.exe embeds manifest after the linker, the on the next incremental link, the linker detects the change and spins the full build. But if IDE creates a resource file with the final manifest and ask the linker to link this resource with the already built binary, for the linker this is a simple and very quick job to do. Moreover after resource is embedded, the binary is still correctly formed for the next incremental link. Nice trick by IDE, isn’t it?&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;Manifest is embedded inside the final binary as a text resource and it can be viewed by opening the final binary as a file in Visual Studio. Just open this binary in IDE and you see binary resource. Export it and you can now view it with any text editor. Actually this is the first step when I need to debug why this binary does not load. &lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;So the fair question is what someone does to existing makefiles? Well, I have posted a sample where I have shown how to change a makefiles used to build both EXE and DLL. You may find it here &lt;a href="http://blogs.msdn.com/nikolad/articles/425359.aspx"&gt;How to embed manifest inside C/C++&amp;nbsp;program using makefiles&lt;/A&gt;. &lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;Questions? Please feel free to post any comments below, I will try replying asap.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=425360" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category></item><item><title>Resolving your dependencies on VC++ libraries in VS2005 Beta 1</title><link>http://blogs.msdn.com/nikolad/archive/2005/03/18/398720.aspx</link><pubDate>Fri, 18 Mar 2005 20:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:398720</guid><dc:creator>NikolaD</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/nikolad/comments/398720.aspx</comments><wfw:commentRss>http://blogs.msdn.com/nikolad/commentrss.aspx?PostID=398720</wfw:commentRss><wfw:comment>http://blogs.msdn.com/nikolad/rsscomments.aspx?PostID=398720</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT color=#ff0000 size=6&gt;&lt;U&gt;This article does not apply to final release of VS2005. Steps outlined below&amp;nbsp;were only required in VS2005 Beta2. For an example that demonstrates recommended steps in final release of VS2005 please see &lt;A href="http://msdn2.microsoft.com/en-us/library/ms235285.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms235285.aspx&lt;/A&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Another FAQ. As you may already know from VS2005 Beta 1 or CTPs, Visual C++ 2005 supports a new deployment model for Windows-client applications using &lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sbscs/setup/isolated_applications.asp"&gt;isolated applications&lt;/A&gt;&amp;nbsp; and &lt;A href="http://msdn.microsoft.com/library/en-us/sbscs/setup/side_by_side_assemblies.asp"&gt;side-by-side assemblies&lt;/A&gt;. The ATL, MFC, and CRT libraries are now side-by-side assemblies that are installed in WinSxS folder and can be shared at runtime by isolated applications. Building your C/C++ program as an isolated application and developing your assemblies as shared side-by-side assemblies has number of advantages. Such isolated applications are not unaffected by changes to the registry, other applications installing same DLLs&amp;nbsp;or other versions of assemblies running on the system. The sharing of side-by-side assemblies after deployment on either a global or per-application basis can be easily controlled by application's authors or system administrators. This also simplifies servicing of already deploy applications and provides a way to avoid DLL versioning conflicts caused by an incompatible versions of DLLs installed on the same client machine. If you are not familiar with isolated applications and side-by-side assemblies deployment model a good point to start is to read &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;A href="http://msdn.microsoft.com/library/en-us/sbscs/setup/about_isolated_applications_and_side_by_side_assemblies.asp"&gt;About Isolated Applications and Side-by-side Assemblies&lt;/A&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;However, let's go back to questions I am often asked. How to redistribute VC++ libs in applocal? In Beta 1 and Beta 2 the answer is:&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Go to Windows\WinSxS and find assembly and Dlls you are interested in. For example, let's assume you are interested in the CRT and STL DLLs on x86. Then you are looking for&amp;nbsp; directory x86_Microsoft.VC80.CRT_[staff]_&lt;STRONG&gt;8.0.50110.4359&lt;/STRONG&gt;_[staff] with msvcr80.dll and msvcp80.dll. This &lt;STRONG&gt;8.0.50110.4359&lt;/STRONG&gt; is the assembly version, remember it for future. Check that version of the compiler you are using matches to version of this assembly.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Copy these two Dlls to your application local folder.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Go to Windows\WinSxS\Manifests\ and&amp;nbsp;find 636 x86_Microsoft.VC80.CRT_[staff]_8.0.50110.4359_[staff].manifest. &lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Copy this manifest to application local folder.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Rename this manifest to Microsoft.VC80.CRT.manifest. Basically name of the manifest has to match name of the assembly (it can be find on&amp;nbsp;the 4th&amp;nbsp;line of the manifest if you view it).&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;- Copy your app and Dlls and manifest to another computer where VS2005 is not installed. Try to run it and it should run.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;We are considering make it simpler on RTM and have several solutions in mind. Will see what comes up from discussions.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;Hope this works for you and makes world of IA and SbySA somewhat clearer.&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=398720" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/nikolad/archive/tags/VC_2B002B00_+Libraries+Deployment/default.aspx">VC++ Libraries Deployment</category><category domain="http://blogs.msdn.com/nikolad/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category></item></channel></rss>