mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Logs]Fix typo found by bot (#14009)
This commit is contained in:
@@ -51,7 +51,7 @@ UINT __stdcall ApplyModulesRegistryChangeSetsCA(MSIHANDLE hInstall)
|
|||||||
hr = WcaInitialize(hInstall, "ApplyModulesRegistryChangeSets");
|
hr = WcaInitialize(hInstall, "ApplyModulesRegistryChangeSets");
|
||||||
ExitOnFailure(hr, "Failed to initialize");
|
ExitOnFailure(hr, "Failed to initialize");
|
||||||
hr = getInstallFolder(hInstall, installationFolder);
|
hr = getInstallFolder(hInstall, installationFolder);
|
||||||
ExitOnFailure(hr, "Failed to get installfolder.");
|
ExitOnFailure(hr, "Failed to get installFolder.");
|
||||||
for (const auto& changeSet : getAllModulesChangeSets(installationFolder, false))
|
for (const auto& changeSet : getAllModulesChangeSets(installationFolder, false))
|
||||||
{
|
{
|
||||||
if (!changeSet.apply())
|
if (!changeSet.apply())
|
||||||
@@ -76,7 +76,7 @@ UINT __stdcall UnApplyModulesRegistryChangeSetsCA(MSIHANDLE hInstall)
|
|||||||
hr = WcaInitialize(hInstall, "UndoModulesRegistryChangeSets"); // original func name is too long
|
hr = WcaInitialize(hInstall, "UndoModulesRegistryChangeSets"); // original func name is too long
|
||||||
ExitOnFailure(hr, "Failed to initialize");
|
ExitOnFailure(hr, "Failed to initialize");
|
||||||
hr = getInstallFolder(hInstall, installationFolder);
|
hr = getInstallFolder(hInstall, installationFolder);
|
||||||
ExitOnFailure(hr, "Failed to get installfolder.");
|
ExitOnFailure(hr, "Failed to get installFolder.");
|
||||||
for (const auto& changeSet : getAllModulesChangeSets(installationFolder, false))
|
for (const auto& changeSet : getAllModulesChangeSets(installationFolder, false))
|
||||||
{
|
{
|
||||||
changeSet.unApply();
|
changeSet.unApply();
|
||||||
|
|||||||
Reference in New Issue
Block a user