首页 > 其他 > 详细

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

时间:2019-01-23 11:09:08      阅读:163      评论:0      收藏:0      [点我收藏+]

写在下面的函数里

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;

 

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!