fixed bug #1605581 - nsExec:ExecToLog is unstable in silent mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4835 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0d05d1ea62
commit
80c1dfbc16
1 changed files with 3 additions and 1 deletions
|
@ -143,7 +143,9 @@ void ExecScript(int log) {
|
||||||
g_to = 0; // default is no timeout
|
g_to = 0; // default is no timeout
|
||||||
bOEM = FALSE; // default is no OEM->ANSI conversion
|
bOEM = FALSE; // default is no OEM->ANSI conversion
|
||||||
|
|
||||||
g_hwndList = FindWindowEx(FindWindowEx(g_hwndParent,NULL,"#32770",NULL),NULL,"SysListView32",NULL);
|
g_hwndList = NULL;
|
||||||
|
if (g_hwndParent)
|
||||||
|
g_hwndList = FindWindowEx(FindWindowEx(g_hwndParent,NULL,"#32770",NULL),NULL,"SysListView32",NULL);
|
||||||
|
|
||||||
// add space
|
// add space
|
||||||
pExec = g_exec + lstrlen(g_exec);
|
pExec = g_exec + lstrlen(g_exec);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue