Fixes an issue with setup.exe which could prevent Jitsi from applying a delta update.

cusax-fix
Lyubomir Marinov 13 years ago
parent 7f0c0810db
commit a97d4f941c

@ -45,6 +45,8 @@ Run_getRegSzValue(HKEY key, LPCTSTR name, LPTSTR *data)
}
}
}
else
error = ERROR_NOT_ENOUGH_MEMORY;
}
else
error = ERROR_FILE_NOT_FOUND;

@ -861,7 +861,16 @@ Setup_findProductIdByPackageCode(LPCTSTR packageCode, LPTSTR *productId)
free(packageCodeOfProductId);
}
else
LastError_setLastError(error, _T(__FILE__), __LINE__);
{
/*
* We failed to read one PackageCode out of many while looking
* for ours. Eventually, it makes no difference whether the
* failed one was ours or not. Most importantly, we cannot give
* up the search because the failed one may have not been ours
* anyway.
*/
error = ERROR_SUCCESS;
}
RegCloseKey(subKey);
if (ERROR_SUCCESS != error)
break;

Loading…
Cancel
Save