General Application Deployment 常规应用程序部署.docx
cc3260MT.D1.1.1. GeneralApplicationDeploymentC+Builder6applicationsdonotrequirearuntimeinterpreterD1.1.Allyouhavetoprovideisyour.EXEfileandanyD1.1.sorBP1.sthatitcalls.Forsimpleapplicationsyoucandistributeastandalone.EXEfile.Ifyouhaveusedruntimepackageswithyourapplication,besuretoincludeallrequiredBP1.swiththedistribution.IfyoubuildusingthedynamicRun-Time1.ibrary,youwillalsohavetodistributeoneormoreoftheRun-Time1.ibraryD1.1.sCC3260.D1.1.orCC3260MT.D1.1.andthememorymanagerDllsBOR1.NDMM.D1.1.,BCBMM.D1.1.orDE1.PHIMM.D1.1.ApplicationsthatuseMECmayalsoneedBFC42.D1.1.orBFC42D.D1.1.ThoseusingST1.PortwillrequireredistributionofST1.P45.D1.1.and/orST1.PMT45.D1.1.DeployingC+BuilderApplicationsPleasereadthisentirefilebeforedeployingC+Builder6applications,components,orlibraries.ThisfileisprovidedpursuanttotheBorland1.icenseStatementandprovidesinformationondeployingC+Builder6applications.TableofContents1. GeneralApplicationDeployment2. ComponentsandPackages2. 1DistributingCustomPackages2. 2BorlandRuntimePackages2. 3RuntimePackages:EnterpriseEdition2. 4RuntimePackages:ProfessionalEdition2. 5RuntimePackages:PersonalEdition3. 6RestrictionsonC1.XDisplayAPT(Qt.pas)Usage4. TheBorlandDatabaseEngine(BDE)5. ActiveXControls(OCXs)6. SampleImages7. InterBaseDeployment6 .1ApplicationsthatUsethe32-bit1.ocalInterBase7 .2The32-bitFive-userInterBaseServer8. DataSnapApplications(formerlyMTDAS)9. WebSnapApplicationsandInterBase10. VisiBroker11. SQ1.1.inksDeployment(Enterpriseeditiononly)12. JPEGCompressionSoftware13. DataCompression1.ibrary(zlib)14. WindowsCommonControls15. C+BuilderUtilities16. TranslationManagerDistribution17. RemovedorModified"Redistributable"Files1. GeneralApplicationDeploymentC+Builder6applicationsdonotrequirearuntimeinterpreterD1.1.Allyouhavetoprovideisyour.EXEfileandanyD1.1.sorBP1.sthatitcalls.Forsimpleapplicationsyoucandistributeastandalone.EXEfile.Ifyouhaveusedruntimepackageswithyourapplication,besuretoincludeallrequiredBP1.swiththedistribution.IfyoubuildusingthedynamicRun-Time1.ibrary,youwillalsohavetodistributeoneormoreoftheRun-Time1.ibraryD1.1.sCC3260.D1.1.orCC3260MT.D1.1.andthememorymanagerDllsBOR1.NDMM.D1.1.,BCBMM.D1.1.orDE1.PHIMM.D1.1.ApplicationsthatuseMFCmayalsoneedBFC42.D1.1.orBFC42D.D1.1.ThoseusingST1.PortwillrequireredistributionofST1.P45.D1.1.and/orST1.PMT45.D1.1.ForapplicationsthatusetheBorlandDatabaseEngine(BDE),youmustuseaBor1and-certifiedinstallation/deploymentutility,suchasInstallShieldExpress.IfyouuseInstallShield,treat.BP1.(package)filesjustlikeotherD1.1.s.FromtheSetupChecklist,openGroupsandFiles,thenclickAddGroup.Youcancreateagroupcalled“Packages“forBP1.s;toinstallpackagesintheWindowsSystemdirectory,choose<WINSYSDIR>asthedestinationdirectory.(Werecommendinstalling.D1.1.and.BP1.filesinthe<OperatingSystem>SystemorSystem32directory.)Thenclick1.aunchExplorertoselectthe.BP1.filesyouwanttodeploy.IfthelicenseforC+Builderthataccompaniedthisfilewasacquiredasaneducationalorforscholarlypurpose,distributionofanyfilesforanycommercialorinstitutionaluseisprohibited.Performingresearchinaneducationalsettingorproducingcourseworkrequiredinpursuitofadegreeorcertificateofcredentialataneducationalinstitutionispermitted.2. ComponentsandPackages2.1 DistributingCustomPackagesIfyoudistributeC+Builder6packagestootherdevelopers,besuretosupplyboth.BPIandany.1.IBfilestowhichyourpackageslink.Youwillprobablyalsowanttoinclude.OBJand.DCUfilesaswellasdocumentation.PackageCollection(.DPC)files,createdwiththePackageCollectionEditor,offeraconvenientwaytodistributeallthefilesassociatedwithapackageorgroupofpackages.2.2 BorlandRuntimePackagesInaccordancewiththeGeneralTermsThatApplytoCompiledProgramsandRedistributables,youmayredistributeBorland-suppliedruntimepackagesonlyforthepurposeofexecutingapplicationprogramscreatedwithC+Builder.Youmaynotmodifythesepackagesinanyway.Bydefaulttheredistributableruntimepackagesareinstalledinthesystem-filesdirectoryofthecomputer(commonlythisisthewindowssystemonWindows9x,WTNNTSystem32onWindowsNT,2000orXPcomputers).Althoughthissoftwaremayincludepackagesotherthanthoselistedbelow,onlythepackagesidentifiedbelowasredistributablemayberedistributedbyyou.Thepackagefilenamesidentifiedbelowshouldbeconsideredtobecase-insensitive.YoumayNOTredeployBorland-supplieddesign-time-onlypackages.YoumaynotrecompileorredistributeanyBorland-suppliedcomponentsorlibrariesforusebyotherdevelopers.PackagesthatyoudevelopmaynothavethesamenamesasBorland-suppliedpackages.Ifyoudistributecomponentlibrariesorotherpackages,itisrecommendedthatyouavoidusingthedefaultDC1.USR60packagename,sincethiswillcausenamingconflictswithotherdevelopers.2.3RuntimePackages:EnterpriseEditionIfyouarealicenseduserofC+Builder6Enterprise,redistributableruntimepackagesincludethefollowing:adortl60.bplbdecds60.bplbdert160.bplcds60.bpldbexpress60.bpldbrtl60.bpldbxcds60.bplbcb2kaxserver60.bplbcb97axserver60.bpldsnap