Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Off-topic - apologies in adv!: INF file issue..

Status
Not open for further replies.

ChainsawJoe

Programmer
Dec 5, 2000
154
GB
I apologise for the off-topic posting - the ActiveX forums are soooo quiet that I'm not expecting much of a response from there, and I really need anyone with one iota of knowledge about INF files, CAB files, dlls etc to help me out. I'm sorry I'm sorry I'm sorry! please forgive me and see if you can help figure this out!

I have a dead simple INF file within a signed CAB file which is supposed to register a dll on a user's pc.

Right-clicking the INF file and selecting "Install" on my local machine, yields success.

Putting the INF and the dll into a CAB file, signing it, putting it in a web page OBJECT tag, and browsing there - failure to register the dll.

After checking the "downloaded progs install failure log" thingy (using MS's "Code Down Load Log Viewer" - CDLLOGVW.exe), I find the error as:
Code:
*** Code Download Log entry (28 Apr 2004 @ 15:27:11) ***
Code Download Error: (hr = 80040154) Class not registered

Operation failed. Detailed Information:
     CodeBase: [URL unfurl="true"]http://www.mydomain.com/mycab.CAB[/URL]
     CLSID: {A8809076-71C2-4B90-8DD6-6BF107F4F029}
     Extension: 
     Type: 

LOG: Setup Hook (null) was executed successfully.
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: URL Download Complete: hrStatus:0, hrOSB:1, hrResponseHdr:0, URL:([URL unfurl="true"]http://www.mydomain.com/mycab.CAB)[/URL]
LOG: Setup Hook (null) was executed successfully.
LOG: Setup successful installing: myinf.INF to (null) destination code(0)
LOG: Reporting Code Download Completion: (hr:80040154, CLASSID: a8809076..., szCODE:([URL unfurl="true"]http://www.mydomain.com/mycab.CAB),[/URL] MainType:(null), MainExt:(null))

Which is luverly.

Here's the abbrev. INF file
Code:
;--------------------------------------------------------------------------------------------------
[Version]
Signature = "$Chicago$"
;--------------------------------------------------------------------------------------------------
[DefaultInstall]
CopyFiles = LaunchInIE_CopyDll
RegisterDlls = LaunchInIE_RegisterDll
;--------------------------------------------------------------------------------------------------
[SourceDiskNames]
1 =, "Common Files",,
;--------------------------------------------------------------------------------------------------
[SourceDiskFiles]
LaunchInIE.dll = 1
;--------------------------------------------------------------------------------------------------
[DestinationDirs]
LaunchInIE_CopyDll = 11
;--------------------------------------------------------------------------------------------------
[LaunchInIE_CopyDll]
LaunchInIE.dll
;--------------------------------------------------------------------------------------------------
[LaunchInIE_RegisterDll]
11,,LaunchInIE.dll,1

Can anyone help me with this? Does the dll have to have been registered on the webserver in order for the CLSID to mean anything? I'll give that a go anyway..

Any help - PLEEEEZ!! I'm getting quite desperate to get this finished...!!

[peace]

CJ

--------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top