You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Visual C++ Redistributables check to Windows installer
- Added IsVCRedistInstalled() function to check for VC++ runtime
- Shows warning dialog if VC++ Redistributables are not detected
- Helps prevent 'create process failed; code 2' errors
- Users are informed they need to install VC++ Redistributables
if MsgBox('Visual C++ Redistributables are not detected on this system. ' +
1341
+
'CortexIDE requires Visual C++ Redistributables to run properly. ' +
1342
+
'You can download them from: https://aka.ms/vs/17/release/vc_redist.x64.exe' + #13#10 + #13#10 +
1343
+
'Do you want to continue with the installation anyway?',
1344
+
mbConfirmation, MB_YESNO) = IDNO thenbegin
1345
+
Result := False;
1346
+
end;
1347
+
end;
1348
+
1316
1349
#if"user" == InstallTarget
1317
1350
ifnot WizardSilent() and IsAdmin() thenbegin
1318
1351
if MsgBox('This User Installer is not meant to be run as an Administrator. If you would like to install VS Code for all users in this system, download the System Installer instead from https://code.visualstudio.com. Are you sure you want to continue?', mbError, MB_OKCANCEL) = IDCANCEL thenbegin
0 commit comments