Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 8 of 8

Thread: rolling back

  1. #1
    Join Date
    Aug 2007
    Posts
    8

    rolling back

    Is it possible to perform a rollback during a post-patch step, after the patch is applied? Say I want to do something like register activeX controls after the patch is applied, and if registering one of them fails, how do I rollback to the previous version?

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    Do you want to rollback the entire patch, or only the activex files?

    If it's the individual files, you could do it directly using actions, e.g. File.Install.
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Aug 2007
    Posts
    8
    Quote Originally Posted by Lorne View Post
    Do you want to rollback the entire patch, or only the activex files?
    I want to rollback the entire patch

    Thanks

  4. #4
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    There is no programmatic way to force a rollback at this point, but I've added it to our list of suggestions (REF: 16976).
    --[[ Indigo Rose Software Developer ]]

  5. #5
    Join Date
    Jul 2008
    Posts
    1

    Grin Would it work to...

    In order to support rollback capabilities for a patch that installs correctly, ie no errors in the patch process itself, but maybe the patch hadn't been fully tested and there are functional issues that would cause the need to rollback to the previous version.

    Assume that a patch to take version 1.5 is applied to make the verison 1.6. Could we not reverse the patch from and to so as to create a patch from 1.6 to 1.5 and have essentially a rollback? Is there anything in VP3 that would cause this strategy not to work?

  6. #6
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    Quote Originally Posted by johnbrock View Post
    Assume that a patch to take version 1.5 is applied to make the verison 1.6. Could we not reverse the patch from and to so as to create a patch from 1.6 to 1.5 and have essentially a rollback?
    Yep, that should work fine, assuming you build the rollback as a separate patch.

    You wouldn't be able to have both 1.5 and 1.6 as user-selectable targets in a single full-history patch -- so, you couldn't roll back from 1.6 to 1.5 using the same patch file that was used to go from 1.5 to 1.6.

    But you could easily make a separate "rollback" patch that patches 1.6 to 1.5.

    (In fact you could make a rollback patch to handle 1.6 to 1.5 and also handle 1.4 to 1.5, 1.3 to 1.5, and so on.)

    All you have to do to make your rollback patch is change the order of the version tabs, so that 1.5 comes after 1.6.

    VP uses the order of the version tabs to indicate newness -- by default it assumes the rightmost tab is the latest version. The actual version numbers don't matter -- they're just labels for the versions.

    If you're building full-history patches, you can keep the "bad" 1.6 in the history if you want...just rename its version tab (and perhaps also the source folder) so you don't confuse it with the version tab for the "good" 1.6 that you'll add later.

    Nice thinking btw, johnbrock. Doing the "rollback" as a patch from 1.6 to 1.5 is a really elegant solution.
    --[[ Indigo Rose Software Developer ]]

  7. #7
    Join Date
    Nov 2010
    Posts
    1

    Still the recommended method?

    Hi,
    It's been a few years since this thread was started, but I was wondering if this is still the recommended way of rolling back (uninstalling) a patch made by Visual Patch. The stated method would suit us fine, but I was wondering if there have been any advancements in the time intervening toward making this a more automated process. I wasn't able to find anything in the documentation about it, so I don't really expect anything, but I'd like to check before I make any recommendations about this software.
    Thank you!

  8. #8
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    It depends on the reasons for rolling back; if you're doing incremental patches (1.1 to 1.2, followed by 1.2 to 1.3, etc.) it's pretty easy to also make an incremental patch to go in the opposite direction.

    The biggest difficulty arises if you need to reverse custom actions that were performed by the patch, which is the part that would make automated rollback difficult to implement.
    --[[ Indigo Rose Software Developer ]]

Similar Threads

  1. Back Forward buttons
    By Carl in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 10-24-2007, 04:44 AM
  2. Back in the Saddle
    By dulux1309 in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 08-05-2004, 03:42 PM
  3. Move back screens from after install
    By toad32 in forum Setup Factory 6.0
    Replies: 1
    Last Post: 08-14-2003, 09:16 AM
  4. back to original url in a webbrowser object
    By yosik in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 04-08-2003, 03:17 PM
  5. Can the BACK button have a history?
    By jsdunlap in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 08-07-2001, 04:00 PM

Posting Permissions

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