Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified BuildAll.cmd
100644 → 100755
Empty file.
11 changes: 8 additions & 3 deletions dev/PackageManager/API/M.W.M.D.PackageDeploymentManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,14 @@ namespace winrt::Microsoft::Windows::Management::Deployment::implementation
}
case winrt::Microsoft::Windows::Management::Deployment::PackageDeploymentFeature::ResetPackage:
{
//TODO Awaiting Windows update
//return ::WindowsVersion::IsExportPresent(L"appxdeploymentclient.dll", "MsixResetPackageAsync");
return false;
BOOL isSupported{};
const HRESULT hr{ PackageManagement_IsFeatureSupported(L"ResetPackage", &isSupported) };
if (hr == E_NOTIMPL)
{
return false;
}
THROW_IF_FAILED_MSG(hr, "ResetPackage");
return !!isSupported;
}
case winrt::Microsoft::Windows::Management::Deployment::PackageDeploymentFeature::RepairPackage:
{
Expand Down