Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ActiveX installation fail with object tag

3 views
Skip to first unread message

sanjayku...@gmail.com

unread,
Jul 23, 2007, 12:30:21 AM7/23/07
to
Hello All,

I am trying to package my activex DLL in a cab file. Here is how I am
referencing it from object tag within my web page.


<object classid="CLSID:E41C2D45-95C4-4438-8A77-E972311A765A"
codebase="http://localhost/download/myActiveX.CAB"></object>


When I load the html page in IE6 (On Vista), I see on the status bar
that IE is trying to install components from
the CAB, but nothing gets installed!!


I can see that CAB file is downloaded in "Temporary Internet Files"
Folder And since nothing is installed,
the activex component is never retrieved and registered.


1. CAB file is signed.
2. I am using correct CLSID in object tag, same as specified in INF
file


Here are INF file contains


; INF file for myActiveX
[Add.Code]
MyActiveX.dll=MyActiveX.dll


[MyActiveX.dll]
file-win32-x86=thiscab
FileVersion=1,0,0,0
clsid={E41C2D45-95C4-4438-8A77-E972311A765A}
destdir=11
hook=Hook1


[Hook1]
file-win32-x86=thiscab
run=%EXTRACT_DIR%\InstallmyActiveX.exe


[version]
; version signature (same for both NT and Win95) do not remove
signature="$CHICAGO$"
AdvancedINF=2.0
; end of INF file


Any ideas on what might be wrong?


Thanks
Sanjay

0 new messages