I should have an Uninstaller because one of the files are hidden.
I have a .pkg of Installation but how do I make a .shell file? What do I write in it? and where do I place it?
Yes, the external .app requires the other .app which is hidden because there's no reason for people to use it.
How are you creating both .app bundles? If you're using a packager outside of Xcode, such as py2app/PyInstaller (Python), Jar Bundler (Java), or some other packager, the solution involves modifying how the first .app loads its resources, by altering the resource search path.That's a great idea, I think it would be the best thing to do, though I don't know how to do that... I really have no skills in xCode or such, It feels like chinese to me.
if (new File("../../MacOS/JavaApplicationStub).isExecutable()) {
// We are inside a Mac OS X-style application package
// Load the embedded application
Runtime.getRuntime().exec("../SecondApp.app/Contents/MacOS/SecondApp");
}
To make the Installer I've used JAMF Composer.