View Full Version : Rollback to a previous version
NewsArchive
03-30-2017, 02:31 AM
I always set my SB install files to overwrite existing installations,
and backup replaced files.
Last night I applied an update in error, and decided to rollback that
update to a previous version. This is not something I do very often, in
fact I've probably not done this for years, but I seem to recall being
presented with a list of previous versions that I could rollback to.
Last night, I only had the option to uninstall, which removed
everything, including my backup files.
No harm done, as I had backups and previous versions etc. but I
wondered if I was missing a setting somewhere that would allow me to do
this in future.
Regards,
Neil.
NewsArchive
03-31-2017, 03:11 AM
Neil,
> I always set my SB install files to overwrite existing installations, and
> backup replaced files.
>
> Last night I applied an update in error, and decided to rollback that
> update to a previous version. This is not something I do very often, in
> fact I've probably not done this for years, but I seem to recall being
> presented with a list of previous versions that I could rollback to.
>
> Last night, I only had the option to uninstall, which removed everything,
> including my backup files.
>
> No harm done, as I had backups and previous versions etc. but I wondered
> if I was missing a setting somewhere that would allow me to do this in
> future.
To "rollback" to a previous version, you have to use the same uninstall .log
and .exe name. It will then "append" the update to the existing uninstall
..log. The rollback will uninstall the last update only.
Similar to the rollback feature used in our own SetupBuilder install/update
process:
http://www.lindersoft.com/forums/showthread.php?47621-FAQ-How-to-update-SetupBuilder-10-quot-offline-quot
BTW, if you have a custom uninstall, make sure you do not remove the whole
install folder (tree) at the end of the uninstall process. If you do this
then rollback will uninstall the last update and your remove folder (tree)
will delete the rest (including backup files).
Friedrich
NewsArchive
03-31-2017, 03:12 AM
Ah, I think I understand Friedrich,
So adding my product version number to the uninstaller, and log file
should enable me to select a particular version to uninstall:
%_SB_INSTALLDIR%\Uninst_[PRODUCTNAME]_[PRODUCTVER].exe
%_SB_INSTALLDIR%\Uninst_[PRODUCTNAME]_[PRODUCTVER].log
Previously I just had [PRODUCTNAME].exe and [PRODUCTNAME].log
Thank you.
Regards,
Neil.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.