diff -r 7ca52d38f8c3 -r 0817e13c927e installationservices/swi/source/swis/server/uninstallmachine.cpp --- a/installationservices/swi/source/swis/server/uninstallmachine.cpp Mon Mar 15 12:41:05 2010 +0200 +++ b/installationservices/swi/source/swis/server/uninstallmachine.cpp Wed Mar 31 21:44:47 2010 +0300 @@ -172,10 +172,6 @@ iUninstallMachine.CompleteSelf(); iUninstallMachine.SetActive(); - // The user hasn't cancelled so mark the un-installation as confirmed. This - // will allow the registry cache to be regenerated further on during the - // un-installation process. - iUninstallMachine.iOperationConfirmed = ETrue; } // The next state will be planning uninstallation. @@ -234,6 +230,10 @@ CUninstallMachine::TState* CUninstallMachine::TPlanUninstallationState::CompleteL() { DEBUG_PRINTF(_L8("Uninstall Machine - Completed Uninstallation Planning State")); + // The user hasn't cancelled so mark the un-installation as confirmed. This + // will allow the registry cache to be regenerated further on during the + // un-installation process. + iUninstallMachine.iOperationConfirmed = ETrue; return static_cast(&iUninstallMachine.iIntegritySupportState); }