bootstrapper: add --extract_msi arg for users that must access MSI (#8646)

* bootstrapper: add --extract_msi arg for users that must access MSI

- clean up setting outdated MSI properties
- minor fixes
This commit is contained in:
Andrey Nekrasov
2020-12-17 19:58:15 +03:00
committed by GitHub
parent e58ff6c71c
commit 0709b0648a
4 changed files with 33 additions and 14 deletions

View File

@@ -173,7 +173,7 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
}
std::wstring_view action{ args[1] };
if (action == L"-run-non-elevated")
if (action == RUN_NONELEVATED_CMDARG)
{
int nextArg = 2;
@@ -235,7 +235,7 @@ int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
}
}
}
else if (action == L"-uninstall_msi")
else if (action == UNINSTALL_MSI_CMDARG)
{
return uninstall_msi_action();
}