Lines 302-307
SetupApp::SetupApp()
Link Here
|
302 |
m_bInterrupt = FALSE; |
302 |
m_bInterrupt = FALSE; |
303 |
m_bParamDoCRCCheck = FALSE; |
303 |
m_bParamDoCRCCheck = FALSE; |
304 |
m_bOfficeMode = FALSE; |
304 |
m_bOfficeMode = FALSE; |
|
|
305 |
m_bParamDisableGUI = FALSE; |
305 |
m_bResponseWizard = FALSE; |
306 |
m_bResponseWizard = FALSE; |
306 |
m_bNoVcl = FALSE; |
307 |
m_bNoVcl = FALSE; |
307 |
|
308 |
|
Lines 400-407
void SetupApp::Main()
Link Here
|
400 |
UniString aParamError = ReadParams(); |
401 |
UniString aParamError = ReadParams(); |
401 |
|
402 |
|
402 |
USHORT nResponseStep = m_pEnv->GetResponseStep(); |
403 |
USHORT nResponseStep = m_pEnv->GetResponseStep(); |
|
|
404 |
|
403 |
if( m_pEnv->GetResponseFilename().Len() && |
405 |
if( m_pEnv->GetResponseFilename().Len() && |
404 |
( ( nResponseStep == 1 ) || ( nResponseStep == 2 ) ) ) |
406 |
( m_bParamDisableGUI || ( nResponseStep == 1 ) || ( nResponseStep == 2 ) ) ) |
405 |
{ |
407 |
{ |
406 |
m_bNoVcl = TRUE; |
408 |
m_bNoVcl = TRUE; |
407 |
m_pEnv->SetHasVCL( FALSE ); |
409 |
m_pEnv->SetHasVCL( FALSE ); |
Lines 1369-1374
UniString SetupApp::ReadParams()
Link Here
|
1369 |
if( aParamPrefix == "F:" ) |
1373 |
if( aParamPrefix == "F:" ) |
1370 |
{ |
1374 |
{ |
1371 |
m_aParamFollowApp = aParamPostfix; |
1375 |
m_aParamFollowApp = aParamPostfix; |
|
|
1376 |
} |
1377 |
else |
1378 |
////////////////////////////////////// |
1379 |
// NOGUI |
1380 |
if( aParamName == "NOGUI" ) |
1381 |
{ |
1382 |
m_bParamDisableGUI = TRUE; |
1383 |
fprintf (stderr, "Disable gui\n"); |
1372 |
} |
1384 |
} |
1373 |
else |
1385 |
else |
1374 |
bError = TRUE; |
1386 |
bError = TRUE; |