Installshield 2015:在安装过程结束时显示简单的安装报告

时间:2016-04-29 08:08:30

标签: installation report installshield

我正在使用Installshield 2015专业版从Installscript MSI类型项目创建MSI版本。 MSI安装了几个.NET应用程序先决条件和5个.NET应用程序。

我是IS2015的新手,想知道如何在安装过程结束时向最终用户显示安装报告?

安装报告必须总结是否所有文件都已复制,是否已正确安装某些先决条件,以及是否安装了计划任务。

这是我用来启动计划任务创建的Installscript代码:

//---------------------------------------------------------------------------
// OnFirstUIAfter
//
// The OnFirstUIAfter event called by the framework after the file transfer
// of the setup when the setup is running in first install mode. By default
// this event displays UI that informs the end user that the setup has been
// completed successfully.
//---------------------------------------------------------------------------
function OnFirstUIAfter()
   string szMessage, szTitle;
   number nResult;
begin   

//if (SYSINFO.WINNT.bWinServer2003 && SYSINFO.WINNT.nServicePack > 1 ) then 
if (SYSINFO.WINNT.bWinServer2003) then     
    LaunchAppAndWait(TARGETDIR ^ "CreateSchedulingWinServer2003.bat", TARGETDIR, LAAW_OPTION_WAIT); 
else
    LaunchAppAndWait(TARGETDIR ^ "CreateScheduling.bat", TARGETDIR, LAAW_OPTION_WAIT);  
endif; 

    LaunchAppAndWait(TARGETDIR ^ "RemoveSchedulingFile.bat", TARGETDIR, LAAW_OPTION_WAIT);  
end;

非常感谢,

0 个答案:

没有答案