mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
installer: minor code simplification
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1059 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
c788495913
commit
7c5545d939
@ -461,16 +461,14 @@ begin
|
||||
ExpandConstant('{dotnet20}');
|
||||
except
|
||||
begin
|
||||
if not WizardSilent() then
|
||||
if SuppressibleMsgBox(CustomMessage('msg_AskToDownNET'), mbCriticalError, MB_YESNO or MB_DEFBUTTON1, IDNO) = IDYES then begin
|
||||
if not WizardSilent() then begin
|
||||
if SuppressibleMsgBox(CustomMessage('msg_AskToDownNET'), mbCriticalError, MB_YESNO or MB_DEFBUTTON1, IDNO) = IDYES then
|
||||
ShellExec('open','http://download.microsoft.com/download/5/6/7/567758a3-759e-473e-bf8f-52154438565a/dotnetfx.exe','','',SW_SHOWNORMAL,ewNoWait,iErrorCode);
|
||||
Result := False;
|
||||
end
|
||||
else
|
||||
Result := False;
|
||||
Result := False;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user