MakeNSISW now uses WinInet when checking for updates

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6604 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2015-09-07 21:31:50 +00:00
parent e58680c996
commit 873e860f57
20 changed files with 144 additions and 1650 deletions

View file

@ -989,6 +989,11 @@ bool FileExists(const TCHAR *fname)
return false;
}
bool OpenUrlInDefaultBrowser(HWND hwnd, LPCSTR Url)
{
return (int)(INT_PTR) ShellExecuteA(hwnd, NULL , Url, NULL, NULL, SW_SHOWNORMAL) > 32;
}
HMENU FindSubMenu(HMENU hMenu, UINT uId)
{
MENUITEMINFO mii;