public void Chew() { // Calculalte the file hash. FileHash = FileHasher.ComputeHash(PackageFilePath); // TODO: Extract the infomation from the package. }
public void Chew() { // Calculalte the file hash. FileHash = FileHasher.ComputeHash(PackageFilePath); // TODO: Extract the infomation from the package. // Extract *cab files from .msu file. extractMsuPackage(PackageFilePath, DestinationDirectoryPath); // Extract the inner *.cab files. string innerCabFilePath = getInnerCabFilePath(); string innerCabDestinationDirectoryPath = getInnerCabDestinationDirectoryPath(DestinationDirectoryPath); extractInnerCabFiles(innerCabFilePath, innerCabDestinationDirectoryPath); // TODO: file information collection. }