fixing bug 141858 - unexpected setup\setup.exe error message after installing browser
git-svn-id: svn://10.0.0.236/trunk@120759 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
bff0b0c6a3
commit
cd1c8c8ee6
@ -6730,6 +6730,8 @@ HRESULT DecryptVariable(LPSTR szVariable, DWORD dwVariableSize)
|
||||
GetPrivateProfileString(szLookupSection, "Path Reg Name", "", szName, sizeof(szName), szFileIniConfig);
|
||||
|
||||
GetWinReg(hkeyRoot, szKey, szName, szBuf, sizeof(szBuf));
|
||||
if(*szBuf == '\0')
|
||||
return(FALSE);
|
||||
|
||||
GetPrivateProfileString(szLookupSection, "Strip Filename", "", szBuf2, sizeof(szBuf2), szFileIniConfig);
|
||||
if(lstrcmpi(szBuf2, "TRUE") == 0)
|
||||
|
||||
@ -1327,7 +1327,7 @@ HRESULT ProcessRunApp(DWORD dwTiming, char *szSectionPrefix)
|
||||
else
|
||||
bWait = TRUE;
|
||||
|
||||
if (bRunApp == TRUE)
|
||||
if ((bRunApp == TRUE) && FileExists(szTarget))
|
||||
{
|
||||
if((dwTiming == T_DEPEND_REBOOT) && (NeedReboot() == TRUE))
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user