User Tag List

Results 1 to 4 of 4

Thread: Restart Application

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Restart Application

    Hi all -

    I have implemented an update program into my current project and it downloads and replaces the files correctly. I wish to have the application restart with the new EXE (just updated with the program) to load. Does the "Restart Application" restart the current application instance, or does it reload the executable file?

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Restart Application

    It just restarts the current application instance.

    BTW, I wonder how you can update a running program file? Usually it's not possible, you have to exit it, patch it and then re-run it.

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Restart Application

    Yeah, I have to do that now. I tried using this (I used Alterable Value Restart to tell the program whether I'm restarting or not):

    • Alterable Value Restart = 1
    - End Application
    • End of Application
    + Alterable Value Restart = 1
    - Launch External App "MyApp.exe"

    This didn't seem to work, because you can't update the app anyway with it open.

    I also tried to make a temp file, so I would use the download object to download the updated file, and then rename it to MyApp.update. Then, it would copy MyApp.update to MyApp.exe on Application Close and then delete MyApp.update, but it didn't work. So now, I'm just setting up the update app in another program. I would be nice if anyone could find a solution for this kind of updater.

  4. #4
    No Products Registered

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

    Re: Restart Application

    Haha, im making an auto updater right now for my project and it works fine

    Ok, what you have to do...

    You have to create another exe that will replace the old one after you close your app. So, make an event that will run the other program after you've downloaded it and then end your own program. Then in the other program make it copy your new exe in place of your old one

Similar Threads

  1. Restart application doesn't reset data
    By SoftWarewolf in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 4th August 2013, 07:57 PM
  2. [Bug] Restart Frame
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 3rd May 2012, 04:05 AM
  3. Restart application
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 22nd June 2010, 12:32 PM
  4. Restart after Uninstall
    By swater in forum Install Creator and Patch Maker
    Replies: 1
    Last Post: 13th March 2010, 07:17 AM
  5. Restart/Turn Off
    By GSoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th April 2007, 10:11 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
  •