6

我需要向我的用户推出 Crystal Reports Active X 打印控件,因为他们无法访问自己的机器来自行安装它。理想情况下,我想通过可以通过组策略推出的 MSI 来执行此操作。

下面是 CAB 中的 .inf 文件。根据我的阅读,我相信我可以在 Visual Studio 的“安装项目”中重新打包它,但我正在寻找一些关于如何去做的建议。

[version]
    signature="$CHICAGO$"   
    AdvancedINF=2.0   
[Add.Code]
    PrintControl.dll=PrintControl.dll
    csprintdlg.dll=csprintdlg.dll
    pvlocale-1-0.dll=pvlocale-1-0.dll   
    xerces-c_2_7.dll=xerces-c_2_7.dll
    msvcr80.dll=msvcr80.dll
    Microsoft.VC80.CRT.manifest=Microsoft.VC80.CRT.manifest
    LCIDTable.xml=LCIDTable.xml
[PrintControl.dll]
    file-win32-x86=thiscab   
    CLSID={B7DA1CA9-1EF8-4831-868A-A767093EA685}
    FileVersion=13,0,0,99
    RegisterServer=yes 
[pvlocale-1-0.dll]
    file-win32-x86=thiscab  
    FileVersion=13,0,0,99
[csprintdlg.dll]
    file-win32-x86=thiscab  
    FileVersion=13,0,0,99
[xerces-c_2_7.dll]
    file-win32-x86=thiscab  
    FileVersion=14,0,0,716
[msvcr80.dll]
    file-win32-x86=thiscab
    FileVersion=8,0,50727,4053
[Microsoft.VC80.CRT.manifest]
    file-win32-x86=thiscab
[LCIDTable.xml]
    file-win32-x86=thiscab
4

1 回答 1

1

仅当 CAB 信息存储在 MSI 数据库(文件和文件夹)中时,MSI 包才能部署 CAB。因此,推荐的方法是提取 CAB 内容并将其手动添加到 MSI 中。

于 2011-02-17T08:05:09.633 回答