2019-08-21 02:58:11 +03:00
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2019-09-19 01:37:02 +03:00
|
|
|
#include "MSIXWindows.hpp"
|
|
|
|
#include "..\msixmgrLib\GeneralUtil.hpp"
|
2019-08-21 02:58:11 +03:00
|
|
|
|
|
|
|
namespace MsixCoreLib
|
|
|
|
{
|
2020-08-23 03:35:32 +03:00
|
|
|
HRESULT Unpack(
|
|
|
|
_In_ std::wstring source,
|
|
|
|
_In_ std::wstring destination,
|
|
|
|
_In_ bool isApplyACLs,
|
|
|
|
_In_ bool validateSignature,
|
|
|
|
_Inout_ std::vector<std::wstring> &skippedFiles,
|
|
|
|
_Inout_ std::vector<std::wstring> &failedPackages,
|
|
|
|
_Inout_ std::vector<HRESULT> &failedPackagesErrors);
|
|
|
|
|
|
|
|
HRESULT UnpackPackagesFromDirectory(
|
|
|
|
_In_ std::wstring source,
|
|
|
|
_In_ std::wstring destination,
|
|
|
|
_In_ bool isApplyACLs,
|
|
|
|
_In_ bool validateSignature,
|
|
|
|
_Inout_ std::vector<std::wstring> &skippedFiles,
|
|
|
|
_Inout_ std::vector<std::wstring> &failedPackages,
|
|
|
|
_Inout_ std::vector<HRESULT> &failedPackagesErrors);
|
|
|
|
|
|
|
|
HRESULT UnpackPackageOrBundle(
|
|
|
|
_In_ std::wstring source,
|
|
|
|
_In_ std::wstring destination,
|
|
|
|
_In_ bool isApplyACLs,
|
|
|
|
_In_ bool validateSignature);
|
|
|
|
|
2019-08-21 02:58:11 +03:00
|
|
|
HRESULT UnpackPackage(
|
|
|
|
_In_ std::wstring packageFilePath,
|
|
|
|
_In_ std::wstring destination,
|
2019-10-01 21:20:01 +03:00
|
|
|
_In_ bool isApplyACLs,
|
|
|
|
_In_ bool validateSignature);
|
2019-08-21 02:58:11 +03:00
|
|
|
|
|
|
|
HRESULT UnpackBundle(
|
|
|
|
_In_ std::wstring packageFilePath,
|
|
|
|
_In_ std::wstring destination,
|
2019-10-01 21:20:01 +03:00
|
|
|
_In_ bool isApplyACLs,
|
|
|
|
_In_ bool validateSignature);
|
2019-09-19 01:37:02 +03:00
|
|
|
|
|
|
|
HRESULT OutputPackageDependencies(
|
|
|
|
_In_ IAppxManifestReader* manifestReader,
|
|
|
|
_In_ LPWSTR packageFullName);
|
|
|
|
|
2019-08-21 02:58:11 +03:00
|
|
|
}
|