Crystal Report reference and packaging in vs2010t is transferred from the Internet

Source: Internet
Author: User
Tags file url

Good information summarized by Internet users is also a learning process for you to view and share it with you through the blog of the blog site. See the text below:

Reference and package the Crystal Report in vs2010t

Download the crystal report component that supports vs 2010 on the SAP official website. Specific address: 1) includes reports dll crystal report File URL: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_13_0.exe 2) crystal report deployment files used URL: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip 3) only support 32-bit system package URL: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip note, to install the user computer after installing the package, packaging does not contain the relevant information of the crystal report can be used. 4) only supports 64-bit system URL: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip in vs2010 reference the DLL Crystal Report, the way: browse the DLL files in the \ common \ sap businessobjects Enterprise XI 4.0 \ win32_x86 \ DOTNET folder under the reference crystal report installation directory. If it is 64-bit, the name of the "win32_x86" layer will change. For form (a desktop application, you only need to introduce "crystallreports. design "," crystallreports. engine, crystallenterprise. viewing. reportsource, reportsource, shared, and windows. forms "simultaneously in the project app. add the following statement in config:

XML Code

  1. <Startup uselegacyv2runtimeactivationpolicy = "true">
  2. <Supportedruntime version = "v4.0" SKU = ". netframework, version = v4.0"/>
  3. </Startup>
<startup useLegacyV2RuntimeActivationPolicy="true">    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup>
After the above, the project can normally use the crystal report. Vs2010 Packaging1 open the project (including the source code) 2 open the vs2010 file ---> Add? Create a project and select an installation project. The default project name is composed of setup and serial number. It must be setup1 for the first time. In solution, select the installation project (such as setup1) and right-click it to change the view. The default value is file system. 4. Package A third-party DLL or program. In the installation project (such as setup1) (which is a file view), select the application folder, right-click the folder, and select "add assembly ". Click Browse and select the DLL or EXE file to be packaged. Among them, msiexec under system32 in Windows is required. This facilitates program uninstallation and adds the downloaded framework components for convenience. 5. In the installation project (such as setup1) (which is a file view) of the DLL that the package program depends on, select the application folder, right-click, and select "add project output ", select the primary output. In this way, you can package the dependent DLL of the packaged project. 6. In the installation project (such as setup1) (which is a file view) of the package folder, select the application folder and right-click and select "add folder ". Select the newly added folder, select "add file", and then browse the file to be packaged. 7. Uninstall shortcuts: (see Figure 4. Add msiexec) Create msiexec.exe shortcut on the upper right of msiexec.exeand name it "Uninstall testwindows ". Drag it to the "user's" program "menu" file, you can also place it on the desktop, set the argmuments attribute of this shortcut to "/X {program id }", the id value is the productcode attribute of the package, for example, "/X {1ae1e45c-c68b-4033-be53-218fdeef52d0}" (not including double quotation marks ). 8. Add required system components in the installation project (such as setup1) (and file view), right-click, select properties, and click required system components, such as framework. at the same time, you also need to tick "Download necessary system components from the same location as my application. Crystal Report Packaging1 first download the Crystal Report vs2010 version of the combined module installation package File URL: http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0_1.zip where: crruntime_13_0.msm is an English package; character is a Chinese package; crruntime_13_0_maps.msm this can not; 2 with vs2010 built-in package software package release, create an installation project. (For the specific method, see the preceding vs2010 package.) Right-click the project and choose "add"> "Merge Module" from the shortcut menu. add the files ending with MSM, and add several microsoft_vc100 _ * _ x86.msm files. 3 microsoft_vc100 _ * _ x86.msm file when the VC ++ file in vs2010 is installed, these files will be included in your installation file. Example: C: \ Program Files \ common files \ merge modules folder. As for x86 or x64, you know that the former corresponds to a 32-bit operating system, and the latter corresponds to a 64-bit operating system. 4. Generate a release

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.