title: How to close the parent dilaog after opened the browser from the message box when clicked on "OK" in the MessageBox
body: <p>I am checking the required software before installing the installer, if the software is not present I am showing the MessageBox with &quot;OK&quot; button. When the user clicked
  on &quot;OK&quot;, it is navigating to the given URL to install the missing software. But here the issue is, the parent dialog is not closing when navigating from the Message box to the support page.</p>
  <p>I tried different ways to close the parent dialog when the user clicked on &quot;OK&quot; button. Please suggest me if there is any way to close the dilaog.</p>
  <pre><code> Function IsDotNetInstalled
      ClearErrors
      ReadRegStr $0 HKLM &quot;Software\Microsoft\.NETFramework\policy\v3.0&quot; &quot;20319&quot;
      IfErrors Error
      Goto End
      
      Error:
      
      MessageBox MB_OK|MB_ICONSTOP &quot;Setup could not detect Microsoft .NET Framework v4.0 on this computer. $\r$\n$\r$\n Please install Microsoft .NET Framework v4.0 and run setup again. $\r$\n$\r$\n Click on OK to navigate to the Microsoft Support page&quot; IDOK
      
      ExecShell open &quot;https://www.microsoft.com/en-in/download/details.aspx?id=17718&quot;
      
     SendMessage $HwndParent ${WM_QUIT} 0 0
     Abort
     Quit
      
      End:
      SendMessage $HwndParent ${WM_QUIT} 0 0
      Abort
      Quit
      FunctionEnd
  </code></pre>
  <p>I am calling the above function from the below section:</p>
  <pre><code>Section &quot;RegistryTest (required)&quot;
  SectionIn RO
  
  Call IsDotNetInstalled
  ExecShell &quot;&quot; &quot;$INSTDIR\Test.exe&quot;
  
  SectionEnd
  </code></pre>