function ShowDialogs()
   NUMBER  nResult;
 begin

   Dlg_Start:        // Beginn der Dialogmarker

   Dlg_SdWelcome:
      nResult = DialogShowSdWelcome();
      if (nResult = BACK) goto Dlg_Start;

   Dlg_SdLicense:
      nResult = DialogShowSdLicense();
      if (nResult = BACK) goto Dlg_SdWelcome;

   Dlg_SdShowInfoList:
      nResult = DialogShowSdShowInfoList();
      if (nResult = BACK) goto Dlg_SdLicense;

   Dlg_SdAskDestPath:
      nResult = DialogShowSdAskDestPath();
      if (nResult = BACK) goto Dlg_SdShowInfoList;

   Dlg_SdSetupType:
      nResult = DialogShowSdSetupType();
      if (nResult = BACK) goto Dlg_SdAskDestPath;

   Dlg_SdComponentDialog2:
      if ((nResult = BACK) && (svSetupType != "Benutzer") &&
         (svSetupType != "")) then
         goto Dlg_SdSetupType;
      endif;
      nResult = DialogShowSdComponentDialog2();
      if (nResult = BACK) goto Dlg_SdSetupType;

   Dlg_SdSelectFolder:
      nResult = DialogShowSdSelectFolder();
      if (nResult = BACK) goto Dlg_SdComponentDialog2;

   return 0;
 end;
