Best solution for creating a PKG or DMG, which to choose?

Hello everyone, I'm new to the Mac world as far as development goes - like super new, I don't know a thing.

I'm developing a WebApp that runs on Go and want to make an easy installation package for Mac users. I have come across pkgbuild, productbuild and have a bit of trouble figuring it out but it generally looks similar to developing DEB in Linux.

But I also see other threads here suggesting different ways. Basically my needs are these...

  1. I need to store the WebApp files together in the same directory.
  2. I need the installer to create a launchd daemon to actually run the WebApp as a service/daemon.
  3. I'd like to have a Desktop/Applications shortcut created that automatically loads a URL in your default browser.

What are your suggestions for my requirements?

When your web app is running, are you expecting it to server requests for just the local user (hence the shortcut on the desktop)? Or will it support both local and non-local users?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Best solution for creating a PKG or DMG, which to choose?
 
 
Q