Package BCB6 with a BCB5 package

Source: Internet
Author: User
Tags ini pack

When we use BCB to do a program, the next step is to do the packaging program, released to the user. From the point of view of the packaging program, we have a lot of choices, in terms of BCB, each version of the BCB CD has a packaging program, for these packaging procedures, I have only used BCB5 and BCB6, the other version has not been used, do not dare to comment, but the BCB6 with the packaging program obvious problems, Support for Chinese is also not good, so the thought of whether can use BCB5 packaging program to pack? I have consulted a lot of friends on the Internet, no friend can give a clear answer, they have started to find its principle, and finally succeeded, but it can not be denied that I got a lot of netizens support and tips, here I will provide you with the method of reference, I hope all the support BCB friends like, more want to hear the different voices, Let's go deep together.

First confirm that your BCB5 package has been installed successfully, the following is what we want to do is let this packaging program to package the BCB6 program.

In E:\Program Files\installshield\installshield Express for C++builder 5 (of course this depends on your specific installation path, This is what I do. You should be able to find Swdepend.ini and Isdepend.ini These two INI files, first of these two files back up.

We open the Isdepend.ini and find "Option12=bde Database Component Packages" in the [Options] section, preceded by the ";" number, which is changed to "; Option12=bde Database Component Packages ", the purpose is to cancel this. Because he's always working in the Option3=bde Control Panel File, as long as you've selected the relevant database entries once, no matter what you do, in our dialog box, this will always be selected.

We open the most important Swdepend.ini file and do the following:

1 We replace all 50 with 60, such as VCL50.BPLÀVCL60.BPL;

2) We replace all src=hkey_local_machine\software\borland\c++builder\5.0\rootdir with src=hkey_local_machine\software\ Borland\c++builder\6.0\rootdir;

3) Add the value "USES2=RTL60" in the [VCL Winsys] section. BPL ";

4) in the [Inprisethreadedruntime] section of the USES1=CC3245MT. DLL changed to USES1=CC3260MT. DLL;

5) Add the uses2=dbrtl60 in the [VCLDB60 BPL] section. BPL;

6 add uses3=adortl60 in the [use Database Packages Support] section. BPL, uses4=bdertl60. BPL, the original USES2=VCLDB50 BPL replaced with USES2=VCL Winsys;

(7) Add Uses2=inprisethreadedruntime in the [use STD Packages Support] section;

8) "Before the [use BDE Database Packages Support]", and "in front of its next value", the intention is to scrap it, as well as in [VCLBDE60. BPL] preceded by a ";" Plus ";" before each value, because there is no such a BPL file in BCB6.

Through such changes, this original dedicated for the BCB5 service packaging program can be packaged BCB6 program, I believe that the use of BCB5 packaging program friends will be happy to continue to use this packaging program to pack BCB6. Of course, through the above changes we understand the packaging program's working environment and principle, we can through the appropriate changes, let him to pack other development programs, this is your job.

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.