Index: inc/main.hxx =================================================================== RCS file: /cvs/oo/installation/setup2/inc/main.hxx,v retrieving revision 1.12.4.1 diff -u -p -u -r1.12.4.1 main.hxx --- inc/main.hxx 2002/05/31 10:05:00 1.12.4.1 +++ inc/main.hxx 2002/09/09 18:14:31 @@ -152,6 +152,7 @@ private: BOOL m_bInterrupt : 1; BOOL m_bParamDoCRCCheck : 1; BOOL m_bOfficeMode : 1; + BOOL m_bParamDisableGUI : 1; BOOL m_bIsAppServerInstall : 1; BOOL m_bResponseWizard : 1; #if defined WIN || defined WNT Index: source/ui/main.cxx =================================================================== RCS file: /cvs/oo/installation/setup2/source/ui/main.cxx,v retrieving revision 1.67.2.3 diff -u -p -u -r1.67.2.3 main.cxx --- source/ui/main.cxx 2002/07/08 12:19:47 1.67.2.3 +++ source/ui/main.cxx 2002/09/09 18:14:34 @@ -302,6 +302,7 @@ SetupApp::SetupApp() m_bInterrupt = FALSE; m_bParamDoCRCCheck = FALSE; m_bOfficeMode = FALSE; + m_bParamDisableGUI = FALSE; m_bResponseWizard = FALSE; m_bNoVcl = FALSE; @@ -400,8 +401,9 @@ void SetupApp::Main() UniString aParamError = ReadParams(); USHORT nResponseStep = m_pEnv->GetResponseStep(); + if( m_pEnv->GetResponseFilename().Len() && - ( ( nResponseStep == 1 ) || ( nResponseStep == 2 ) ) ) + ( m_bParamDisableGUI || ( nResponseStep == 1 ) || ( nResponseStep == 2 ) ) ) { m_bNoVcl = TRUE; m_pEnv->SetHasVCL( FALSE ); @@ -1369,6 +1373,14 @@ UniString SetupApp::ReadParams() if( aParamPrefix == "F:" ) { m_aParamFollowApp = aParamPostfix; + } + else + ////////////////////////////////////// + // NOGUI + if( aParamName == "NOGUI" ) + { + m_bParamDisableGUI = TRUE; + fprintf (stderr, "Disable gui\n"); } else bError = TRUE;