Click here to Skip to main content
15,883,705 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I have created one activeX using com Component.
I could do it succesfully.
I have also created msi file which register my activeX dll in system.

Now i want my browser to register my activeX dll in system.
Or my browser to prompt me for setup installation which will automatically register my activeX.

I have already created my cab file which has msi and inf file
details are as follows

inf file details..

[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1

[hook1]
run=msiexec.exe /i "%EXTRACT_DIR%\AdstringoSetup.msi" /qn


Html code to register and install my msi file
<object name="secondobj" style='display:none' id='TestActivex'
classid="CLSID:121C3E0E-DC6E-45dc-952B-A6617F0FAA32"
codebase="OurActiveX.cab#version=1,0,0,0"></object>

Kindly help me fix this as i am struggling nearly from 5 days.

references
http://www.codeproject.com/Articles/19614/Downloading-C-ActiveX-Components-through-CAB-File

http://www.dreamincode.net/forums/topic/38890-activex-with-c%23/

http://www.codeproject.com/Articles/24089/Create-ActiveX-in-NET-Step-by-Step


Regards,
SUNIL MALI.
Posted
Updated 14-Feb-14 19:24pm
v2

1 solution

 
Share this answer
 
Comments
sunil mali 17-Feb-14 0:13am    
Hello sir,

First link doesn't have activex registration through setup or using of cab file to install in ie.
This will not help me
and i tried second link with .cab file which i have but no results.

Browser pops me for opening .cab but after that it doesn't ask for setup installation.
sunil mali 27-Feb-14 8:59am    
Somebody please help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900