--- 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<TState*>(&iUninstallMachine.iIntegritySupportState);
}