html setup file

This is a discussion on html setup file within the Tech Board forums, part of the Community Boards category; I'm trying to use a html file as a front for installing some applications... but it doesn't want to open ...

  1. #1
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429

    html setup file

    I'm trying to use a html file as a front for installing some applications... but it doesn't want to open the setup files:

    I'm using this:
    Code:
    <p class="other"><a href="\resources\MSASYNC.EXE">MS ActiveSync</a>&nbsp;&nbsp;&nbsp;
    (must be installed to connect to handheld device)</p>
    with no luck....

    Anyone?? Do I need to do something with the target? I'm going to be doing all this from a cd, and all the folders exist...

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    >>Do I need to do something with the target?
    No.

    Maybe:
    <a href="setup.exe">Run Setup</a>
    This assumes that setup.exe is in the same directory as the HTML page that this anchor tag is in.

    or use relative sub-dirs:
    <a href="progs/setup.exe">Run Setup</a>

    Or, you can be explicit:

    <a href="file://c:/setup.exe">Run Setup</a>
    (something like that, I can't remember the exact syntax)

    Whatever you use, it should load the save dialogue box (or do whatever it does with .exe files)
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    OK, I fixed that part by taking off the first "\".

    Now it warns me about it being a potentially harmful virus... I'm guessing there's no way to disable that warning

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Originally posted by ober5861
    OK, I fixed that part by taking off the first "\".

    Now it warns me about it being a potentially harmful virus... I'm guessing there's no way to disable that warning
    Well, it is an exe you're asking the user to run, so I guess not. Of course, this is totally dependant on what's installed on the PC, what browser it's using and how it's configured.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    True. Ok, I guess I can live with that. Thanks for the quick replies Hammer.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  4. Game Pointer Trouble?
    By Drahcir in forum C Programming
    Replies: 8
    Last Post: 02-04-2006, 01:53 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 01:58 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21