Inno Setup - How to create checkboxes at finished page?

*爱你&永不变心* 提交于 2020-06-11 12:39:31

问题


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

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.


回答1:


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



来源:https://stackoverflow.com/questions/42836022/inno-setup-how-to-create-checkboxes-at-finished-page

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!