if(diStartInstall.bShowDialog)
if(diProgramFolder.bShowDialog)
void DlgSequencePrev(){  switch(dwWizardState)  {    case DLG_START_INSTALL:      dwWizardState = DLG_PROGRAM_FOLDER;      gbProcessingXpnstallFiles = FALSE;      if(diStartInstall.bShowDialog)        InstantiateDialog(dwWizardState, diProgramFolder.szTitle, DlgProcProgramFolder);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;    case DLG_PROGRAM_FOLDER:      dwWizardState = DLG_WINDOWS_INTEGRATION;      gbProcessingXpnstallFiles = FALSE;      if(diWindowsIntegration.bShowDialog)        InstantiateDialog(dwWizardState, diWindowsIntegration.szTitle, DlgProcWindowsIntegration);      else      {        CheckWizardStateCustom(DLG_SELECT_COMPONENTS);        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      }      break;    case DLG_WINDOWS_INTEGRATION:      /* depending on what the users chooses, the Select Components dialog  */      /* might not be the next dialog in the sequence.                      */      dwWizardState = DLG_SELECT_COMPONENTS;      gbProcessingXpnstallFiles = FALSE;      if(diSelectComponents.bShowDialog)        InstantiateDialog(dwWizardState, diSelectComponents.szTitle, DlgProcSelectComponents);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;    case DLG_SELECT_COMPONENTS:      dwWizardState = DLG_SETUP_TYPE;      gbProcessingXpnstallFiles = FALSE;      if(diSetupType.bShowDialog)        InstantiateDialog(dwWizardState, diSetupType.szTitle, DlgProcSetupType);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;    case DLG_SETUP_TYPE:      dwWizardState = DLG_LICENSE;      gbProcessingXpnstallFiles = FALSE;      if(diLicense.bShowDialog)        InstantiateDialog(dwWizardState, diLicense.szTitle, DlgProcLicense);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;    case DLG_LICENSE:      dwWizardState = DLG_WELCOME;      gbProcessingXpnstallFiles = FALSE;      if(diWelcome.bShowDialog)        InstantiateDialog(dwWizardState, diWelcome.szTitle, DlgProcWelcome);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;    default:      dwWizardState = DLG_WELCOME;      gbProcessingXpnstallFiles = FALSE;      if(diWelcome.bShowDialog)        InstantiateDialog(DLG_WELCOME, diWelcome.szTitle, DlgProcWelcome);      else        PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0);      break;  }}