Pack BCB6 with BCB5 packaged program
(This article is for 9CBS and CCRUN, other users please contact the author)
When we do a program with BCB, the next step is to be done, publish it to the user. From the perspective of packaging programs, we have a lot of choices. For BCB, there is a package program on each version of the BCB CD. For these packaged programs, I only used BCB5 and BCB6, don't The version has not been used, I don't dare to add comments, but the packaging procedure with BCB6 has a significant problem. It is not good for Chinese support. This is not to think of whether it can be packaged with BCB5 packages? I have consulted a lot of friends online. I have a clear answer without a friend. I will come to find the principles since I have been successful, but I can't deny that I have received many netizens' support and prompt. Here I will The method provides you with reference, I hope that all friends who support BCB like it, and even more different sounds, let us go deep into the way.
First confirm that your BCB5 packager has been installed successfully. Here we have to complete this package package to package BCB6 programs.
In E: / Program Files / InstallShield / InstallShield Express for C Builder 5 (of course this depends on your specific installation path, I am this) This should be able to find SWDepend.ini and Isdepend.ini Ini files, back up these two files first.
We open IsDepend.ini, find "Option12 = BDE Database Component Packages" in the [Options] section, plus ";"; ", that is, changed to"; option12 = BDE DATABASE Component Packages, the purpose is Cancel this item. Because he has a total role in "option3 = BDE Control Panel file, as long as you choose the relevant database item, no matter how you do it, this will never be selected in our dialog.
We open the most important SWDEPEND.INI file, do the following:
1) We replace all 50 to 60, such as vcl50.bplàvcl60.bpl;
2) We will replace all src = hkey_local_machine / software / borland / c builder / 5.0 / rootdir to src = HKEY_LOCAL_MACHINE / SOFTWARE / BORLAND / C Builder / 6.0 / Rootdir;
3) Plus value "Uses2 = RTL60.bpl" in the [VCL Winsys] section;
4) Change Uses1 = CC3245MT.dll to UseS1 = CC3260MT.dll in the [InprisThreadededRuntime] section;
5) Plus Uses2 = dbrtl60.bpl in the [VCLDB60 BPL] section;
6) Plus Uses3 = Adortl60.bpl in the [Use Database Packages Support] section, uses4 = bdrtl60.bpl, the original uses2 = vCLDB50 BPL replacement to UseES2 = VCL Winsys;
7) Plus Uses2 = InpristhreadedRuntime; 8) before [USE BDE DATABASE PACKAGES Support] is ";", in front of it, ";", intention is to put this Abolition; in [VCLBDE60.BPL], ";", in front of the values under which the value is also added ";", because there is no such BPL file in BCB6.
After this change, this original package can package BCB6 programs for BCB5 services. I believe that friends who have used BCB5 package programs will be happy to continue to pack BCB6 with this package. Of course, through the above changes, we understand the working environment and principle of this package, we can make him package other development procedures through appropriate changes, this is your work J