码迷,mamicode.com
首页 > 其他好文 > 详细

在安装程序之前,预先安装别的程序

时间:2019-01-23 11:31:19      阅读:122      评论:0      收藏:0      [点我收藏+]

标签:redist   div   install   procedure   until   程序   color   ora   wait   

写在下面的函数里

procedure CurStepChanged(CurStep: TSetupStep);

 

 

if_need_vc_x64 := NeedInstallVC8SP1_x64();
 if (CurStep=ssInstall) and (if_need_vc_x64) then begin
  ExtractTemporaryFile(vc_redist.x64.exe);
  Exec(ExpandConstant({tmp}/vc_redist.x64.exe), /qb, ‘‘, SW_SHOW, ewWaitUntilTerminated, ResultCode);
  if not (ResultCode = 0) 
  then begin
    MsgBox(VC++ 2015 Redistributable which is mandatory!,mbCriticalError, MB_OK)      
  end;

 end;

 

在安装程序之前,预先安装别的程序

标签:redist   div   install   procedure   until   程序   color   ora   wait   

原文地址:https://www.cnblogs.com/liujx2019/p/10307599.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!