Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 16 Oct 2007 14:23:29 -0700,    group: microsoft.public.inetsdk.programming.webbrowser_ctl        back       


Updating the BHO packaged as ActiveX   
My BHO is packaged to a cab file along with accompanying .inf, as most
of the ActiveX installers do.

On the web page which installs my BHO, I'm using the object tag to
have the BHO downloaded and extracted:

<object classid="clsid:6E1CBEC2-762E-4840-964B-1F2F36D107F1"
codebase="XXXXXXXXXXXX.cab#version=1,0,0,3" name="XXXXXXXXXXXX_object"
height=0 width=0></object>

I have a major problem with updating an existing version though.
Obviously the BHO dll file is in use, and the installation silently
succeeds (but the dll isn't updated properly).

During the installation I do register an uninstaller so that the users
can manually remove an old version of the BHO, but it's the customer
requirement to allow updating it without requiring to uninstall an old
version.

According to this article
http://support.microsoft.com/default.aspx?scid=%2Fservicedesks%2Fwebcasts%2Fen%2Fwc042500%2Fwct042500.asp
it should be possible to update the files in use after browser restart
(when installing an ActiveX) but this is definitely not an option for
me.

I also know that it's possible to download & run a regular .exe
installer packaged to a .cab file, but the customer dislikes this idea
as it should take more steps for the user to install the component.

Do you think it's possible to update a BHO installed from IE without
using external installer?
Any help would be very appreciated.
date: Tue, 16 Oct 2007 14:23:29 -0700   author:   Alexey Petuschak

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us