Inno Setup-如何在完成的页面上创建复选框? [英] Inno Setup - How to create checkboxes at finished page?

查看:218
本文介绍了Inno Setup-如何在完成的页面上创建复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在完成的页面上创建复选框以安装DirectX? (例如dxwebsetup.exe).

How to create checkboxes at finished page to install DirectX? (dxwebsetup.exe for example).

我看到了一些信息:可以在Inno Setup中创建复选框树视图吗?,但我想了解如何对这些复选框执行操作.

I see this with some information: Is it possible to create checkbox tree view in Inno Setup? but i want to understand how to give it action to these checkboxes.

推荐答案

添加 runascurrentuser标志保留更高的特权.

Add [Run] section entry with postinstall flag. To run an installer you also may need the runascurrentuser flag to retain elevated privileges.

[Run]
Filename: "{tmp}\dxwebsetup.exe"; Description: "Install DirectX"; \
  Flags: postinstall runascurrentuser

这篇关于Inno Setup-如何在完成的页面上创建复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆