SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Thread: HTML Executable

  1. #1
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    HTML Executable

    I want to make a website into an executable so I can burn it onto CD and give to people at a launch. I found this piece of software here which seems like it will do the trick - http://www.freedownloadscenter.com/Reviews/r374.html - only I'm looking for something free or any other alternatives? Has anyone else done this before?

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Do you actually want it as an executable or to autorun once the CD is inserted, because the latter is much easier.

  3. #3
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    autorun would be brilliant if possible, can you show me the way?

  4. #4
    Ensure you finish what you sta bronze trophy John Colby's Avatar
    Join Date
    Aug 2003
    Location
    University of Central England, U.K.
    Posts
    487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Now I haven't tried it, but an ex colleague used to recommend http://www.ashzfall.com/products/autorun/ (freeware) and specifically http://www.ashzfall.com/products/aut...owsercall.html for html autoruns.
    John
    No electrons were harmed during the creation, transmission
    or reading of this posting. However, many were excited and
    some may have enjoyed the experience.

  5. #5
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There's no need to use an application to create it. All you need to do is use the following autorun.inf:

    Code:
    shellexecute=path\to\file.html
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  6. #6
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you explain that a bit more Jeff? I mean do I open Notepad insert that bit of code, save as autorun.inf? Then what next?

  7. #7
    SitePoint Wizard
    Join Date
    Aug 2002
    Location
    N.Ireland
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually it seems that command only applies to Win2K machines which I won't be running this cd on.

    Basically this html executable application will do the job but there's bound to be a free version of something similar!

  8. #8
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I have tried Autorun.inf Maker (see post #4) in the past and it seemed to work all right.

  9. #9
    "Of" != "Have" bronze trophy Jeff Lange's Avatar
    Join Date
    Jan 2003
    Location
    Calgary, Canada
    Posts
    2,063
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually it applies to any machine that has IE5+ Installed I believe.
    Who walks the stairs without a care
    It shoots so high in the sky.
    Bounce up and down just like a clown.
    Everyone knows its Slinky.

  10. #10
    SitePoint Zealot
    Join Date
    Nov 2002
    Location
    canada
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually did this for a school project a while back.

    Find a html complier. do a search on "ebook compiler" or something along those lines. an executable HTML file is bascially an ebook.

    Then create the autorun.inf file using notebad. See if you can find an autorun CD and just copy and paste the code over to your's, replacing the filename with your's. I would tell what the exact code is but I'm not home =)
    HostVoice.net - When Hosts Compete, You Win
    Looking for a web host? Let them compete for your business.
    Submit a free request and receive offers within 15 minutes
    from qualifying hosts - Personal, business, NT, dedicated!

  11. #11
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Daz
    I want to make a website into an executable so I can burn it onto CD and give to people at a launch.
    Two options:

    • Have the HTML files on the disk, and then wrtie an application to launch the files in a browser
    • Create a complied HTML viewer, which will have its own browsing interface


    The first option is easily done in any Windows programming language. In Delphi, (you can get a trial from www.borland.com) all you need is this:

    Code:
    ShellExecute(Handle, 'open',
      'index.htm',nil,nil, SW_SHOWNORMAL);
    That would launch the default web browser, and you are away.

    The second option, I've never gone down, so I can't really tell you what software to use...

    hth,
    Douglas
    Hello World


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •