+ Reply to Thread
Results 1 to 5 of 5

Thread: Delayed File Install and Rollback

  1. #1

    Default Delayed File Install and Rollback

    If we are using the method of "wrapping" the install file commands in a Delayed File Install "block" is that redundant with Rollback functionality? What does rollback do that a Delayed File Install doesn't do (or vice versa)? If we uninstall a previous version prior to installing new files, is there a way to get that version back if the install of the new version fails?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Delayed File Install and Rollback

    Hi Mark,

    If you do an uninstall, then the files and changes (registry, INI, etc.) are gone -- including the uninstall .exe and .log. You can't "undo" an uninstall.

    If you are doing a web install (or update) then using a Delayed File Install block is a good idea (it downloads all files first and after that installs them). Or if you are using binary patching technology. Or if you update an existing application and you don't know whether there are "locked" files.

    Friedrich

  3. #3

    Default Re: Delayed File Install and Rollback

    We're running into the "locked" file situation. The Delayed File Install seemed good, but even if it catches it our previous version has still be uninstalled already.

    There's no way to wrap both the uninstallation and installation into an atomic operation?

  4. #4
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Delayed File Install and Rollback

    Unfortunately, this is not possible. An uninstall runs as a separate process, it removes all logged entries and then it removes itself from the machine. This can't be rolled back.

    Wouldn't it be possible to detect the "locked" files before you begin the file installation process? E.g., if the setup detected locked files in the target folder(s), terminate the install to avoid system manipulations.

    Friedrich

  5. #5

    Default Re: Delayed File Install and Rollback

    Yes, that's what we're trying to do with this version of the installer. I was just trying to see if we could cover all potential bases. Thanks Friedrich.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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