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.
http://bugs.winehq.org/show_bug.cgi?id=32202
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |jacek@codeweavers.com Ever Confirmed|0 |1
--- Comment #1 from Jacek Caban jacek@codeweavers.com 2012-11-12 07:12:08 CST --- (In reply to comment #0)
A typical INF file might look like this:
http://msdn.microsoft.com/en-us/library/aa751974%28v=vs.85%29.aspx#Creating_...
Actually, both [DefaultInstall] and [Add.Code] should be supported. And yeah, [Add.Code] is not yet implemented in Wine.
http://bugs.winehq.org/show_bug.cgi?id=32202
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|advpack |urlmon
http://bugs.winehq.org/show_bug.cgi?id=32202
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=32202
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
--- Comment #2 from Austin English austinenglish@gmail.com --- Is this still an issue in current (1.7.36 or newer) wine? If so, please attach terminal output.
https://bugs.winehq.org/show_bug.cgi?id=32202
--- Comment #3 from Joel Holdsworth joel@airwebreathe.org.uk --- I tested this a couple of weeks ago. It still fails in the same way for the same reason.
https://bugs.winehq.org/show_bug.cgi?id=32202
--- Comment #4 from Joel Holdsworth joel@airwebreathe.org.uk --- I just retested on Wine v2.4, and this issue is still present.
https://bugs.winehq.org/show_bug.cgi?id=32202
--- Comment #5 from Joel Holdsworth joel@airwebreathe.org.uk --- And still a problem on Wine v2.9
https://bugs.winehq.org/show_bug.cgi?id=32202
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Was this fixed by: https://source.winehq.org/git/wine.git/commit/185bcc4523c5827a78a56c63735f1a... ?
https://bugs.winehq.org/show_bug.cgi?id=32202
--- Comment #7 from Joel Holdsworth joel@airwebreathe.org.uk --- It is indeed!
https://bugs.winehq.org/show_bug.cgi?id=32202
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |185bcc4523c5827a78a56c63735 | |f1a5f502e999b Status|NEW |RESOLVED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Fixed.
https://bugs.winehq.org/show_bug.cgi?id=32202
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=32202
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=32202
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.5.