User Tag List

Results 1 to 8 of 8

Thread: Automatic Update?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    Doverseer's Avatar
    Join Date
    Dec 2006
    Location
    USA
    Posts
    46
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Automatic Update?

    I was just thinking, is there any way to provide automatic updates to an application? This would be very helpful in bug fixes, small changes to tighten configuration, and new features. Every one loves to get updates.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Automatic Update?

    Yes

    You could use the MOOsock or another object to communicate with your server on the current version the user has installed.

    Then use the download object to download a patch.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    Doverseer's Avatar
    Join Date
    Dec 2006
    Location
    USA
    Posts
    46
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    Thanks!!! I will start working on this immediately!

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    Doverseer's Avatar
    Join Date
    Dec 2006
    Location
    USA
    Posts
    46
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    Okay. The Update system I'm designing uses two applications. The [color:#3366FF]Main App[/color] communicates to see if it is the latest version.
    If it is not the latest. Then it opens The [color:#FF0000]Update App[/color] which saves the path (and what ever is going on in the [color:#3366FF]Main App[/color]).

    Then it closes the Main App; Deletes the Main App Then it downloads the [color:#33CC00]New Main App[/color] to the path of the old [color:#3366FF]Main App[/color].

    Once the [color:#FF0000]Update app[/color] is finished downloading. It Opens up the [color:#33CC00]New Main App[/color] (with the save information from the old Main App) Then the [color:#FF0000]Update App[/color] closes. Update Complete???

    Is there a better way to do this? :grin:

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    If you wanted, what you could do is name each file something like NameOfFilev1.2.exe and if the name doesn't match a value sent from the server, download a new one and after that delete the old one. It only involves one app, and is seemingly much simpler.

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    www.dingdongstudios.co.nr
    Posts
    505
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    I wouldn't delete the old main app until the new main app has succesfully downloaded, just incase it fails for some reason.

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    Doverseer's Avatar
    Join Date
    Dec 2006
    Location
    USA
    Posts
    46
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    Yeah the reason why I thought 2 apps would be better, is because I was thinking that during the update process you would get a message Like:
    ---------
    Error Deleting File or Folder

    Cannot delete File.exe: It is being used by another person or program.

    Close any programs that might be using the file and try again.
    -----------
    But having a different name could work. But it could also create some difficulties. One I could think of, is that after every update (on some peoples computers). You would get a warning because the file name has changed.
    -----------
    Filev1a.exe is attempting to connect to a DNS server
    -----------
    But I'll try it out.

  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Automatic Update?

    Do not change the file name because the user can have created some shortcuts.

    The process you can apply is the following :
    - Check if update is available
    If yes :
    - Launch the updater program
    - Close the main app
    - Download the update in a temporary folder
    - Check if the downloaded EXE is ok
    - Delete the main app
    - Move the downloaded EXE in place of the old
    - Launch the new main app
    - Close the updater

Similar Threads

  1. automatic shortcuts
    By mnovoa in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 28th May 2013, 04:47 PM
  2. Automatic Rotations
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 13th September 2012, 12:37 PM
  3. Automatic rotation?
    By imothep85 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd May 2012, 08:13 PM
  4. Automatic pairing?
    By arsdigita in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 14th April 2011, 03:04 PM
  5. Automatic Movements
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st August 2009, 03:24 PM

Posting Permissions

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