secureswitools/swisistools/source/interpretsislib/sisregistryobject.cpp
branchRCL_3
changeset 19 7ca52d38f8c3
parent 0 ba25891c3a9e
child 25 98b66e4fb0be
child 62 5cc91383ab1e
equal deleted inserted replaced
18:3ba40be8e484 19:7ca52d38f8c3
   602 	}
   602 	}
   603 
   603 
   604 	return 0;
   604 	return 0;
   605 }
   605 }
   606 
   606 
   607 void SisRegistryObject::UpgradeEntry(const SisFile& aSis, const InstallableFiles& aFiles, TInt aInstallDrive, const bool aSUFlag, ConfigManager& aConfigManager)
   607 void SisRegistryObject::UpgradeEntry(const SisFile& aSis, const InstallableFiles& aFiles, TInt aInstallDrive, const bool aSUFlag, const bool aIsRemovable, ConfigManager& aConfigManager)
   608 {
   608 {
   609 	// Version
   609 	// Version
   610 	iVersion = aSis.GetVersion();
   610 	iVersion = aSis.GetVersion();
   611 	
   611 	
   612 	// Controller Info. Update the controller info using the same SIS Registry version as the base package
   612 	// Controller Info. Update the controller info using the same SIS Registry version as the base package
   619 	// With interpretsis, SisFile is default to true
   619 	// With interpretsis, SisFile is default to true
   620 	iSigned = aSis.GetSigned();
   620 	iSigned = aSis.GetSigned();
   621 
   621 
   622 	iSignedBySuCert = aSUFlag;
   622 	iSignedBySuCert = aSUFlag;
   623 
   623 
       
   624 	if(aIsRemovable)
       
   625 		iIsRemovable = false;
   624 	iTrust = KSisPackageCertificateChainValidatedToTrustAnchor;
   626 	iTrust = KSisPackageCertificateChainValidatedToTrustAnchor;
   625 
   627 
   626 	iTrustTimeStamp = 0;
   628 	iTrustTimeStamp = 0;
   627 
   629 
   628 	TUint64 x = 0;
   630 	TUint64 x = 0;