mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Simplify some IfSilent calls (MessageBox is not displayed in silent mode anyway)
This commit is contained in:
parent
4897d3c802
commit
c752223c7b
1 changed files with 4 additions and 8 deletions
|
|
@ -363,10 +363,8 @@ Function vcredist2013installer
|
|||
|
||||
vcredist_not_present:
|
||||
DetailPrint "Microsoft Visual C++ 2013 Redistributable failed to install"
|
||||
IfSilent vcredist_done vcredist_messagebox
|
||||
vcredist_messagebox:
|
||||
MessageBox MB_OK "Microsoft Visual C++ 2013 Redistributable Package (x86) failed to install. Please ensure your system meets the minimum requirements before running the installer again."
|
||||
Goto vcredist_done
|
||||
MessageBox MB_OK "Microsoft Visual C++ 2013 Redistributable Package (x86) failed to install. Please ensure your system meets the minimum requirements before running the installer again."
|
||||
Goto vcredist_done
|
||||
vcredist_success:
|
||||
Delete "$PLUGINSDIR\vcredist_x86.exe"
|
||||
DetailPrint "Microsoft Visual C++ 2013 Redistributable was successfully installed"
|
||||
|
|
@ -399,10 +397,8 @@ Function vcredist2008installer
|
|||
StrCmp $0 "Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161" vcredist2008_success vcredist2008_not_present
|
||||
vcredist2008_not_present:
|
||||
DetailPrint "Microsoft Visual C++ 2008 Redistributable failed to install"
|
||||
IfSilent vcredist2008_done vcredist2008_messagebox
|
||||
vcredist2008_messagebox:
|
||||
MessageBox MB_OK "Microsoft Visual C++ 2008 Redistributable Package (x86) failed to install. Please ensure your system meets the minimum requirements before running the installer again."
|
||||
Goto vcredist2008_done
|
||||
MessageBox MB_OK "Microsoft Visual C++ 2008 Redistributable Package (x86) failed to install. Please ensure your system meets the minimum requirements before running the installer again."
|
||||
Goto vcredist2008_done
|
||||
vcredist2008_success:
|
||||
Delete "$PLUGINSDIR\vcredist2008_x86.exe"
|
||||
DetailPrint "Microsoft Visual C++ 2008 Redistributable was successfully installed"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue