DeleteObject(sgInstallGui.systemFont); DeleteObject(sgInstallGui.definedFont);
void DeInitialize(){  char szBuf[MAX_BUF];  LogISTime(W_END);  if(bCreateDestinationDir)  {    lstrcpy(szBuf, sgProduct.szPath);    AppendBackSlash(szBuf, sizeof(szBuf));    DirectoryRemove(szBuf, FALSE);  }  if(hbmpBoxChecked)    DeleteObject(hbmpBoxChecked);  if(hbmpBoxCheckedDisabled)    DeleteObject(hbmpBoxCheckedDisabled);  if(hbmpBoxUnChecked)    DeleteObject(hbmpBoxUnChecked);  DeleteWGetLog();  CleanTempFiles();  DirectoryRemove(szTempDir, FALSE);  if(gErrorMessageStream.bEnabled && gErrorMessageStream.bSendMessage)    SendErrorMessage();  DeInitSiComponents(&siComponents);  DeInitSXpcomFile();  DeInitSDObject();  DeInitDlgReboot(&diReboot);  DeInitDlgDownload(&diDownload);  DeInitDlgStartInstall(&diStartInstall);  DeInitDlgDownloadOptions(&diDownloadOptions);  DeInitDlgAdvancedSettings(&diAdvancedSettings);  DeInitDlgProgramFolder(&diProgramFolder);  DeInitDlgWindowsIntegration(&diWindowsIntegration);  DeInitDlgSelectComponents(&diSelectAdditionalComponents);  DeInitDlgSelectComponents(&diSelectComponents);  DeInitDlgSetupType(&diSetupType);  DeInitDlgLicense(&diLicense);  DeInitDlgWelcome(&diWelcome);  DeInitSetupGeneral();  DeInitDSNode(&gdsnComponentDSRequirement);  DeInitErrorMessageStream();  FreeMemory(&szTempDir);  FreeMemory(&szOSTempDir);  FreeMemory(&szSetupDir);  FreeMemory(&szFileIniConfig);  FreeMemory(&szEGlobalAlloc);  FreeMemory(&szEDllLoad);  FreeMemory(&szEStringLoad);  FreeMemory(&szEStringNull);  FreeLibrary(hSetupRscInst);}