else strcpy(ugUninstall.szWrMainKey, szKeyCrypted);
HRESULT ParseUninstallIni(LPSTR lpszCmdLine){  char szBuf[MAX_BUF];  char szKeyCrypted[MAX_BUF];  char szShowDialog[MAX_BUF];  if(CheckInstances())    return(1);  if(InitUninstallGeneral())    return(1);  if(InitDlgUninstall(&diUninstall))    return(1);   lstrcpy(ugUninstall.szLogFilename, FILE_LOG_INSTALL);  /* get install Mode information */  GetPrivateProfileString("General", "Run Mode", "", szBuf, MAX_BUF, szFileIniUninstall);  SetUninstallRunMode(szBuf);  ParseCommandLine(lpszCmdLine);  /* get product name description */  GetPrivateProfileString("General", "Product Name", "", ugUninstall.szProductName, MAX_BUF, szFileIniUninstall);  GetPrivateProfileString("General", "Root Key",     "", szBuf, MAX_BUF, szFileIniUninstall);  ugUninstall.hWrRoot = ParseRootKey(szBuf);  GetPrivateProfileString("General", "Key",          "", szKeyCrypted, MAX_BUF, szFileIniUninstall);  GetPrivateProfileString("General", "Decrypt Key",  "", szBuf, MAX_BUF, szFileIniUninstall);  if(lstrcmpi(szBuf, "TRUE") == 0)  {    DecryptString(ugUninstall.szWrKey, szKeyCrypted);  }  RemoveBackSlash(ugUninstall.szWrKey);  GetPrivateProfileString("General", "Main Root Key",    "", szBuf, MAX_BUF, szFileIniUninstall);  ugUninstall.hWrMainRoot = ParseRootKey(szBuf);  GetPrivateProfileString("General", "Main Key",         "", szKeyCrypted, MAX_BUF, szFileIniUninstall);  GetPrivateProfileString("General", "Decrypt Main Key", "", szBuf, MAX_BUF, szFileIniUninstall);  if(lstrcmpi(szBuf, "TRUE") == 0)  {    DecryptString(ugUninstall.szWrMainKey, szKeyCrypted);  }  RemoveBackSlash(ugUninstall.szWrMainKey);  GetPrivateProfileString("General", "Uninstall Filename", "", ugUninstall.szUninstallFilename, MAX_BUF, szFileIniUninstall);  /* Uninstall dialog */  GetPrivateProfileString("Dialog Uninstall",       "Show Dialog",  "", szShowDialog,                 MAX_BUF, szFileIniUninstall);  GetPrivateProfileString("Dialog Uninstall",       "Title",        "", diUninstall.szTitle,          MAX_BUF, szFileIniUninstall);  GetPrivateProfileString("Dialog Uninstall",       "Message0",     "", diUninstall.szMessage0,       MAX_BUF, szFileIniUninstall);  if(lstrcmpi(szShowDialog, "TRUE") == 0)    diUninstall.bShowDialog = TRUE;  switch(ugUninstall.dwMode)  {    case AUTO:    case SILENT:      gdwWhatToDo             = WTD_NO_TO_ALL;      diUninstall.bShowDialog = FALSE;      break;  }  return(GetUninstallLogPath());}