1

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.

Community
  • 1
  • 1
Nico Z
  • 837
  • 8
  • 26

1 Answers1

2

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

Post install run

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846