if(ulOSType & OS_NT51)
if(WinRegKeyExists(HKEY_LOCAL_MACHINE, MOZ_CLIENT_BROWSER_KEY))
void ParseAllUninstallLogs(){  char  szFileInstallLog[MAX_BUF];  char  szKey[MAX_BUF];  sil   *silFile;  DWORD dwFileFound;  DWORD dwRv = 0;  UndoDesktopIntegration();  CleanupMailIntegration();  dwFileFound = GetLogFile(ugUninstall.szLogPath, ugUninstall.szLogFilename, szFileInstallLog, sizeof(szFileInstallLog));  while(dwFileFound)  {    if((silFile = InitSilNodes(szFileInstallLog)) != NULL)    {      FileDelete(szFileInstallLog);      dwRv = Uninstall(silFile);      DeInitSilNodes(&silFile);      if(dwRv == WTD_CANCEL)        break;    }    dwFileFound = GetLogFile(ugUninstall.szLogPath, ugUninstall.szLogFilename, szFileInstallLog, sizeof(szFileInstallLog));  }  if(dwRv != WTD_CANCEL)  {    lstrcpy(szFileInstallLog, ugUninstall.szLogPath);    AppendBackSlash(szFileInstallLog, MAX_BUF);    lstrcat(szFileInstallLog, ugUninstall.szLogFilename);    if(FileExists(szFileInstallLog))    {      if((silFile = InitSilNodes(szFileInstallLog)) != NULL)      {        FileDelete(szFileInstallLog);        Uninstall(silFile);        DeInitSilNodes(&silFile);      }    }    /* clean up the uninstall windows registry key */    lstrcpy(szKey, "Software\\Microsoft\\Windows\\CurrentVersion\\uninstall\\");    lstrcat(szKey, ugUninstall.szUninstallKeyDescription);    RegDeleteKey(HKEY_LOCAL_MACHINE, szKey);    /* update Wininit.ini to remove itself at reboot */    RemoveUninstaller(ugUninstall.szUninstallFilename);  }  /* Broadcast message only under NT51 (WinXP) regarding the following   * registry keys in case they were changed during uninstallation.  If they   * were, then the broadcast will alert the OS to update the appropriate UIs.   * This needs to be done regardless if the user canceled the uninstall   * process or not.   */  if(ulOSType & OS_NT51)  {    SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Software\\Clients\\StartMenuInternet");    SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM)"Software\\Clients\\Mail");  }}