ActiveX Object, redirection if installation fails

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cornelius

    #1

    ActiveX Object, redirection if installation fails

    Hi,

    I have an object tag in my html page.
    I try to install an MSXML-ActiveX
    ..
    ..
    ..
    <OBJECT id="MSXML4"
    classid="clsid: 88d969c0-f192-11d4-a65f-0040963251e5"
    codebase="http://www..../msxml4.cab#vers ion=4,10,9404,0 "
    type="applicati on/x-oleobject"
    STYLE="display: none"
    standby="ww">
    Alternative Text
    </OBJECT>

    The "Alternativ e Text" is shown, if installing fails. Cause could be:
    No admin rights.

    Instead of showing such a text, I want to redirect to another url, to
    show help for installing manually.

    How can I?

    Thanks in advance

    Cornelius
  • Laurent Bugnion, GalaSoft

    #2
    Re: ActiveX Object, redirection if installation fails

    Hi,

    Cornelius wrote:
    [color=blue]
    > Hi,
    >
    > I have an object tag in my html page.
    > I try to install an MSXML-ActiveX
    > .
    > .
    > .
    > <OBJECT id="MSXML4"
    > classid="clsid: 88d969c0-f192-11d4-a65f-0040963251e5"
    > codebase="http://www..../msxml4.cab#vers ion=4,10,9404,0 "
    > type="applicati on/x-oleobject"
    > STYLE="display: none"
    > standby="ww">
    > Alternative Text
    > </OBJECT>
    >
    > The "Alternativ e Text" is shown, if installing fails. Cause could be:
    > No admin rights.
    >
    > Instead of showing such a text, I want to redirect to another url, to
    > show help for installing manually.
    >
    > How can I?
    >
    > Thanks in advance
    >
    > Cornelius[/color]

    The easiest and most reliable way is to replace the "Alternativ e text"
    by a link to the help page. For example:

    Installation failed, <A HREF="help.html ">Click</A> for help.

    Laurent
    --
    Laurent Bugnion, GalaSoft
    Webdesign, Java, JavaScript: http://www.galasoft-LB.ch
    Private/Malaysia: http://mypage.bluewin.ch/lbugnion
    Support children in Calcutta: http://www.calcutta-espoir.ch

    Comment

    • kiran

      #3
      Re: ActiveX Object, redirection if installation fails

      Try this,


      <OBJECT id="MSXML4"
      classid="clsid: 88d969c0-f192-11d4-a65f-0040963251e5"
      codebase="http://www..../msxml4.cab#vers ion=4,10,9404,0 "
      type="applicati on/x-oleobject"
      STYLE="display: none"
      standby="ww">
      Alternative Text
      </OBJECT>

      <script>
      //if msxml4 is not installed
      if( !document.MSXML 4 ){
      document.loctio n.href = "SomePage.h tml"
      }

      </script>

      Hope this helps you,
      Kiran Makam

      Comment

      Working...