Don't use ShellExecute, only ShellExecuteEx
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6867 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
87980a831a
commit
f5a9b401df
4 changed files with 19 additions and 4 deletions
|
@ -99,6 +99,13 @@ HANDLE NSISCALL myCreateProcess(TCHAR *cmd)
|
|||
return ProcInfo.hProcess;
|
||||
}
|
||||
|
||||
BOOL NSISCALL myShellExecuteEx(SHELLEXECUTEINFO*pSEI)
|
||||
{
|
||||
pSEI->cbSize = sizeof(SHELLEXECUTEINFO);
|
||||
pSEI->lpIDList = NULL; // Must set this because SEE_MASK_INVOKEIDLIST might be set by ExecShell[Wait]
|
||||
return ShellExecuteEx(pSEI);
|
||||
}
|
||||
|
||||
/*BOOL NSISCALL my_SetWindowText(HWND hWnd, const TCHAR *val)
|
||||
{
|
||||
return SendMessage(hWnd,WM_SETTEXT,0,(LPARAM)val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue