Announcement

Collapse
No announcement yet.

Restart Needed: The update application .. must restart

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

  • Restart Needed: The update application .. must restart

    Hi,

    Need some help with the following message:

    -------------
    Title Bar: Restart Needed
    Body Text: The update application has been updated and must restart in order to continue.

    Button: OK
    -------------

    1. Is it correct that this message only appears when CLIENT SCRIPT is adjusted? Or are there other conditions when this message is shown?

    2. Is there a way to suppress this message?

    3. Or, is there 'value' in showing this to the end user?


    Any help much appreciated.

    Cheers
    David

  • #2
    1. Is it correct that this message only appears when CLIENT SCRIPT is adjusted? Or are there other conditions when this message is shown?
    The message may be shown when the application (the executable) is updated, which normally happens when you update TrueUpdate to a more recent version, or when the Client script or project settings (TrueUpdate servers, etc.) were changed.

    2. Is there a way to suppress this message?
    Yes. The TrueUpdate.GetServerFile() action has, as its second parameter, a boolean named "ShowRestartDialog". When you set this value to false, you won't get this message. If you don't set this parameter, the default value is true, and the message is shown.

    Note: A change of this parameter will suppress the dialog on the next update, when the new code runs for the first time. Even when you create a new update now with ShowRestartDialog set to false, your current version may still show the default behaviour for one last time.

    Ulrich

    Comment

    Working...
    X