1
\$\begingroup\$

We are developing a game using Inno Setup and require a feature where the installer detects system specs (CPU, GPU, RAM, Disk Space) and automatically quits or prompts to quit if the requirements are not met.

How can we do this with Inno Setup?

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Inno setup has its own tag on Stack Overflow and an extensive set of tagged posts. While this isn't necessarily off-topic herre, checking requirements isn't game-dev specific & since SO gets a lot more traffic than GD.SE, I recommend using that resource first. \$\endgroup\$
    – Pikalek
    Nov 10, 2022 at 15:10

1 Answer 1

0
\$\begingroup\$

According to their FAQ entry for conditional installs:

Can Inno Setup do a conditional installation - for example, proceed only if a certain registry key or file exists?

Yes, through the Pascal Scripting feature.

\$\endgroup\$
1
  • \$\begingroup\$ This answer would be even better if it gave a hint about how to use the Pascal scripting feature to accomplish this goal - like noting functions that can be used to query the system specs, display an appropriate error message, and abort. \$\endgroup\$
    – DMGregory
    Nov 10, 2022 at 15:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .