[COVEY] Updating Client

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

[COVEY] Updating Client
  1. Unread #1 - Mar 25, 2008 at 8:40 PM
  2. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    This topic is for covey but if anyone else knows, feel free to answer. Ok you know how when theirs an update for Elite switch, eliteswitch checks for updates and then you can choose to update it if you want. Lets say I have 3 things on my client. Then later after a while, I add 1 more thing, so now their is 4 things on my client. How do I make it so that other people who have downloaded my client can update it without downloading a whole other version of my client.
     
  3. Unread #2 - Mar 25, 2008 at 10:21 PM
  4. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    Covey's takes and checks verses an online page to see if it is older, then closes the client. After it closes it redownloads what it needs to download. Essentially "reinstalling", but only adding what needs to be added instead of everything.
     
  5. Unread #3 - Mar 25, 2008 at 10:27 PM
  6. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Hehh? Now in basic english? And is it easy to do by a noobs standards?
     
  7. Unread #4 - Mar 25, 2008 at 10:38 PM
  8. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    It is fairly easy. All you need to do is basically download the files you need and then replace the exe and register the components if needed.
     
  9. Unread #5 - Mar 25, 2008 at 10:39 PM
  10. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    [COVEY] Updating Client

    In otherwords, he gets eliteswitch to check the online page??
    and even if there is an update jd, it doesnt entire close eliteswich, it then downloads it and then runs the installer??

    Lol, i am as lost as you are :eek:
     
  11. Unread #6 - Mar 25, 2008 at 10:40 PM
  12. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

  13. Unread #7 - Mar 25, 2008 at 10:43 PM
  14. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    Hmm, well I haven't really messed with eliteswitch in awhile, but when covey had me test his lite version he had it check online for the version number. Then it downloaded the new exe and replaced it. Also the downloader and eliteswitch were 2 separate exe's so he could easily close and replace eliteswitch without closing the installer. But in the full version of eliteswitch I am pretty sure it closes eliteswitch. Downloads the installer and runs it.
     
  15. Unread #8 - Mar 25, 2008 at 10:47 PM
  16. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    [COVEY] Updating Client

    Alright... now i am assuming its one exe, lol i havnt noticed another one when browsing the folder recently...
    Eliteswich Lite version? Lol, that must have been a little while back :p
     
  17. Unread #9 - Mar 25, 2008 at 10:50 PM
  18. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    Nah lite was a version covey was/is working on that is a "legit" version that only uses the built in vb ocxs and dlls.
     
  19. Unread #10 - Mar 25, 2008 at 10:52 PM
  20. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    ME=CONFUSED,, wanna explain what to do?
     
  21. Unread #11 - Mar 25, 2008 at 10:54 PM
  22. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    Step 1: Check a page online for the newest version verses your version
    Step 2: If your version is old, download the installer for the new version
    Step 3: Run the installer, then close the client.
     
  23. Unread #12 - Mar 25, 2008 at 10:54 PM
  24. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    [COVEY] Updating Client

    A kk

    Ok dgameman, your gonna end up using an inet control for this i am assuming..
    So goto your components in vb and look for Microsoft Internet Transfer Control and tick that...
    I dont work with inet so you might have to get jd to help you with that!
     
  25. Unread #13 - Mar 25, 2008 at 10:55 PM
  26. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    How do i make it so that it downloads the installer for a new version
     
  27. Unread #14 - Mar 25, 2008 at 10:56 PM
  28. demonavenger
    Joined:
    Feb 25, 2007
    Posts:
    536
    Referrals:
    0
    Sythe Gold:
    0

    demonavenger Forum Addict
    $5 USD Donor

    [COVEY] Updating Client

    He doesnt have the slightest clue in coding jd :p
     
  29. Unread #15 - Mar 25, 2008 at 10:57 PM
  30. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Lol I know about the Inet, I've made some REALLY REALLY stupid stuff on vb6 but ya I know about Inet, dunno what it does though lol me=stupid
     
  31. Unread #16 - Mar 25, 2008 at 11:00 PM
  32. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    [COVEY] Updating Client

    Pretty much inet is a control based off the winsock library that gets a webpage source for you. Inet can also be used to download stuff off of the internet. You can use inet to add a progress bar to your download, but you can also use the API UrlDownloadtoFile to download the file to a specific location, but there is no progress bar.
     
  33. Unread #17 - Mar 25, 2008 at 11:00 PM
  34. Jazz00006
    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0

    Jazz00006 Apprentice
    Visual Basic Programmers

    [COVEY] Updating Client

    Use an inet control, grab the version number from your website (either php or txt file)
    Compare it with the current version of the program (app.major, app.minor, [app.revision])
    If it needs to be updated, download the file.


    Covey uses the installer from "click team". you can get a free copy from there or get a pirated one. There are better ones out there, but that one does the job rather well.



    To check multiple files, just use the above method. I'm sure you have the smarts on how to modify it for multiple files.
     
  35. Unread #18 - Mar 25, 2008 at 11:01 PM
  36. dgameman1
    Joined:
    May 25, 2006
    Posts:
    122
    Referrals:
    0
    Sythe Gold:
    0

    dgameman1 Active Member
    Banned

    [COVEY] Updating Client

    Oh cool k thanks i get it now, ill use it when and if i finish my client
     
  37. Unread #19 - Mar 26, 2008 at 2:27 AM
  38. 0h n035
    Joined:
    Feb 1, 2007
    Posts:
    163
    Referrals:
    0
    Sythe Gold:
    0

    0h n035 Active Member

    [COVEY] Updating Client

    Here's what I do:

    You know how you get your client to see how many people are on RS by browsing the RS page? Do the same. Have a page with it saying 'Version Number: 1.1.2' Or whatever.

    On Form Load get it to change Label.Text to the number it grabs after 'Version Number'

    Have it so that if Label.text's text is 1.1.2, it runs normally, but if it's 1.1.3, it gets it to close down, download the install file and run it.

    You'd obviously have to change the text on the page where your client grabs each time it updates.
     
  39. Unread #20 - Mar 26, 2008 at 2:34 AM
  40. 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

    This thead is amusing.
     
< Need Example. | Little help on wlds plox :D >

Users viewing this thread
1 guest


 
 
Adblock breaks this site