第三方控件的安装为什么这么麻烦啊?
FASTREPORT4 安装时,Recompile时总是会出错。

解决方案 »

  1.   

     Recompiling FastReport Basic Edition and Standard Edition packagesPerform the following steps if you want to recompile FastReport packages.Step 0 (for FastReport Basic Edition only)
    - open the FastReport 4\Lib\frxReg.inc file and uncomment the following  line:
    {$DEFINE FR_VER_BASIC}Step 1. Add paths to library path
    1.1. in the Delphi IDE, select "Tools|Environmet options..." menu
    1.2. go "Library" tab, "Library path" edit box
    1.3. add path to FastReport 4\Lib folderStep 2. Compile runtime packages
    2.1. repeat the 2.2-2.4 steps for the following packages:
    - FastReport 4\Lib\fs*.dpk (* = your delphi version)
    - FastReport 4\Lib\fsDB*.dpk
    - FastReport 4\Lib\fsBDE*.dpk
    - FastReport 4\Lib\fsADO*.dpk
    - FastReport 4\Lib\fsIBX*.dpk
    - FastReport 4\Lib\fsTee*.dpk
    - FastReport 4\Lib\frx*.dpk
    - FastReport 4\Lib\frxDB*.dpk
    - FastReport 4\Lib\frxADO*.dpk (FR3 Std only)
    - FastReport 4\Lib\frxBDE*.dpk (FR3 Std only)
    - FastReport 4\Lib\frxIBX*.dpk (FR3 Std only)
    - FastReport 4\Lib\frxDBX*.dpk (FR3 Std only)
    - FastReport 4\Lib\frxTee*.dpk
    - FastReport 4\Lib\frxe*.dpk
    2.2. open the package (by "File|Open project..." menu, select "Delphi
      package (*.dpk)" as a file type)
    2.3. press the "Compile" button
    2.4. close the "Package" dialogStep 3. Copy runtime packages to system folder
    3.1. copy the following files from the Delphi_dir\Projects\Bpl folder
      to the Windows\System32 folder (or Windows\System for Win9x/Me):
    - fs*.bpl (* = your delphi version)
    - fsDB*.bpl
    - fsBDE*.bpl
    - fsADO*.bpl
    - fsIBX*.bpl
    - fsTee*.bpl
    - frx*.bpl
    - frxDB*.bpl
    - frxADO*.bpl (FR3 Std only)
    - frxBDE*.bpl (FR3 Std only)
    - frxIBX*.bpl (FR3 Std only)
    - frxDBX*.bpl (FR3 Std only)
    - frxTee*.bpl
    - frxe*.bpl
    3.2. note for Delphi4 users: *.bpl files are sitting in the FastReport 4\Lib 
      folder, not in the Delphi_dir\Projects\Bpl folderStep 4. Compile and install design-time packages
    4.1. repeat the 4.2-4.5 steps for the following packages:
    - FastReport 4\Lib\dclfs*.dpk (* = your delphi version)
    - FastReport 4\Lib\dclfsDB*.dpk
    - FastReport 4\Lib\dclfsBDE*.dpk
    - FastReport 4\Lib\dclfsADO*.dpk
    - FastReport 4\Lib\dclfsIBX*.dpk
    - FastReport 4\Lib\dclfsTee*.dpk
    - FastReport 4\Lib\dclfrx*.dpk
    - FastReport 4\Lib\dclfrxDB*.dpk
    - FastReport 4\Lib\dclfrxADO*.dpk (FR3 Std only)
    - FastReport 4\Lib\dclfrxBDE*.dpk (FR3 Std only)
    - FastReport 4\Lib\dclfrxIBX*.dpk (FR3 Std only)
    - FastReport 4\Lib\dclfrxDBX*.dpk (FR3 Std only)
    - FastReport 4\Lib\dclfrxTee*.dpk
    - FastReport 4\Lib\dclfrxe*.dpk
    4.2. open the package (by "File|Open project..." menu, select "Delphi
      package (*.dpk)" as a file type)
    4.3. press the "Compile" button
    4.4. press the "Install" button
    4.5. close the "Package" dialog, answer "NO" when Delphi asks to save changes!------------------------------------------------------------------------
    IV. Recompiling FastReport Pro Edition and Enterprise Edition packagesPerform the following steps if you have changed FastReport sources 
    and want to recompile them.Step 1. Remove old binary files
    1.1. in the Delphi IDE, select "Tools|Environmet options..." menu
    1.2. go "Library" tab, "Library path" edit box
    1.3. remove path to FastReport 4\Lib folderStep 2. Add paths to library path
    2.1. in the Delphi IDE, select "Tools|Environmet options..." menu
    2.2. go "Library" tab, "Library path" edit box
    2.3. add path to FastReport 4\FastScript, FastReport 4\Source, 
      FastReport 4\Source\BDE,ADO,IBX,DBX, FastReport 4\Source\ExportPack Step 3. Compile runtime packages
    3.1. repeat the 3.2-3.4 steps for the following packages:
    - FastReport 4\FastScript\fs*.dpk (* = your delphi version)
    - FastReport 4\FastScript\fsDB*.dpk
    - FastReport 4\FastScript\fsBDE*.dpk
    - FastReport 4\FastScript\fsADO*.dpk
    - FastReport 4\FastScript\fsIBX*.dpk
    - FastReport 4\FastScript\fsTee*.dpk
    - FastReport 4\Source\frx*.dpk
    - FastReport 4\Source\frxDB*.dpk
    - FastReport 4\Source\ADO\frxADO*.dpk
    - FastReport 4\Source\BDE\frxBDE*.dpk
    - FastReport 4\Source\IBX\frxIBX*.dpk
    - FastReport 4\Source\DBX\frxDBX*.dpk
    - FastReport 4\Source\frxTee*.dpk
    - FastReport 4\Source\ExportPack\frxe*.dpk
    3.2. open the package (by "File|Open project..." menu, select "Delphi
      package (*.dpk)" as a file type)
    3.3. press the "Compile" button
    3.4. close the "Package" dialogStep 4. Copy runtime packages to system folder
    4.1. copy the following files from the Delphi_dir\Projects\Bpl folder
      to the Windows\System32 folder (or Windows\System for Win9x/Me):
    - fs*.bpl (* = your delphi version)
    - fsDB*.bpl
    - fsBDE*.bpl
    - fsADO*.bpl
    - fsIBX*.bpl
    - fsTee*.bpl
    - frx*.bpl
    - frxDB*.bpl
    - frxADO*.bpl
    - frxBDE*.bpl
    - frxIBX*.bpl
    - frxDBX*.bpl
    - frxTee*.bpl
    - frxe*.bpl
    4.2. note for Delphi4 users: *.bpl files are sitting in the source folders,
      not in the Delphi_dir\Projects\Bpl folder:
      FastReport 4\FastScript, FastReport 4\Source, 
      FastReport 4\Source\BDE,ADO,IBX,DBX, FastReport 4\Source\ExportPackStep 5. Compile and install design-time packages
    5.1. repeat the 5.2-5.5 steps for the following packages:
    - FastReport 4\FastScript\dclfs*.dpk (* = your delphi version)
    - FastReport 4\FastScript\dclfsDB*.dpk
    - FastReport 4\FastScript\dclfsBDE*.dpk
    - FastReport 4\FastScript\dclfsADO*.dpk
    - FastReport 4\FastScript\dclfsIBX*.dpk
    - FastReport 4\FastScript\dclfsTee*.dpk
    - FastReport 4\Source\dclfrx*.dpk
    - FastReport 4\Source\dclfrxDB*.dpk
    - FastReport 4\Source\ADO\dclfrxADO*.dpk
    - FastReport 4\Source\BDE\dclfrxBDE*.dpk
    - FastReport 4\Source\IBX\dclfrxIBX*.dpk
    - FastReport 4\Source\DBX\dclfrxDBX*.dpk
    - FastReport 4\Source\dclfrxTee*.dpk
    - FastReport 4\Source\ExportPack\dclfrxe*.dpk
    5.2. open the package (by "File|Open project..." menu, select "Delphi
      package (*.dpk)" as a file type)
    5.3. press the "Compile" button
    5.4. press the "Install" button
    5.5. close the "Package" dialog, answer "NO" when Delphi asks to save changes!
      

  2.   


    http://hi.baidu.com/zscy/blog/item/e20fbf09e25f40256b60fb2a.html 
    Delphi7中手动安装FastReport v4的方法 http://hi.baidu.com/wangdeen/blog/item/8f6e1e303cc91099a8018e21.html 
    FastReport安装集锦-----------------------------------------------------------------------------------------------看你的过程应该没错啊   A. Select the compiler 设置为 Delphi6 
      B. Select the FR3 Version 设置为 Professional 
      C. Select the TeeChart version 设置为 TeeChart77 (如你用的是Delphi7中自带的版本这步可以不改) 
      D. What you want to do 下的 Change language To: 设置为:Recompile all packer 点Compile按钮。 
      E. What you want to do 下的 Change language To: 设置为:Chinese 再点Compile按钮。 -----------------------------------------------------------------------------------------------一、环境 
    1、Delphi 2006 (Version10.0.2151.25345) 
    2、FastReport4.5 full source,下载地址(www.ccrun.com) 
        这个版本支持Delphi 4~7, 2005, C++Builder 4~6, BDS2006, RAD Studio 2007 
    3、目录结构D:\EFine\控件\FastReport4.5,解压后目录结构如下: \Demos 
    \Extra 
    \FastQB 
    \FastScript 
    \Res 
    \Source 4、FastReport4.5包括 fs*.dpk    - FastScript, main package 
    fsDB*.dpk  - FastScript, DB classes and controls 
    fsBDE*.dpk  - FastScript, BDE components 
    fsADO*.dpk  - FastScript, ADO components 
    fsIBX*.dpk  - FastScript, IBX components 
    fsTee*.dpk  - FastScript, TeeChart components 
    frx*.dpk    - FastReport, main package 
    frxDB*.dpk  - FastReport, TDataSet wrapper (TfrxDBDataSet) 
    frxIBO*.dpk - FastReport, IB_Objects wrapper (TfrxIBODataSet) 
    frxBDE*.dpk - FastReport, end-user BDE components 
    frxADO*.dpk - FastReport, end-user ADO components 
    frxIBX*.dpk - FastReport, end-user IBX components 
    frxDBX*.dpk - FastReport, end-user DBX components 
    frxTee*.dpk - FastReport, TeeChart components 
    frxe*.dpk  - FastReport, export filters 二、重新编译FastReport4.5 1、运行D:\EFine\控件\FastReport4.5\recompile.exe,出现编译前的警告窗口: 
    您需要确认的是: 1) 您有写系统目录Windows\System32的权限; 2) 您未运行Delphi或者C++Builder; 3) 您未运行使用到FastReport或者是Fastscript runtime包的程序; 2、点击[Continue],出现编译选择选项窗口: 1) Select the compiler:选择 BDS 2006(Delphi, C++), Turbo Delphi/C++ Prof. 2) Select the FastReport version:Enterprise 3) Select the TeeChart version:TeeChartStd 4)What you want to do:Recompile all packages,并选中With debug info 3、点击[Comiple],程序提示重新编译后的文件在D:\EFine\控件\FastReport4.\LibD10 
    此时FastReport4.5的目录结构为 \Demos 
    \Extra 
    \FastQB 
    \FastScript \LibD10                重新编译后生成 
    \Res 
    \Source 其中Debug info fqb100.dpk compiled fs10.dpk compiled fsDB10.dpk compiled fsBDE10.dpk compiled fsADO10.dpk compiled fsIBX10.dpk compiled fsTee10.dpk compiled frx10.dpk compiled frxDB10.dpk compiled frxBDE10.dpk compiled frxADO10.dpk compiled frxIBX10.dpk compiled frxDBX10.dpk compiled frxTee10.dpk compiled frxe10.dpk compiled frxcs10.dpk compiled 
    dclfs10.dpk compiled dclfsDB10.dpk compiled dclfsBDE10.dpk compiled dclfsADO10.dpk compiled dclfsIBX10.dpk compiled dclfsTee10.dpk compiled dclfrx10.dpk compiled dclfrxDB10.dpk compiled dclfrxBDE10.dpk compiled dclfrxADO10.dpk compiled dclfrxIBX10.dpk compiled dclfrxDBX10.dpk compiled dclfrxTee10.dpk compiled dclfrxe10.dpk compiled dclfrxcs10.dpk compiled Done 三、安装控件 1、运行delphi2006 2、file\Open Project,选择D:\EFine\控件\FastReport4.\LibD10\dclfrx10.dpk 3、在Project Manager里右键dclfrx10.bpl,选择Install 4、dclfrx10注册完成提示 其它的空间包注册,请参考2、3、4步骤。 5、添加Library路径 在delphi2006里,选择Tools\Options,出现Options窗口: 
    将D:\EFine\控件\FastReport4.\LibD10添加到Library path中。 
    四、中文语言资源的安装 1、在目录FastReport4.5\LibD10下删除以下文件: 
        - frxrcClass.dcu 
        - frxrcDesgn.dcu 
        - frxrcInsp.dcu 
        - frxrcExports.dcu 2、运行FastReport4.5\res\chinese\mk.bat,它将从.frc文件make成.pas文件并拷贝到相关的FR文件夹里。 3、运行FastReport4.5目录下的recompile.exe,具体的步骤参考 英文说明(\res\chinese\install_res.txt) 1. Remove the following files from the FastReport 4\Lib folder: 
        - frxrcClass.dcu 
        - frxrcDesgn.dcu 
        - frxrcInsp.dcu 
        - frxrcExports.dcu 
      
    2. Go folder with desired language and run mk.bat file. This will make 
    .pas files from .frc files and copy them to all necessary FR folders. 3. Recompile the FastReport packages (see install.txt file, 
      section III or IV). Only frx*.dpk, frxe*.dpk packages need to 
      be recompiled ('*' = your Delphi version).   4、中文报表设计器 
      

  3.   

    我装了好几次了 没出错啊 用的是D7  步骤也是差不多的 不错貌似和Teechart8.0 有些冲突
      

  4.   

    发一份你的安装文件给我吧,谢谢了。[email protected]
      

  5.   

    你在找另个机器试试,有的是windows系统的事。