Announcement

Collapse
No announcement yet.

How do you delete a True Update Executable "after" an update has been completed?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do you delete a True Update Executable "after" an update has been completed?

    Using True Update to perform an application upgrade. I can get all of the upgrade files, including the .dat file to delete when the upgrade process is complete but the .exe file will not delete. I have tried the delete file command in the Server Script and in the On Cancel of the Update Successful screen and it will not go away. (The File.Delete in the On Cancel does remove all other files correctly.)

    So my question is, where should the command

    File.Delete("%SourceFolder%\\upgrade.exe",false,tr ue,false,nil);

    be placed to ensure the exe is removed on exit?

    Why am I needed to remove it? It is a one time only process.

    Thank you in advance for any assistance.

    Jack

  • #2
    See File.DeleteOnReboot()...

    Ulrich

    Comment


    • #3
      R.E. How do you delete a True Update Executable "after" an update has been completed?

      Originally posted by Ulrich View Post
      See File.DeleteOnReboot()...

      Ulrich
      No other way to do the delete process in a more direct and swift manner?

      Comment


      • #4
        Originally posted by nsti View Post
        No other way to do the delete process in a more direct and swift manner?
        Delete on Reboot does not fully work. Windows Server OS just ignores the process.

        Comment


        • #5
          Self-deletion is not an obvious task. You can find some ideas here.

          Ulrich

          Comment

          Working...
          X