[COVEY] Updating Client

Discussion in 'Programming General' started by dgameman1, Mar 25, 2008.

[COVEY] Updating Client
  1. Unread #21 - Mar 26, 2008 at 3:14 AM
  2. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    [COVEY] Updating Client

    True.
     
  3. Unread #22 - Mar 26, 2008 at 3:16 AM
  4. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    [COVEY] Updating Client

    Why? Is there a better way? Or is it just the misunderstandings, etc?
     
  5. Unread #23 - Mar 26, 2008 at 5:22 AM
  6. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    [COVEY] Updating Client

  7. Unread #24 - Mar 26, 2008 at 5:58 AM
  8. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [COVEY] Updating Client

    I'm not sure if it's possible in VB6, but an easy way to update the GUI could be to place all program information in a .xml file (contols, where they are, what they do etc) or other format, initialize and create everything at startup and use a script parser to tell which button what to do. Then to update the GUI, rather than updating the core files unless you need to, you could just download the .xml file.

    Same goes for anything else really. Create a separate file with the info, then just make your own code to parse it.

    Sorry if I sound like I have no clue, I'm way too tired.
     
  9. Unread #25 - Mar 26, 2008 at 8:29 AM
  10. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    [COVEY] Updating Client

    Do what I did with anything RS related. Quit.
     
  11. Unread #26 - Mar 26, 2008 at 8:52 AM
  12. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    [COVEY] Updating Client

    An updater doesn't have to be runescape related.

    Although this one probably is :p
     
  13. Unread #27 - Mar 26, 2008 at 7:04 PM
  14. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Ohhh k im starting to get it now.. So it when i open the client is checks its version against what number it says in the .txt named version. And if it needs updateing, the client closes itself and opens the other .exe called updater and the updater uses the inet to go on the website that has the new version and downloads the new stuff?
     
  15. Unread #28 - Mar 27, 2008 at 4:57 AM
  16. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    [COVEY] Updating Client

    Yea pretty much.
     
  17. Unread #29 - Mar 27, 2008 at 6:35 PM
  18. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    [COVEY] Updating Client

    ^ rofl...
     
  19. Unread #30 - Mar 27, 2008 at 10:33 PM
  20. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    care to explain in more depth?
     
  21. Unread #31 - Mar 28, 2008 at 6:53 AM
  22. Stuart
    Joined:
    May 5, 2005
    Posts:
    1,580
    Referrals:
    2
    Sythe Gold:
    10

    Stuart Guru
    Banned

    [COVEY] Updating Client

    1) You open your client.
    2) Before doing anything make it load a txt file on your website with a version number in it and have it check the version variable in your client.
    3) If it is out of date it will open up the updater tool and close down the client meaning it can now be edited.
    4) The updater will download the latest client if possible otherwise it will show the error.
    5) After it has updated it will show a button which when clicked will run the updated client executable and close the updater program.
    6) Your program has been updated and should run normally.
     
  23. Unread #32 - Mar 28, 2008 at 8:22 AM
  24. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    [COVEY] Updating Client

    This works quite effectively except it leaves no way to update the updater besides having the user download a new one manually as you probably wouldn't want to make an updater to an updater. :p
     
  25. Unread #33 - Mar 28, 2008 at 10:42 AM
  26. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    [COVEY] Updating Client

    or have the updater built into the program...
     
  27. Unread #34 - Mar 28, 2008 at 1:09 PM
  28. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Why would i want to update an updater unless the only way for people to get the update is by me updating the updater to have more stuff in it which people can download?
     
  29. Unread #35 - Mar 28, 2008 at 2:29 PM
  30. LeetScape
    Joined:
    May 27, 2007
    Posts:
    126
    Referrals:
    0
    Sythe Gold:
    1

    LeetScape Active Member

    [COVEY] Updating Client

    All I do in my Client is check a .txt file that's on the net, if it's < than the version you're using then you must download, you can't use an old version.

    If you're using a => equal or higher (BETA?) then display an open button or automatically open the Client.
     
  31. Unread #36 - Mar 28, 2008 at 8:05 PM
  32. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [COVEY] Updating Client

    That's just like saying "Why update Windows? It works properly!". Use your brain before you post questions.

    Lets see, faulty updates, unstable program, corrupt downloads etc.

    To update the updater, just use the client program itself to download and install updater updates.
     
  33. Unread #37 - Mar 28, 2008 at 8:54 PM
  34. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Wait so like lets say i make a moonfruit site soo lets say my site will be named

    Dgameman1.moonfruit.com

    And on that site i make a txt document and if it ""if it's < than the version you're using then you must download, you can't use an old version.

    If you're using a => equal or higher (BETA?) then display an open button or automatically open the Client.""

    Now the question is how do i make a .txt on a site?
     
  35. Unread #38 - Mar 28, 2008 at 11:52 PM
  36. Swan
    Joined:
    Jan 23, 2007
    Posts:
    4,957
    Referrals:
    0
    Sythe Gold:
    0
    Sythe's 10th Anniversary Member of the Month Winner

    Swan When They Cry...
    Retired Global Moderator

    [COVEY] Updating Client

    1) create the text file.
    2) upload it via FTP or otherwise.

    Stupidest question yet, serious props to you.
     
  37. Unread #39 - Mar 29, 2008 at 12:57 AM
  38. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Thank you. xD
     
< Need Example. | Little help on wlds plox :D >

Users viewing this thread
1 guest


 
 
Adblock breaks this site