I am posting another simple question about rollback. I am just curisous about the way that Windows Installer handles rollback on versioned files. Say, file1.dll is the key file of a installation component. When upgraded to a new version of file1.dll at the same install location, will Windows Installer be able to roll back to the originally installed file1.dll if the entire upgrade installation fails? In the install sequence table, RemoveExistingProduct is placed in between InstallExecute and InstallFinalize. So the new version is installed on the top of the old one, then the old one is supposed to be removed. What if the removal of the old version failed?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Rollback of versioned files
Started by
dxue
, Jun 24 2005 21:21
1 reply to this topic
Posted 27 June 2005 - 11:55
Windows Installer keeps a backup of any file it overwrites for rollback purposes, until the install transaction is finished. At the end of the install all those backups are being deleted.
Note however that rollback may be disabled on a given machine.
Note however that rollback may be disabled on a given machine.
Stefan Krüger
InstallSite.org twitter facebook