if(iRv != AP_NOT_FOUND)
if((iRv != AP_NOT_FOUND) && (lstrcmpi(szPartiallyDownloadedFilename, siCObject->szArchiveName) != 0))
int CRCCheckArchivesStartup(char *szCorruptedArchiveList, DWORD dwCorruptedArchiveListSize, BOOL bIncludeTempPath){  DWORD dwIndex0;  DWORD dwFileCounter;  siC   *siCObject = NULL;  char  szArchivePathWithFilename[MAX_BUF];  char  szArchivePath[MAX_BUF];  char  szMsgCRCCheck[MAX_BUF];  int   iRv;  int   iResult;  if(szCorruptedArchiveList != NULL)    ZeroMemory(szCorruptedArchiveList, dwCorruptedArchiveListSize);  GetPrivateProfileString("Strings", "Message Verifying Archives", "", szMsgCRCCheck, sizeof(szMsgCRCCheck), szFileIniConfig);  ShowMessage(szMsgCRCCheck, TRUE);    iResult           = WIZ_CRC_PASS;  dwIndex0          = 0;  dwFileCounter     = 0;  siCObject = SiCNodeGetObject(dwIndex0, TRUE, AC_ALL);  while(siCObject)  {    /* only download jars if not already in the local machine */    iRv = LocateJar(siCObject, szArchivePath, sizeof(szArchivePath), bIncludeTempPath);    if(iRv != AP_NOT_FOUND)    {      if(lstrlen(szArchivePath) < sizeof(szArchivePathWithFilename))        lstrcpy(szArchivePathWithFilename, szArchivePath);      AppendBackSlash(szArchivePathWithFilename, sizeof(szArchivePathWithFilename));      if((lstrlen(szArchivePathWithFilename) + lstrlen(siCObject->szArchiveName)) < sizeof(szArchivePathWithFilename))        lstrcat(szArchivePathWithFilename, siCObject->szArchiveName);      if(CheckForArchiveExtension(szArchivePathWithFilename))      {        /* Make sure that the Archive that failed is located in the TEMP         * folder.  This means that it was downloaded at one point and not         * simply uncompressed from the self-extracting exe file. */        if(VerifyArchive(szArchivePathWithFilename) != ZIP_OK)        {          if(iRv == AP_TEMP_PATH)            DeleteFile(szArchivePathWithFilename);          else if(szCorruptedArchiveList != NULL)          {            iResult = WIZ_CRC_FAIL;            if((DWORD)(lstrlen(szCorruptedArchiveList) + lstrlen(siCObject->szArchiveName + 1)) < dwCorruptedArchiveListSize)            {              lstrcat(szCorruptedArchiveList, "        ");              lstrcat(szCorruptedArchiveList, siCObject->szArchiveName);              lstrcat(szCorruptedArchiveList, "\n");            }            else            {              iResult = WIZ_OUT_OF_MEMORY;              break;            }          }        }      }    }    ++dwIndex0;    siCObject = SiCNodeGetObject(dwIndex0, TRUE, AC_ALL);  }  ShowMessage(szMsgCRCCheck, FALSE);  return(iResult);}