sgProduct.greCleanupOrphans = FALSE; *sgProduct.greCleanupOrphansMessage = '\0';
HRESULT InitSetupGeneral(){  gSystemInfo.bRefreshIcons      = FALSE;   sgProduct.mode                 = NOT_SET;  sgProduct.bSharedInst          = FALSE;  sgProduct.bInstallFiles        = TRUE;  sgProduct.checkCleanupOnUpgrade = FALSE;  sgProduct.doCleanupOnUpgrade    = FALSE;  sgProduct.greType              = GRE_TYPE_NOT_SET;  sgProduct.dwCustomType         = ST_RADIO0;  sgProduct.dwNumberOfComponents = 0;  sgProduct.bLockPath            = FALSE;  if((sgProduct.szPath                        = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szSubPath                     = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProgramName                 = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szCompanyName                 = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProductName                 = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProductNameInternal         = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProductNamePrevious         = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szUninstallFilename           = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szUserAgent                   = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProgramFolderName           = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szProgramFolderPath           = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szAlternateArchiveSearchPath  = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szParentProcessFilename       = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((szTempSetupPath                         = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((szSiteSelectorDescription               = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szAppID                       = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szAppPath                     = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((sgProduct.szRegPath                     = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  *sgProduct.greID         = '\0';  *sgProduct.grePrivateKey = '\0';  return(0);}