int   iSharedFileCount = -1;
int   iSharedFileCount;
BOOL DetermineUnRegisterServer(sil *silInstallLogHead, LPSTR szFile){  sil   *silInstallLogTemp;  int   iSharedFileCount = -1;  char  szLCLine[MAX_BUF];  char  szLCFile[MAX_BUF];  BOOL  bRv;  bRv = FALSE;  if(silInstallLogHead != NULL)  {    silInstallLogTemp = silInstallLogHead;    iSharedFileCount  = GetSharedFileCount(szFile);    lstrcpy(szLCFile, szFile);    _strlwr(szLCFile);    do    {      silInstallLogTemp = silInstallLogTemp->Prev;      lstrcpy(szLCLine, silInstallLogTemp->szLine);      _strlwr(szLCLine);      if((strstr(szLCLine, szLCFile) != NULL) &&         (strstr(szLCLine, KEY_INSTALLING_SHARED_FILE) != NULL) &&         (strstr(szLCLine, KEY_DO_NOT_UNINSTALL) == NULL))      {        --iSharedFileCount;      }      else if((strstr(szLCLine, szLCFile) != NULL) &&              (strstr(szLCLine, KEY_INSTALLING) != NULL) &&              (strstr(szLCLine, KEY_DO_NOT_UNINSTALL) == NULL))      {        bRv = TRUE;        break;      }      else if((strstr(szLCLine, szLCFile) != NULL) &&              (strstr(szLCLine, KEY_REPLACING_SHARED_FILE) != NULL) &&              (strstr(szLCLine, KEY_DO_NOT_UNINSTALL) == NULL))      {        --iSharedFileCount;      }      else if((strstr(szLCLine, szLCFile) != NULL) &&              (strstr(szLCLine, KEY_REPLACING) != NULL) &&              (strstr(szLCLine, KEY_DO_NOT_UNINSTALL) == NULL))      {        bRv = TRUE;        break;      }      else if((strstr(szLCLine, szLCFile) != NULL) &&              (strstr(szLCLine, KEY_COPY_FILE) != NULL) &&              (strstr(szLCLine, KEY_DO_NOT_UNINSTALL) == NULL))      {        bRv = TRUE;        break;      }      ProcessWindowsMessages();    } while(silInstallLogTemp != silInstallLogHead);  }  if(iSharedFileCount <= 0)    bRv = TRUE;  return(bRv);}