szMsg = SdLoadString( IDS_IFX_ERROR_PRODUCT_NOT_INSTALLED_UNINST );
SdSubstituteProductInfo( szMsg ); MessageBox( szMsg, SEVERE ); abort;
endif;
Dlg_SdWelcome:
szTitle = \欢迎使用UWAY-OMD GB优化系统\
szMsg = \安装软件将在您的计算机中安装 'UWAY-OMD GB优化系统' 若要继续,请单击下一步\
nResult = SdWelcome(szTitle, szMsg); if (nResult = BACK) goto Dlg_SdWelcome;
szTitle = \svName = \
nSetupType = TYPICAL;
svCompany = \
Dlg_SdRegisterUser:
szMsg = \请您填写用户信息\
szTitle = \欢迎您\\b\\n使用UWAY-OMD GB优化系统\
nResult = SdRegisterUser( szTitle, szMsg, svName, svCompany );
if (nResult = BACK) goto Dlg_SdWelcome;
Dlg_SetupType:
szTitle = \安装类型\\b\\n请选择安装类型\ szMsg = \请选择安装\
nResult = SetupType2(szTitle, szMsg, \nSetupType, 0);
if (nResult = BACK) then goto Dlg_SdRegisterUser; else
nSetupType = nResult;
if (nSetupType != CUSTOM) then
nvSize = 0;
FeatureCompareSizeRequired(MEDIA, INSTALLDIR, nvSize);
if (nvSize != 0) then
MessageBox(szSdStr_NotEnoughSpace, WARNING);
goto Dlg_SetupType;
endif;
bCustom = FALSE; goto Dlg_SQL;
else
bCustom = TRUE;
endif; endif;
Dlg_SdAskDestPath:
nResult = SdAskDestPath(szTitle, szMsg, INSTALLDIR, 0);
if (nResult = BACK) goto Dlg_SetupType;
Dlg_SdFeatureTree: szTitle = \ szMsg = \
if (nSetupType = CUSTOM) then
nResult = SdFeatureTree(szTitle, szMsg, INSTALLDIR, \2);
if (nResult = BACK) goto Dlg_SdAskDestPath;
endif;
Dlg_SQL:
nResult = OnSQLLogin( nResult );
if( nResult = BACK ) then
if (!bCustom) then
goto Dlg_SetupType;
else
goto Dlg_SdFeatureTree;
endif;
endif;
Dlg_SdStartCopy:
szTitle = \可以安装UWAY-OMD GB优化系统了\\b\\n安装准备工作已就绪,可以开始安装了。\
szMsg =\\单击\安装\以开始安装。\\b\\n如果要检查或更改任何安装设置,请单击\上一步\。单击\取消\退出安装向导。\
nResult = SdStartCopy2( szTitle, szMsg );
if (nResult = BACK) then goto Dlg_SQL;; endif;
listStartCopy = ListCreate( STRINGLIST );
switch (nSetupType)
case TYPICAL : ListAddString(listStartCopy,\Type: 典型\
case COMPACT: ListAddString(listStartCopy,\Type: 压缩\
case CUSTOM: ListAddString(listStartCopy,\Type: 自定义\ endswitch;
ListAddString(listStartCopy,\\
ListDestroy(listStartCopy);
// Added in IS 2009 - Set appropriate StatusEx static text.
SetStatusExStaticText( SdLoadString( IDS_IFX_STATUSEX_STATICTEXT_FIRSTUI ) );
// setup default status Enable(STATUSEX);