installationservices/swi/source/swis/server/installmachine.cpp
branchRCL_3
changeset 22 0817e13c927e
parent 0 ba25891c3a9e
child 40 f8cf9d484c15
equal deleted inserted replaced
19:7ca52d38f8c3 22:0817e13c927e
   360 		User::Leave(KErrCancel);
   360 		User::Leave(KErrCancel);
   361 		}
   361 		}
   362 	iInstallMachine.CompleteSelf();
   362 	iInstallMachine.CompleteSelf();
   363 	iInstallMachine.SetActive();
   363 	iInstallMachine.SetActive();
   364 	
   364 	
   365 	// user hasn't cancelled so mark the installation as confirmed. This
       
   366 	// will allow the registry cache to be regenerated further on during the
       
   367 	// installation process.
       
   368 	iInstallMachine.iOperationConfirmed = ETrue;	
       
   369 	}
   365 	}
   370 
   366 
   371 CInstallMachine::TState* CInstallMachine::TConfirmationState::CompleteL()
   367 CInstallMachine::TState* CInstallMachine::TConfirmationState::CompleteL()
   372 	{
   368 	{
   373 	DEBUG_PRINTF(_L8("Install Machine - Confirmation State complete"));
   369 	DEBUG_PRINTF(_L8("Install Machine - Confirmation State complete"));
  1036 CInstallMachine::TState* CInstallMachine::TCheckPostrequisitesState::CompleteL()
  1032 CInstallMachine::TState* CInstallMachine::TCheckPostrequisitesState::CompleteL()
  1037 	{
  1033 	{
  1038 	DEBUG_PRINTF(_L8("Install Machine - Completed Postrequisites Check State"));
  1034 	DEBUG_PRINTF(_L8("Install Machine - Completed Postrequisites Check State"));
  1039 	// Inform UI of final progress bar value.
  1035 	// Inform UI of final progress bar value.
  1040 	iInstallMachine.SetProgressBarFinalValueL();
  1036 	iInstallMachine.SetProgressBarFinalValueL();
       
  1037 	// user hasn't cancelled so mark the installation as confirmed. This
       
  1038 	// will allow the registry cache to be regenerated further on during the
       
  1039 	// installation process.
       
  1040 	iInstallMachine.iOperationConfirmed = ETrue;	
  1041 	return static_cast<TState*>(&iInstallMachine.iIntegritySupportState);
  1041 	return static_cast<TState*>(&iInstallMachine.iIntegritySupportState);
  1042 	}
  1042 	}
  1043 	
  1043 	
  1044 CInstallMachine::TState* CInstallMachine::TCheckPostrequisitesState::ErrorL(
  1044 CInstallMachine::TState* CInstallMachine::TCheckPostrequisitesState::ErrorL(
  1045 	TInt aCode)
  1045 	TInt aCode)