To summarise, this script creates a symlink to ‘Applications’, puts a background image in a directory titled ‘.background’, sets that as the background of the window and positions the symlink and application appropriately. Following the instruction on the Apple support site, I went to the Apple. Tar -C target/dmg -xvf target/DBench_macos_1_0_0.tgzĬp -r src/packaging/.background target/dmg I have a Macbook Air with os x 10.9 on it and wanted to make a bootable recovery disk. Applications/install4j\ 5/bin/install4jc TestBench.install4j Luckily I came across this StackOverflow post which provided some AppleScript to do just that and with a bit of tweaking I ended up with the following shell script which seems to do the job: #!/bin/bash The application lies within System Tools, more precisely General. I started out by creating an installer using Install4j and then manually copying the launcher it created into an Application bundle template but it was incredibly fiddly and I ended up with a variety of indecipherable messages in the system error log.Įventually I realised that I didn’t need to create an installer and that what I actually wanted was a Mac OS X single bundle archive media file.Īfter I’d got install4j creating that for me I just needed to figure out how to create the background image telling the user to drag the application into their ‘Applications’ folder. Application Wizard Installer 4.1 for Mac can be downloaded from our software library for free. Make sure your anti-virus software is disabled when you do the installs, first Quicktime and then iTunes. I figured that bundling a JAR was probably a solved problem and had a look at App Bundler, JAR Bundler and Iceberg before settling on Install4j which we used for Neo4j desktop. I then worked my way through a video which walks you through bundling a JAR file in a Mac application. I started out learning about the structure of an application bundle which is well described in the Apple Bundle Programming guide. I’m not a fan of the installation wizards and the installation process here is so simple that a wizard seems overkill.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |