I am in a unique scenario - this should be because no search seems to trigger any answers. But maybe there is a MacOS X guru who can answer this question for me?
I am using PackageMaker to create the installation process for my enterprise application. This is a cross-platform application and my home base is Linux and Windows, so please forgive my MacOS X without intelligence.
We have two software packages - er, apps. One of them is Other.app, which is developed by an external company with which we "link" our software. Our application is Stats.app. Our application will be launched as a launch agent, therefore, accordingly, I have a .plist file that works when I install manually in the terminal.
My goals of the installation process:
- Install Other.app in / Applications
- Install Stat.app in / Users / <user> / Applications (see NOTE)
- Set Stat.plist to / Users / <user> / Library / LaunchAgents
Post-process Stats.plist to change the key "ProgramArguments" so that the path is correct:
<array>
<& string GT;% {HOME} /Applications/Stats.app/Contents/MacOS/Stats </string>
</ array>
:
/Application/Other.app/Contents/MacOS/Other --configure = config.txt
, , , .
- ... ! - - , .
, , Stats.app . , , Stats.app , Carbon .