ullTotalSize += siCFCoreFile.ullInstallSize;
ullTotalSize += siCFXpcomFile.ullInstallSize;
ULONGLONG GetDiskSpaceRequired(DWORD dwType){  ULONGLONG ullTotalSize = 0;  siC       *siCTemp     = siComponents;  if(siCTemp != NULL)  {    if(siCTemp->dwAttributes & SIC_SELECTED)    {      switch(dwType)      {        case DSR_DESTINATION:          ullTotalSize += siCTemp->ullInstallSize;          break;        case DSR_SYSTEM:          ullTotalSize += siCTemp->ullInstallSizeSystem;          break;        case DSR_TEMP:        case DSR_DOWNLOAD_SIZE:          if((LocateJar(siCTemp) == FALSE) || (dwType == DSR_DOWNLOAD_SIZE))            ullTotalSize += siCTemp->ullInstallSizeArchive;          break;      }    }    siCTemp = siCTemp->Next;    while((siCTemp != NULL) && (siCTemp != siComponents))    {      if(siCTemp->dwAttributes & SIC_SELECTED)      {        switch(dwType)        {          case DSR_DESTINATION:            ullTotalSize += siCTemp->ullInstallSize;            break;          case DSR_SYSTEM:            ullTotalSize += siCTemp->ullInstallSizeSystem;            break;          case DSR_TEMP:          case DSR_DOWNLOAD_SIZE:            if((LocateJar(siCTemp) == FALSE) || (dwType == DSR_DOWNLOAD_SIZE))              ullTotalSize += siCTemp->ullInstallSizeArchive;            break;        }      }      siCTemp = siCTemp->Next;    }  }  /* add the amount of disk space it will take for the      xpinstall engine in the TEMP area */  if(dwType == DSR_TEMP)    ullTotalSize += siCFCoreFile.ullInstallSize;  return(ullTotalSize);}