File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ HRESULT CALLBACK FinalTaskDialogCallbackProc(
139
139
info .lpVerb = UpdaterCheckApplicationDirectory () ? NULL : L"runas" ;
140
140
info .nShow = SW_SHOW ;
141
141
info .hwnd = hwndDlg ;
142
- info .fMask = SEE_MASK_NOASYNC | SEE_MASK_FLAG_NO_UI ;
142
+ info .fMask = SEE_MASK_NOASYNC | SEE_MASK_FLAG_NO_UI | SEE_MASK_NOZONECHECKS ;
143
143
144
144
ProcessHacker_PrepareForEarlyShutdown (PhMainWndHandle );
145
145
@@ -157,7 +157,7 @@ HRESULT CALLBACK FinalTaskDialogCallbackProc(
157
157
// Show error dialog.
158
158
if (errorCode != ERROR_CANCELLED ) // Ignore UAC decline.
159
159
{
160
- PhShowStatus (hwndDlg , L"Unable to execute the setup." , 0 , GetLastError () );
160
+ PhShowStatus (hwndDlg , L"Unable to execute the setup." , 0 , errorCode );
161
161
162
162
if (context -> StartupCheck )
163
163
ShowAvailableDialog (context );
You can’t perform that action at this time.
0 commit comments