I would like to establish a Pre-Install action that checks the user's CPU for a minimum number of cores (in this case two). Is there a way to do that?

Thanks for any help.

asked 14 Feb, 15:14

Jeff%20Lazarus's gravatar image

Jeff Lazarus
accept rate: 0%

You can use the built-in variable machine_cpu_count for this purpose.

<showInfo text="Not enough CPU cores!">
        <compareValues value1="${machine_cpu_count}" value2="2" logic="less">



answered 16 Feb, 06:52

Michiel's gravatar image

Michiel ♦
accept rate: 19%

edited 16 Feb, 06:52

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 14 Feb, 15:14

Seen: 446 times

Last updated: 16 Feb, 06:52

Related questions