I have a post install script which opens and runs my application silently. The app was made using Automator and basically runs an Applescript which in turn runs a Bash script embedded from the app Resources folder.
The postinstall script:
#!/bin/bash open -b "com.company.ApplicationName"
works on some machines and not others. I'm receiving an error
LSGetApplicationForInfo() failed with error -10814 while trying to determine the application with bundle identifier com.company.ApplicationName
I have not been able to determine why. I'm assuming I'm missing some kind of prerequisite software on the machines failing.
Anyone aware of the requirements to use
open -b "bundleid"? Xcode, Xcode with Command Line Tools or something? I'd appreciate any insight.