如何修改安装包向导中的 Logo

来源:互联网 发布:淘宝 交易指数 编辑:程序博客网 时间:2024/05/16 16:01

 

   为了使安装向导更加生动,在制做应用的安装包时,往往要对向导上的Logo 进行动态修改,以起到提醒和警示作用。
   以下以 Nextinstaller 为例:

   就是在脚本中动态调用 Install.SetLeftBarImage( strImageFile );
   如:
       function void OnEnd()
       {
         var string strImageFile;
      
         strImageFile = Install.GetPath( PATH_S_SUPPORTDIR ) + '//End.bmp'
         Install.SetLeftBarImage( strImageFile );
         if( Install.GetSetupState() == SS_INSTALL )
             Install.DoDialog( 'SdFinish' );
         else if( Install.GetSetupState() == SS_INSTALL_REBOOTDO )
           Install.DoDialog( 'SdRebootDo' );
      }
 
   效果图:

        nextinstaller