PDA

View Full Version : wupdate & REVERT



NewsArchive
02-16-2016, 03:08 AM
wupdate/wucheck newbie here, so how does the REVERT process work with
the "web" method of updating using wucheck.exe & wupdate.exe?

I do get a \backup folder and it does contain all of the files that were
updated, but if you run the uninstaller for the update, it removes
everything including the \backup folder (and all its contents).

I would like it to remove the "updates" and revert back to the version
the user had prior to the update.

My old non-web installers would REVERT properly, I must be missing a
setting.

TIA,

db

NewsArchive
02-16-2016, 09:05 AM
David,

> wupdate/wucheck newbie here, so how does the REVERT process work with
> the "web" method of updating using wucheck.exe & wupdate.exe?

There is no difference between a "non-web" and "web" update. The
wucheck.exe & wupdate.exe clients do nothing more than download and launch
the update.exe from your website.

> I do get a \backup folder and it does contain all of the files that were
> updated, but if you run the uninstaller for the update, it removes
> everything including the \backup folder (and all its contents).

I think you are using the same uninstall .exe and .log file (the recommended
method). In this case, the uninstall (initiated from the "Uninstall a
program" Windows Control Panel or directly from File Explorer)
restores/removes all items from the uninstall .log. This is the expected
behavior.

> I would like it to remove the "updates" and revert back to the version
> the user had prior to the update.
>
> My old non-web installers would REVERT properly, I must be missing a
> setting.

The correct way to handler this is to support the "smart rollback" feature.
This lets you "rollback" to the previous version (if any). For example, if
you have an initial version 2.00, then updates to 2.01, 2.02 and 2.10. When
you support "smart rollback", your users can rollback from 2.10 to 2.02,
from 2.02 to 2.01 and from 2.01 to 2.00.

This is what we are using in SetupBuilder itself. As an example, see the
attached screenshots. Installed is initial version 10 Build 4920, then
build 4921 and 4929. I always update the Uninstall Shortcut (and create a
backup copy) so the rollback can even recreate the original Uninstall
Shortcut.

BTW, the /UR command line switch when calling the Uninstall.exe starts the
smart rollback option.

Does this help?

Friedrich

NewsArchive
02-16-2016, 02:14 PM
> BTW, the /UR command line switch when calling the Uninstall.exe
> starts the smart rollback option.
>
> Does this help?


Yes it does, I will pursue the "Shortcut" concept.

Thank you sir

db