title: Auto Install activeX
body: <p>I'm a web developer and my current task is to build an ActiveX component. </p>
  
  <p>It's the first time I have to work with ActiveX and I managed to make an working example.</p>
  
  <p>However I cannot make the ActiveX install from a browser. When installing it using visual studio 2008 and running the web page all works as expected, when I don't have it installed I would expect something similar to windows updates asking me if I allow the installation but this does not happen....</p>
  
  <p>Here is how I'm placing it in the web page:</p>
  
  <pre><code>&lt;object id="myActiveX" name="myActiveX" classid="clsid:A68B19C8-9DB4-49e4-912F-37FB44968528"
                   codebase="http://localhost/myWebSite/install.cab#version=1,0,0,0"&gt;&lt;/object&gt;
  </code></pre>
  
  <p>The guid in the classId matches the guid I created for my class.</p>
  
  <p>Can anyone point out what I'm missing? </p>
  
  <p>Edit:</p>
  
  <p>Forgot to mention this, I have a Setup Project for my ActiveX that generates an .msi and an Setup.exe</p>
  
  <p>i have made a cab file with those using a .inf file as so:</p>
  
  <pre><code>[version]
  signature="$CHICAGO$"
  AdvancedINF=2.0
  [Setup Hooks]
  hook1=hook1
  
  [hook1]
  run=msiexec.exe /i %EXTRACT_DIR%\Install.msi /qf
  </code></pre>