cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dandirk
Level 3

Create msi from activeX controls

ok I am what I would call intermediate noob... I pretty much know the basics of installshield to create msts and simple installers, property changes etc...

I am trying to create an msi that will install activex controls for IE. The activeX controls are in cab format some as simple as 1 dll and 1 inf... A few look to be more complicated (a copy of an inf is below).


I am at pretty much of a loss where to start... Any pointers to a how to etc would be very helpful.

Essentially I want to convert activex cab installers to msi. The end goal is to pre-install the activex controls on our managed workstations.

EXAMPLE of COMPLEX INF:


;INF file for AIC_ViewerAS.ocx
;DestDir can be 10 for Windows directory, 11 for Windows\System(32) directory, or left blank for the Occache directory.

[version]
signature="$CHICAGO$"
AdvancedINF=2.0

[DefaultInstall]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry

[Add.Code]
AIC_ViewerAS2.ocx=AIC_ViewerAS2.ocx
PixImgCtrl.ocx=PixImgCtrl.ocx
ahshttpfile.ocx=ahshttpfile.ocx
PixAnnot.dll=PixAnnot.dll
Pixdfltn.dll=Pixdfltn.dll
Pixfpack.pxn=Pixfpack.pxn
Pixiftif.pxj=Pixiftif.pxj
1775576.CHN=1775576.CHN
Pixjpeg.pxj=Pixjpeg.pxj
Pixlocn.dll=Pixlocn.dll
Pixmdln.dll=Pixmdln.dll
Pixmisis.pxn=Pixmisis.pxn
Pixmulti.pxj=Pixmulti.pxj
pixn1020.dll=pixn1020.dll
pixn1120.dll=pixn1120.dll
pixn1320.dll=pixn1320.dll
pixn1520.dll=pixn1520.dll
pixn20.dll=pixn20.dll
Pixpermn.dll=Pixpermn.dll
Pixtg4.pxj=Pixtg4.pxj
Pixtiffn.dll=Pixtiffn.dll
Frompixm.pxn=Frompixm.pxn
F_pixif.pxn=F_pixif.pxn
PixImgCtrl.lic=PixImgCtrl.lic
[RInstallApplicationFiles]
CopyFiles=install.files
RegisterOCXs=RegisterFiles
AddReg=AddToRegistry

[DestinationDirs]
install.files=11

[SourceDisksNames]
1=%DiskName%,AIC_ViewerAS2.CAB,1


[install.files]
AIC_ViewerAS2.ocx=AIC_ViewerAS2.ocx
PixImgCtrl.OCX=PixImgCtrl.OCX
ahshttpfile.ocx=ahshttpfile.ocx
PixAnnot.dll=PixAnnot.dll
Pixdfltn.dll=Pixdfltn.dll
Pixfpack.pxn=Pixfpack.pxn
Pixiftif.pxj=Pixiftif.pxj
1775576.CHN=1775576.CHN
Pixjpeg.pxj=Pixjpeg.pxj
Pixlocn.dll=Pixlocn.dll
Pixmdln.dll=Pixmdln.dll
Pixmisis.pxn=Pixmisis.pxn
Pixmulti.pxj=Pixmulti.pxj
pixn1020.dll=pixn1020.dll
pixn1120.dll=pixn1120.dll
pixn1320.dll=pixn1320.dll
pixn1520.dll=pixn1520.dll
pixn20.dll=pixn20.dll
Pixpermn.dll=Pixpermn.dll
Pixtg4.pxj=Pixtg4.pxj
Pixtiffn.dll=Pixtiffn.dll
Frompixm.pxn=Frompixm.pxn
F_pixif.pxn=F_pixif.pxn

[SourceDisksFiles]
AIC_ViewerAS2.ocx=1
PixImgCtrl.OCX=1
ahshttpfile.ocx=1
PixAnnot.dll=1
Pixdfltn.dll=1
Pixfpack.pxn=1
Pixiftif.pxj=1
Pixjpeg.pxj=1
Pixlocn.dll=1
Pixmdln.dll=1
Pixmisis.pxn=1
Pixmulti.pxj=1
pixn1020.dll=1
pixn1120.dll=1
pixn1320.dll=1
pixn1520.dll=1
pixn20.dll=1
Pixpermn.dll=1
Pixtg4.pxj=1
Pixtiffn.dll=1
Frompixm.pxn=1
F_pixif.pxn=1
PixImgCtrl.lic=1

[AIC_ViewerAS2.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={CE10AD66-84BC-46A9-9424-C863199C0408}
DestDir=
FileVersion=2,0,0,110

[ahshttpfile.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={D0E5B249-523D-47FB-ACD1-1490442F03F7}
DestDir=11
FileVersion=10,2,1,0

[PixImgCtrl.ocx]
file-win32-x86=thiscab
RegisterServer=yes
clsid={F82729F9-F8C4-48FE-AEB1-771C45DF60C1}
DestDir=11
FileVersion=1,2,0,28

[PixAnnot.dll]
file-win32-x86=thiscab
RegisterServer=yes
clsid={02c5bd41-c704-11d2-b892-0020af3e29f3}
DestDir=11
FileVersion=56,3,11,1571

[Pixdfltn.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,4,260,1921

[Pixlocn.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,24,1571

[Pixmdln.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,4,357,1810

[pixn20.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=1,0,0,21

[pixn1020.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=1,0,0,30

[Pixn1120.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=1,0,0,25

[Pixn1320.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=1,0,0,12

[Pixn1520.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=1,0,0,3

[pixpermn.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,50,1586

[pixtiffn.dll]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,218,1586

[pixiftif.pxj]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,1,218,1571

[Pixjpeg.pxj]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,1,42,1571

[Pixmulti.pxj]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,1,26,1571

[Pixtg4.pxj]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,1,11,1571

[F_pixif.pxn]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,39,1571

[Frompixm.pxn]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,49,1571

[Pixfpack.pxn]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,36,1571

[Pixmisis.pxn]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=56,3,17,1571

[1775576.CHN]
file-win32-x86=thiscab
RegisterServer=no
DestDir=
FileVersion=56,1,20,1272

[PixImgCtrl.lic]
file-win32-x86=thiscab
RegisterServer=no
DestDir=11
FileVersion=0,0,0,0

[MSVBVM60.DLL]
hook=MSVBVM60.cab_Installer
FileVersion=6,0,89,64

[MSVBVM60.cab_Installer]
file-win32-x86=MSVBVM60.cab
InfFile=MSVBVM60.inf

[Setup Hooks]
AddToRegHook=AddToRegHook

[AddToRegHook]
InfSection=DefaultInstall2

[DefaultInstall2]
AddReg=AddToRegistry


[AddToRegistry]
HKLM,"SOFTWARE\Classes\CLSID\{CE10AD66-84BC-46A9-9424-C863199C0408}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}"
HKLM,"SOFTWARE\Classes\CLSID\{CE10AD66-84BC-46A9-9424-C863199C0408}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}"
HKCR,"Licenses",,,"Licensing: Copying the keys may be a violation of established copyrights."

[RegisterFiles]
rem %11%\PixAnnot.dll
rem %11%\PixImgCtrl.OCX
rem %11%\AIC_ViewerAS2.ocx
Labels (1)
0 Kudos
(1) Reply
jaysullivan
Level 3

Hi Dan,

Did you ever get anywhere with this? I'm looking to do the same thing. My users run into all kinds of problems getting ActiveX controls to install through IE, so I'm hoping to turn those CAB files into an MSI package.
0 Kudos