6

I need to push out a Crystal Reports Active X Print Control to my users, as they do not have access to their own machines to install it themselves. Ideally I'd like to do this via an MSI that I can push out via group policy.

Below is the .inf file from within the CAB. From what I've read, I believe I can repackage this in a "setup project" in Visual Studio, but I'm looking for some advice on how to go about that.

[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
Ken Pespisa
  • 21,989
  • 3
  • 55
  • 63

1 Answers1

1

MSI packages can deploy CABs only if the CAB information is stored in the MSI database (files and folders). So the recommended approach would be to extract the CAB content and add it in a MSI manually.

Cosmin
  • 21,216
  • 5
  • 45
  • 60
  • I started down that path, but was looking for some more information on how to translate the CAB to an MSI. Seems I can make my setup project write to the registry, add files, execute files, etc. I guess I need to know if a) this .inf file is the instruction list for the CAB file, and if not, what is? and b) what is this .inf file telling the OS to do so I can do the same in my installer. – Ken Pespisa Feb 17 '11 at 14:23
  • I think this explains the INF file: http://msdn.microsoft.com/en-us/library/3h8ff753(VS.80).aspx#_vccore_creating_an_inf_file – Cosmin Feb 17 '11 at 15:09