Reply to Thread

Post a reply to the thread: Uninstall Reboot Message

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 08-13-2021, 01:56 PM
    MarkDynna

    Re: Uninstall Reboot Message

    Yes, that confirms what I was thinking. We do check all of the EXE's (programs) to see if they are in use, but it sounds like we need to be checking all the files that are going to be removed in the uninstallation process.
  • 08-12-2021, 12:13 AM
    linder

    Re: Uninstall Reboot Message

    Mark,

    if the system needs a reboot after an uninstall means that one or more files were locked (in-use) during the uninstallation process. The only way to handle your specific scenario is to check in your (custom) uninstall if all files can be removed. You could handle this in a custom uninstall script by using "Check In-Use Folder Tree..." and "Check In-Use File...". And it's always a good idea to see if your main application is not active - you can check this with "Detect Active Application...".

    To sum it up: only continue with the uninstall if the main app is not active (not running) and the files can be removed.

    Does this help?

    Friedrich
  • 08-11-2021, 11:45 AM
    MarkDynna

    Re: Uninstall Reboot Message

    Any additional thoughts on this?
  • 07-30-2021, 05:56 AM
    linder

    Re: Uninstall Reboot Message

    Mark,

    good question! I'll have to give it some thoughts.

    Friedrich
  • 07-27-2021, 02:04 PM
    MarkDynna

    Uninstall Reboot Message

    When we run the uninstall to remove a previous version, sometimes a client will see a "reboot required" message.
    Attachment 5067
    When this happens they are basically caught in a "no win" scenario: if they proceed, then the uninstallation will be placed in the "pending file rename" operations which (after the next reboot) will actually remove some of the current version files. If they do choose to reboot, then the installation (which is designed only to be run when previous versions are present) complains because no previous version was found.

    I have implementing a "reboot and resume" feature for some of our other products. Is there a way that I can catch this condition so that I can handle it with a "reboot and resume?"

Posting Permissions

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