InstallShield 2010 打包实例 - 图文(5)

2019-08-01 23:05

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);


InstallShield 2010 打包实例 - 图文(5).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:妇产科学试题库答案在最后

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: