Hi!
I have created an activeX and a MSI file to install it, and it works perfectly in Internet Explorer 8 if I install it manually.
I have also created a CAB file with an INF like this:
[version]
signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1
[hook1]
run=msiexec.exe /i """%EXTRACT_DIR%\IAGActiveXNetSetup.msi""" /qf
so the activeX is installed automatically when an user visits my webpage. When that happens, the installer is executed, and the installation completes, but the activeX is not loaded in the webpage. I have to close Internet Explorer and reopen it for the activeX control is loaded.
The error I am getting in the first visit to the webpage is
*** Code Download Log entry (05 Jan 2010 @ 14:46:11) ***
Code Download Error: (hr = 80070002) El sistema no puede encontrar el archivo especificado.
Operation failed. Detailed Information:
CodeBase: http://localhost/iag/dotnet/bin/IAGActiveXNet.cab
CLSID: {577BF17F-B59A-4DA5-965E-7834044030B3}
Extension:
Type:
LOG: Setup Hook hook1 was executed successfully.
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: URL Download Complete: hrStatus:0, hrOSB:0, hrResponseHdr:0, URL:(http://localhost/iag/dotnet/bin/IAGActiveXNet.cab)
LOG: Setup Hook hook1 was executed successfully.
LOG: Setup successful installing: IAGActiveXNet.inf to (null) destination code(0)
LOG: Reporting Code Download Completion: (hr:80070002, CLASSID: 577bf17f..., szCODE:(http://localhost/iag/dotnet/bin/IAGActiveXNet.cab), MainType:(null), MainExt:(null))
However, as I said, I close and reopen the Explorer and... there it is! The control is loaded.
It this a common problem? Am I missing any important point?
Thank you!