Hi Clemens,
I wonder what state the user will be left with when he tries an update and the update fails after having removed the previous version?
When performing the upgrade, the installed version is removed automatically. Therefore, the old version will not be available anymore.
If the upgraded package fails, depending on the moment of the problem Windows Installer rollbacks the installation (or not). If the installation is rolled back, then the machine will not have any version installed. If the installation cannot be rolled back, the machine will have a broken installation of the upgraded package.
Will we have to handcraft a solution to be able to deal with this case?
I'm not sure if Windows Installer supports a solution for this. Because of the way the upgrade process works, after the old package is uninstalled there isn't much to do in order to get it back.
Does Windows Installer not handle such situations?
I'm afraid that Windows Installer assumes that the upgraded package will be installed successfully. This is because for a full upgrade the situation is similar to a clean installation: the entire package is installed on the target machine. Therefore, from the Windows Installer point of view, an upgraded package must work as expected (just like the old package).
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging