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
To check if make is installed, you could simply use the
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