PDA

View Full Version : Web plug-in install using <OBJECT> tag



skyfox
07-25-2002, 03:59 PM
Hi,

I have successfully generated a web install (media type = web in the release wizard). All is well with the install except for one thing. Since my program is a plug in, once it is downloaded and installed, it should only be downloaded again if the version number has changed. I am installing SOAP from Microsoft as part of my Plug-in and AM REQUIRED to user there MSM file. My target audience will always be using Internet Explorer 5.0 or later.

In my situation since no entry is every placed in the DOWNLOADED PROGRAM FILES directory, therefore the <OBJECT> tag excutes every time and tries to re-install my program since the <OBJECT> tag can not tell that the product has already been installed.

How would I setup my build and/or web page so that it only downloads when necessary? I do not want the end user to be prompted at all, except to see the signed code message box that is used.

skyfox
07-29-2002, 03:36 PM
Well, no help from anyone, but I did manage to work around the problem, so here it is for the next poor person.

Since the object tag references the CLSID of the Install Shield Project (or version or whatever ti is ) and since this CLSID is never "really" installed, I changed the CLSID of the OBJECT tag to be the CLSID of the MSSOAP30.DLL which is the primary DLL. This way if the .DLL has been previously installed, IE's Component Download logic will find this DLL and not bother to download and run my CAB file with the SETUP.EXE in it.