Results 1 to 5 of 5
  1. #1
    boynedmaster is offline Member
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    0

    Question How do I make an auto updater for my program?

    I'm making a program and I want it so that:
    1. There's a seperate program (only for me) that can change the download link on an HTML page
    2. A java class to check the download link, and if it is different, request an update.

    How do I do this?

  2. #2
    boynedmaster is offline Member
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    0

    Default Re: How do I make an auto updater for my program?

    Bump

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,548
    Rep Power
    23

    Default Re: How do I make an auto updater for my program?

    1)To change the contents of a page on a server you will need to either have code that executes on the server that you can give instructions to
    or be able to upload a new version of the page to the server.

    2)Where will the program execute that is to check the html page for a change? What would it do to request an update?
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    boynedmaster is offline Member
    Join Date
    Aug 2012
    Posts
    3
    Rep Power
    0

    Default Re: How do I make an auto updater for my program?

    1) Yeah. I'll have a download link whenever a new update comes. I want a program to change the HTML download with the file exe.
    2) They get a JFrame prompt that says "New update. Would you like to install now?"
    And two buttons that say yes or no.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,442
    Rep Power
    18

    Default Re: How do I make an auto updater for my program?

    Can I suggest looking up Java Web Start and jnlp?
    It does all this for you.

    But if you want to do this by hand, you need a launcher that goes off and checks for the update. If there is one the you show the JFrame, if not then it launches the application itself.
    Please do not ask for code as refusal often offends.

Similar Threads

  1. How to make Combo box Auto Complete/Type Ahead?
    By sandeep43 in forum New To Java
    Replies: 3
    Last Post: 09-06-2011, 07:49 AM
  2. Replies: 4
    Last Post: 07-23-2011, 08:08 PM
  3. Replies: 2
    Last Post: 03-29-2010, 05:33 PM
  4. Making a program auto restarter in java!
    By g123456 in forum New To Java
    Replies: 4
    Last Post: 12-31-2009, 11:33 AM
  5. Auto-complete/Auto-fix for custom statement
    By dark_cybernetics in forum Eclipse
    Replies: 0
    Last Post: 08-19-2008, 11:19 AM

Posting Permissions

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