I am trying to create an installer for Mac OSX using "PackageMaker".
My problem is that before installing my application, I need to install the FTDI drivers. In order to do this pre-installation, I downloaded the package and I included into the contents list but I don't know the best way to run this installer.
I thought about copy the installer into a tmp folder and use a terminal command like:
installer -pkg "/Volumes/AppleJack-1.4.3/AppleJack Distribution.mpkg" -target /
But the SUDO rights are required.
How can I install this driver from my installer?
I have a second question about a "processor architecture" : The driver to install is different between x86 and x64.
How can I do this check to run the appropriate driver installer?
Thanks