We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6913334 commit aad0c95Copy full SHA for aad0c95
Installer.cpp
@@ -209,7 +209,9 @@ Package GetSparsePackage()
209
HRESULT NppShell::Installer::RegisterSparsePackage()
210
{
211
if (::GetSystemMetrics(SM_CLEANBOOT) > 0)
212
+ {
213
return S_FALSE; // Otherwise we will get an unhandled exception later due to HRESULT 0x8007043c (ERROR_NOT_SAFEBOOT_SERVICE).
214
+ }
215
216
PackageManager packageManager;
217
AddPackageOptions options;
@@ -298,7 +300,9 @@ HRESULT NppShell::Installer::UnregisterOldContextMenu()
298
300
void ReRegisterSparsePackage()
299
301
302
303
304
return; // Sparse package reg/unreg cannot be done in the Windows OS SafeMode.
305
306
307
winrt::init_apartment();
308
0 commit comments