зеркало из https://github.com/mozilla/pjs.git
fixing bug 141858 - unexpected setup\setup.exe error message after installing browser
This commit is contained in:
Родитель
2f869a7005
Коммит
ddba0b8fa0
|
@ -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))
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче