WGet(szFullURL);
WGet(szFullURL, diAdvancedSettings.szProxyServer, diAdvancedSettings.szProxyPort, diAdvancedSettings.szProxyUser, diAdvancedSettings.szProxyPasswd);
void DeInitialize(){  char szBuf[MAX_BUF];  if(gErrorMessageStream.bEnabled && gErrorMessageStream.bSendMessage)  {    char *szPartialEscapedURL = NULL;    /* append to the message stream the list of components that either had     * network retries or crc retries */    LogMSDownloadFileStatus();    /* replace this function call with a call to xpnet */    if((szPartialEscapedURL = nsEscape(gErrorMessageStream.szMessage,                                       url_Path)) != NULL)    {      char  szMsg[MAX_BUF];      char  *szFullURL = NULL;      DWORD dwSize;      /* take into account '?' and '\0' chars */      dwSize = lstrlen(gErrorMessageStream.szURL) +               lstrlen(szPartialEscapedURL) + 2;      if((szFullURL = NS_GlobalAlloc(dwSize)) != NULL)      {        wsprintf(szFullURL,                 "%s?%s",                 gErrorMessageStream.szURL,                 szPartialEscapedURL);        wsprintf(szMsg,                 "UnEscapedURL: %s?%s\nEscapedURL: %s",                 gErrorMessageStream.szURL,                 gErrorMessageStream.szMessage,                 szFullURL);        if(gErrorMessageStream.bShowConfirmation &&          (*gErrorMessageStream.szConfirmationMessage != '\0'))        {          char szConfirmationMessage[MAX_BUF];          wsprintf(szBuf,                   "\n\n  %s",                   gErrorMessageStream.szMessage);          wsprintf(szConfirmationMessage,                   gErrorMessageStream.szConfirmationMessage,                   szBuf);          if(MessageBox(hWndMain,                        szConfirmationMessage,                        sgProduct.szProductName,                        MB_OKCANCEL | MB_ICONQUESTION) == IDOK)            // PrintError(szMsg, ERROR_CODE_HIDE);            WGet(szFullURL);        }        else if(!gErrorMessageStream.bShowConfirmation)          //PrintError(szMsg, ERROR_CODE_HIDE);          WGet(szFullURL);        FreeMemory(&szFullURL);      }      FreeMemory(&szPartialEscapedURL);    }  }  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);  CleanTempFiles();  DirectoryRemove(szTempDir, FALSE);  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);}