C#/Crystal Reports Application Deployment<p><font face="Times New Roman, Times, Serif">Setup program with merge files (created exactly as it is described in MSDN and many aricles) successfully installes my program on my development computer and on two other computers but failed to install on any other computer</font></p> <p><font face="Times New Roman, Times, Serif">Setup process is interrupted with the message:</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Geneva, Arial, Sans-serif"><strong><span lang=EN-CA style="">Unable to get installer types in the C:\Program Files\...\MyAplication.exe assembly. --&gt;</span><span lang=EN-CA style=""> Unable to load one or more of the requested types. Retrieve the LoaderException property for more information.</span></strong></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Geneva, Arial, Sans-serif"></font></span> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman, Times, Serif">All steps I do are have carefully checked against tens of articles.</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif">There is a difference between three computers which allow installation and all other which do not allow. Before to start develop the application I used those three computers for test. I created small C#/CR test application with setup program and installed it on those three computers (one is my own development computer with VS 2005). Everything was ok so I deleted test application code and started the real development. The test application was not uninstalled on the three computers.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman">When I found I am able to install my real (not-test) application on those three computers only, I deinstalled test application from one of those three computers and after that the installation of the real aplication became impossible on this computer too. </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif">I am not sure now I used the correct consequence for setup test program, perhaps by mistake I installed on those computers something that theoretically should not be installed and it was luck. Unfortunately I am not able to guess what &quot;something&quot; was.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman">I appreciate any ideas.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman"></font></span> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman"></font></span> </p>© 2009 Microsoft Corporation. All rights reserved.Thu, 19 Jun 2008 00:15:52 Z639a27d8-7991-4938-9b8c-60176be7e725http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#639a27d8-7991-4938-9b8c-60176be7e725http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#639a27d8-7991-4938-9b8c-60176be7e725AlfMhttp://social.msdn.microsoft.com/Profile/en-US/?user=AlfMC#/Crystal Reports Application Deployment<p><font face="Times New Roman, Times, Serif">Setup program with merge files (created exactly as it is described in MSDN and many aricles) successfully installes my program on my development computer and on two other computers but failed to install on any other computer</font></p> <p><font face="Times New Roman, Times, Serif">Setup process is interrupted with the message:</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Geneva, Arial, Sans-serif"><strong><span lang=EN-CA style="">Unable to get installer types in the C:\Program Files\...\MyAplication.exe assembly. --&gt;</span><span lang=EN-CA style=""> Unable to load one or more of the requested types. Retrieve the LoaderException property for more information.</span></strong></font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Geneva, Arial, Sans-serif"></font></span> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman, Times, Serif">All steps I do are have carefully checked against tens of articles.</font></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif">There is a difference between three computers which allow installation and all other which do not allow. Before to start develop the application I used those three computers for test. I created small C#/CR test application with setup program and installed it on those three computers (one is my own development computer with VS 2005). Everything was ok so I deleted test application code and started the real development. The test application was not uninstalled on the three computers.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman">When I found I am able to install my real (not-test) application on those three computers only, I deinstalled test application from one of those three computers and after that the installation of the real aplication became impossible on this computer too. </font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif"></font><font face="Times New Roman, Times, Serif"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman, Times, Serif">I am not sure now I used the correct consequence for setup test program, perhaps by mistake I installed on those computers something that theoretically should not be installed and it was luck. Unfortunately I am not able to guess what &quot;something&quot; was.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman"></font> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><font face="Times New Roman">I appreciate any ideas.</font></p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman"></font></span> </p> <p class=MsoNormal style="margin:0in 0in 0pt"><span lang=EN-CA style=""><font face="Times New Roman"></font></span> </p>Tue, 26 Sep 2006 19:02:24 Z2006-09-26T19:02:24Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#9f3049ca-7213-4394-8aa5-492dad4c67f2http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#9f3049ca-7213-4394-8aa5-492dad4c67f2AlfMhttp://social.msdn.microsoft.com/Profile/en-US/?user=AlfMC#/Crystal Reports Application Deployment<p><font face="Times New Roman, Times, Serif">I included to setup program installation of <b><font face="Geneva, Arial, Sans-serif">CRRedist2005_x86.msi</font></b> from <font face="Geneva, Arial, Sans-serif">C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\CrystalReports\</font> as Prerequiest. It solved the problem but in still be non-undestanadable why I need to install it if I have included in my project merge file <strong><font face="Geneva, Arial, Sans-serif">CrystalReportsRedist2005_X86.msm</font></strong>  already. And there was nothing about that in numerous instructions and helps.</font></p> <p><font face="Times New Roman, Times, Serif"> </font></p>Thu, 28 Sep 2006 14:13:48 Z2006-09-28T14:13:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#d9786a5d-46ef-4b74-b29b-07fbf2885733http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#d9786a5d-46ef-4b74-b29b-07fbf2885733mewdiedhttp://social.msdn.microsoft.com/Profile/en-US/?user=mewdiedC#/Crystal Reports Application DeploymentWhen you added the msm file, did you add it as a file or as a merge module to the setup project.  If you added it as a file, it will not work.  You need to right click on the project and choose add file as merge module.  This way it gets built correctly for when installing, otherwise it will just copy the msm file onto the deployed machine.Thu, 28 Sep 2006 16:29:42 Z2006-09-28T16:29:42Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#2a655274-a816-49d2-8011-015ea00d2471http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#2a655274-a816-49d2-8011-015ea00d2471AlfMhttp://social.msdn.microsoft.com/Profile/en-US/?user=AlfMC#/Crystal Reports Application Deployment<p>Yes, I add it as merge file on right click -&gt; Add... -&gt; Mege Module...</p> <p>Every step and every small detail were absolutly as it should be in accordance with MS instructions. I checked it many times and very carefully.</p> <p>But it didn't work and started work only when I found somewhere that CRRedist???.msi should be installed first even I include into setup merge file CrystalReportRedist2005???.msm.  There is no word about that in documentation.</p> <p> </p> <p> </p> <p> </p>Thu, 28 Sep 2006 16:59:34 Z2006-09-28T16:59:34Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#83401b66-3bc8-424a-8a40-f3d40fc70314http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#83401b66-3bc8-424a-8a40-f3d40fc70314mewdiedhttp://social.msdn.microsoft.com/Profile/en-US/?user=mewdiedC#/Crystal Reports Application DeploymentI can guarantee that you don't need to install the msi first, as it installs the exact same files as the msm does.  I have not had a problem personally when building a setup project using that msm.Thu, 28 Sep 2006 17:02:43 Z2006-09-28T17:02:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#c405b583-09a3-400b-bab1-57edac005ac2http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#c405b583-09a3-400b-bab1-57edac005ac2AlfMhttp://social.msdn.microsoft.com/Profile/en-US/?user=AlfMC#/Crystal Reports Application Deployment<p>I belive it should be like you describe it, or the consequence became ridicilous. But fact is fact. I checked everything thousand times.</p> <p>1. Created Setup project</p> <p>2. Add project output</p> <p>3. Add merge module Right Click -&gt; Add... -&gt; Merge Modules... - Selection Dialog</p> <p>4. Checked Solution explorer </p> <p>5. Compiled</p> <p>There is no room for mistake.</p> <p>Perhaps our VS or CR version are different amd miy vercions have some bugs?</p> <blockquote dir=ltr style="margin-right:0px"> <p>Microsoft Visual Studio 2005<br>Version 8.0.50727.42  (RTM.050727-4200)<br>Installed Edition: Professional</p> <p>Microsoft .NET Framework<br>Version 2.0.50727</p></blockquote> <p> </p> <p> </p> <p> </p> <p><br> </p> <p> </p> <p> </p> <p> </p> <p> </p>Thu, 28 Sep 2006 18:26:30 Z2006-09-28T18:26:30Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#81d1c954-97f2-493f-baad-8e2268a2754fhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#81d1c954-97f2-493f-baad-8e2268a2754fshirashttp://social.msdn.microsoft.com/Profile/en-US/?user=shirasC#/Crystal Reports Application Deployment<p>hi</p> <p>        i had the same issue while installing an application on other computers. as one of my friend has described above, we need to add CRRedist2005_x86 as prerequisites (right click on the setup project --&gt; click on prerequisites tab --&gt; check Crystal report for Dot Net framework 2.0) and then install the application, i hope this will solve the problem. remember Crystal report files should be added to your setup project as MergeModules not as files.</p>Wed, 31 Jan 2007 06:53:16 Z2007-01-31T06:53:16Zhttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#5c81703e-58a2-478f-8a6e-05361616e8achttp://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/639a27d8-7991-4938-9b8c-60176be7e725#5c81703e-58a2-478f-8a6e-05361616e8acJenProformahttp://social.msdn.microsoft.com/Profile/en-US/?user=JenProformaC#/Crystal Reports Application DeploymentI don't have the Crystal Report for 2.0 framework option - is there an option or installation process that I need to do?Mon, 19 Feb 2007 19:05:24 Z2007-02-19T19:05:24Z