|
@@ 411-415 (lines=5) @@
|
| 408 |
|
$A = $this->get_exec_path('openssl'); |
| 409 |
|
if ($A['exec'] != "") { |
| 410 |
|
$t = exec($A['exec'] . ' version'); |
| 411 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 412 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>$t</strong> was found and is configured explicitly in your config."); |
| 413 |
|
} else { |
| 414 |
|
$this->test_return(\core\common\Entity::L_WARN, "<strong>$t</strong> was found, but is not configured with an absolute path in your config."); |
| 415 |
|
} |
| 416 |
|
} else { |
| 417 |
|
$this->test_return(\core\common\Entity::L_ERROR, "<strong>openssl</strong> was not found on your system!"); |
| 418 |
|
} |
|
@@ 436-440 (lines=5) @@
|
| 433 |
|
$A = $this->get_exec_path('makensis'); |
| 434 |
|
if ($A['exec'] != "") { |
| 435 |
|
$t = exec($A['exec'] . ' -VERSION'); |
| 436 |
|
if ($A['exec_is'] == "EXPLICIT") { |
| 437 |
|
$this->test_return(\core\common\Entity::L_OK, "<strong>makensis $t</strong> was found and is configured explicitly in your config."); |
| 438 |
|
} else { |
| 439 |
|
$this->test_return(\core\common\Entity::L_WARN, "<strong>makensis $t</strong> was found, but is not configured with an absolute path in your config."); |
| 440 |
|
} |
| 441 |
|
exec($A['exec'] . ' -HELP', $t); |
| 442 |
|
$t1 = count(preg_grep('/INPUTCHARSET/', $t)); |
| 443 |
|
if ($t1 == 1 && CONFIG_CONFASSISTANT['NSIS_VERSION'] == 2) { |