http://bugs.winehq.org/show_bug.cgi?id=32202
Bug #: 32202 Summary: ActiveX install attempts to run wrong inf section Product: Wine Version: 1.5.17 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advpack AssignedTo: wine-bugs@winehq.org ReportedBy: joel@airwebreathe.org.uk Classification: Unclassified
In install_cab_file in axinstall.c, RunSetupCommandW is used to install ActiveX controls from their INF files in the CAB.
A typical INF file might look like this:
http://msdn.microsoft.com/en-us/library/aa751974%28v=vs.85%29.aspx#Creating_...
The one I'm working with looks like this:
---- SNIP ---- ; INF file for install activex
[version] signature="$CHICAGO$" AdvancedINF=2.0
[Add.Code] AxUMF.ocx=AxUMF.ocx UMFTracer.dll=UMFTracer.dll
[UMFTracer.dll] file-win32-x86=thiscab FileVersion=1,0,3,4181 DestDir=11
[AxUMF.ocx] file-win32-x86=thiscab FileVersion=2,1,1,5830 clsid={D3BBBE84-3866-4FA1-A4D4-EFA9B9FE611D} RegisterServer=yes ---- SNIP ----
RunSetupCommandW is always invoked with szInfSection=NULL, which causes it to attempt to use the [DefaultInstall] section which is not present.