On linux platform, we would like the installer to check for 2 dependencies being present on user's system prior to running our product's install: ia32-libs and make. How to accomplish this inside the InstallBuilder script?


asked 07 Sep '12, 21:19

Sasha's gravatar image

accept rate: 0%

To check if make is installed, you could simply use the <programTest> rule:

<showInfo text="make is installed!" >

Checking for the ia32-libs may be harder if you try to directly obtain it from the system (executing dpkg -l, rpm -qa,... depending on the system) but you could create a simple 32bit binary and try to execute it at runtime, if it crash because it cannot find the 32bit libraries then the ia32-libs are not installed.


answered 10 Sep '12, 04:21

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

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: 07 Sep '12, 21:19

Seen: 1,830 times

Last updated: 10 Sep '12, 04:21