9 MsiInstall* msiInstall;
15 virtual std::wstring
readContent(
const std::wstring& path);
18 virtual std::wstring
getFolderPath(
const std::wstring& path)
const {
return L
"";}
29 std::wstring
pathToId(
const std::wstring& path);
virtual void setBasePath(const std::wstring &path)
Set base path for resolving relative paths.
Definition: BinaryIdPathResolver.h:17
virtual std::wstring readContent(const std::wstring &path)
convert path to binary ID and read its content from msi.
Definition: BinaryIdPathResolver.cpp:14
BinaryIdPathResolver(MsiInstall *msiInstall)
Definition: BinaryIdPathResolver.cpp:9
virtual std::wstring getFolderPath(const std::wstring &path) const
get folder of the provided path
Definition: BinaryIdPathResolver.h:18
Definition: PathResolver.h:14
void replaceNonIdCharsWithUnderscore(std::wstring &str)
replace all non-valid ID characters with '_'
Definition: BinaryIdPathResolver.cpp:42
Definition: BinaryIdPathResolver.h:7
std::wstring pathToId(const std::wstring &path)
Definition: BinaryIdPathResolver.cpp:24