[Bug 32202] New: ActiveX install attempts to run wrong inf section

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 12 07:06:33 CST 2012


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 at winehq.org
        ReportedBy: joel at 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__inf_Fi

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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list