How to deploy the devexpress control during the installation process

Source: Internet
Author: User

Problem

Developed Using devexpressProgramCan run normally on the development machine and cannot run on other machines.

 

Solution

I searched the internet and found that the cause was the lack of devexpress. Data. v11.2.dll and devexpress. utils. v11.2.dll in Gau. For reference, the registration file was slightly modified as follows:

Version: v11.2.11.0

Registration file:

 @ Echo offgacutil -U devexpress. Data. v11. 2  Mkdir % Windir % \ Assembly \ gac_msil \ devexpress. Data. v11. 2 \ 11.2 . 11 . 0 _ b88d1754d700e49acopy devexpress. Data. v11.  2 . Dll % WinDir % \ Assembly \ gac_msil \ devexpress. Data. v11. 2 \ 11.2 . 11  . 0 _ b88d1754d700e49agacutil -U devexpress. utils. v11. 2  Mkdir % Windir % \ Assembly \ gac_msil \ devexpress. utils. v11. 2 \ 11.2 . 11  . 0 _ b88d1754d700e49acopy devexpress. utils. v11. 2 . Dll % WinDir % \ Assembly \ gac_msil \ devexpress. utils. v11. 2 \ 11.2 . 11  . 0 _ b88d1754d700e49aecho  '  OK  '  Pause 

TIPS: change the design to version to your own version.
After registration, other DLL used in the program can be directly placed under the execution folder to reference

 

Example

My demo is also a skin replacement demo found on the Internet. The release folder of my project contains the following:

Among them, devexpress. Data. v11.2.dll and devexpress. utils. v11.2.dll are the DLL to be registered.

Devexpress. bonusskins. v11.2.dll and devexpress. xtraeditors. v11.2.dll are the DLL referenced in the project.

Gacutil.exeand sn.exe are used to execute register. bat.

 

Execution result

 

For details about how to add the registration file to the installation package, refer to how Wu huacong deploys the devexpress control during the installation process.

ArticleThank you for your attention. If you have any shortcomings, please kindly advise. Thank you!

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.