secureswitools/swisistools/source/interpretsislib/installer.h
changeset 25 98b66e4fb0be
parent 24 84a16765cd86
child 33 8110bf1194d1
equal deleted inserted replaced
24:84a16765cd86 25:98b66e4fb0be
    66 
    66 
    67 	void SanitiseSISFileAttributes(const InstallSISFile& aInstallSISFile);
    67 	void SanitiseSISFileAttributes(const InstallSISFile& aInstallSISFile);
    68 
    68 
    69 	void UninstallPkg(const SisFile& aSis); // Uninstall the same package (if found)
    69 	void UninstallPkg(const SisFile& aSis); // Uninstall the same package (if found)
    70 											// prior to installation
    70 											// prior to installation
    71 
    71 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
    72 	void Backup(const SisFile& aFile, InstallableFiles& aInstallable, TBool& aBackupFlag);
       
    73 	void RemoveBackup(const SisFile& aFile, InstallableFiles& aInstallable);
       
    74 	void Restore(const SisFile& aFile, InstallableFiles& aInstallable, TBool& aBackupFlag);
       
    75 #endif
    72 	bool DependenciesOk(const SisFile& aFile);			// Check to see if the sis file
    76 	bool DependenciesOk(const SisFile& aFile);			// Check to see if the sis file
    73 														// meets it's dependencies
    77 														// meets it's dependencies
    74 
    78 
    75 	bool IsValidUpgrade(const SisFile& aFile, bool aSUFlag, bool aNonRemovable);	// Check to see if this is a valid upgrade
    79 	bool IsValidUpgrade(const SisFile& aFile, bool aSUFlag, bool aNonRemovable);	// Check to see if this is a valid upgrade
    76 																	// to the existing packages
    80 																	// to the existing packages
    90 		const InstallSISFile& aInstallSISFile, const bool aSUFlag);	// PU sis files
    94 		const InstallSISFile& aInstallSISFile, const bool aSUFlag);	// PU sis files
    91 
    95 
    92 	const SisRegistryObject& AddRegistry(const SisFile& aFile,	// Create the registry entries for
    96 	const SisRegistryObject& AddRegistry(const SisFile& aFile,	// Create the registry entries for
    93 		const InstallableFiles& aInstalled, const bool aSUFlag);	// the installed sis file
    97 		const InstallableFiles& aInstalled, const bool aSUFlag);	// the installed sis file
    94 
    98 
    95 	void RemoveHashForFile(const std::wstring& aFile);
    99 	//void RemoveHashForFile(const std::wstring& aFile);
    96 
   100 
    97 	bool CheckDependency(const CSISDependency* aDep);	
   101 	bool CheckDependency(const CSISDependency* aDep);	
    98 
   102 
    99 	void CheckDestinations(const SisFile& aFile, InstallableFiles& aFiles,
   103 	void CheckDestinations(const SisFile& aFile, InstallableFiles& aFiles,
   100 							const InstallSISFile& aInstallSISFile);	// Ensure installable files do not
   104 							const InstallSISFile& aInstallSISFile);	// Ensure installable files do not