Results 1 to 6 of 6

Thread: Application Auto Update

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Application Auto Update

    Hi Peeps,

    I have been asked if its possible for an application that sits on a network folder for multiple users and check online to see if there is a newer version. If there is prompt the user to download it and load the new version.

    Thanks for any guidence,

    Jiggy!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Application Auto Update

    I would suggest that you look into ClickOnce deployment, which is what you're using if you publish your project in VS. It was created specifically to make deployment of Windows apps easier. You tell the app where and when to look for updates and it can automatically download them when they're available.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Application Auto Update

    Nice one; thank you very much. Is it part of the deploy in VS?

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Application Auto Update

    Hi, I have been looking at the ClickOnce but I want each of my applications to do the check and if a new version is there ftp it down. It looks like the ClickOnce you have to go to a web link.

    Any idease please?

    Jiggy!

  5. #5
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    519

    Re: Application Auto Update

    Hiya Jigabyte.

    I think you've misunderstood how ClickOnce deployment works.

    It works like something like this:
    You deploy/publish your application to a webhost (via ftp) and you set the update location to the public URL. Then when you deploy the next version of your application (to the same paths and URLs), your application will automatically download these.

    For example; lets say you deploy a project to
    C:\xampp\htdocs\MyApplication1\

    And set the update URL to
    http://external_IP/MyApplication1/

    The application will automatically download the new files when you deploy a new version to
    C:\xampp\htdocs\MyApplication1\

    (This example is on a local webserver but it works similar on an external webhost where you upload your files via eg. FTP)

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2006
    Posts
    1,806

    Re: Application Auto Update

    Hi,

    I have now got this working but my problem is how to add an access database and also I've been told it is user specific but this was from an article in 2006. I want it to install in c:\program files\app name and the if doesnt exist install \data\database.mdb

    Is this possible?

    Thanks for any help,

    Jiggy!

Posting Permissions

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



Click Here to Expand Forum to Full Width