首页 > 代码库 > installshield:更新完成后,显示文档readme.txt

installshield:更新完成后,显示文档readme.txt

installShield在进行更新后,显示 操作的日志,或者新特性

function OnUpdateUIAfter()   number  nResult;string  szTitle, szMsg;begin         //Rocky System ( SYS_BOOTMACHINE );      DialogShowSdFinish();end;  // Rocky function DialogShowSdFinish()     NUMBER nResult, nDefOptions;     STRING szTitle, szMsg1, szMsg2, szOption1, szOption2,szPathls,logPath;     NUMBER bOpt1, bOpt2;      begin    //if (!BATCH_INSTALL) then     bOpt1 = TRUE;     bOpt2 = FALSE;     szMsg1 = "";     szMsg2 = "";     szOption1 = "Show Readme.txt";     szOption2 = "";     nResult = SdFinish( szTitle, szMsg1, szMsg2, szOption1, szOption2, bOpt1, bOpt2 );          logPath=WINSYSDISK + "\\"+LOG_FILE_NAME;     if bOpt1 = TRUE then      CopyFile( logPath, "Readme.txt" );      LaunchApp( WINDIR^"Notepad.exe" , TARGETDIR^"Readme.txt" );     endif;         return 0;   //endif; end;