Open a URL in a browser and get back the focus
I am using this command to open the user browser for a giving URL.
This is been done before the last page is been called.
ExecShell "open" "${URL}"
How I can open the URL and keep the installer windows on top?
When I run this command the browser is been on top of the installer.
I tried the following code but it didn't do the trick.
StrCpy $0 $HWNDPARENT
System::Call "user32::SetWindowPos(i r0, i -1, i 0, i 0, i 0, i 0, i 3)"
ExecShell "open" "${URL}"
System::Call "user32::SetWindowPos(i r0, i -2, i 0, i 0, i 0, i 0, i 3)"
Thanks