How to make a webstie self execute

Discussion in 'HTML & Website Design' started by tanay46, Dec 17, 2008.

  1. #1
    Hey, does anyone know how to make a site self execute, as in, without it being on the web, one can execute it. maybe an exe file or stin?
     
    tanay46, Dec 17, 2008 IP
  2. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #2
    OH WOW - there aren't even WORDS that will accurately capture how bone-meltingly SCARY this post sounds to me.

    What it sounds like to me is malware or something creepy like that.

    Please explain the functionality you're looking for, when your site opens, how it opens, where this file would be stored so we can hopefully begin to think of possible solutions.

    If you just want a site that people can view, any HTML files can be viewed from a local drive. If you put a static HTML website on a CD and gave it to anybody in the world, they could view it without being online.

    Now, databases and PHP and all that goodness require a little something along the lines of a web server to run. That's not going to be very easy, if possible at all (unless you're distributing this to a select few using a specific hardware and software configuration)

    It's not uncommon for files like README's to be saved in HTML format to give them a little extra formatting and goodness, I know the Sauerbraten documentation is a very extensive 'offline website' that far surpasses anything they have on their actual website as far as game documentation goes.

    As for an EXE or something worse - windows only, and people don't like 'em. If you try to have an EXE auto-execute that screams 'I'm a Virus!' to any virus scanner worth it's weight in AOL cd's.

    Please be more clear so we can help you.
     
    innovati, Dec 18, 2008 IP
  3. tanay46

    tanay46 Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, i need to submit a site for a competiton, And i need to send it on a cd, any they said that they should be able to view it without any third part programmes or wtv.
     
    tanay46, Dec 18, 2008 IP
  4. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #4
    Create a file called AUTORUN.INF, and put something like this in it:

    [autorun]
    ShellExecute=index.html
    icon=index.html

    SO on your CDR you should have:
    AUTORUN.INF
    index.html
    etc...

    That should work on most Windows machines. No idea how to do it on Linux or Mac.

    Click this for more information
    -----
     
    Kerosene, Dec 18, 2008 IP
  5. Yesideez

    Yesideez Peon

    Messages:
    196
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    As innovati has partially said - you'll only be able to use HTML but you'll also be able to use CSS and Javascript along with Flash and a couple other bits and pieces. As for user interactivity - nope as you'll need a server of sorts at hand.

    Kerosene has posted something I'd forgotten about that I have used for a picture gallery for a relative. Insert the CD into the drive and Windows will start it automatically calling up a browser pointing to index.html.
     
    Yesideez, Dec 18, 2008 IP
  6. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #6
    the autorun.inf auto-start thing will try to auto-run it. And most smart windows users will have autorun turned off so this may be seen as a rude gesture, you trying to overpower their user control.

    If they are professionals and judging this thing I'm sure they have the technical wherewithall to insert a DVD and open the file.

    Also, the autorun thing assumes they they are running windows. It only have a chance of running on windows.

    So, for professionalism's sake, I think it would be smarter and nicer not to try to autorun, or to throw potentially totally useless files in there if they've got a mac - it sure won't help you.
     
    innovati, Dec 18, 2008 IP