0

I need to build a installer for my application which has below components/tasks -

  1. Main .app file
  2. Helper .app file
  3. Supporting folders
  4. .plist file which needs to be copied to /Library/LaunchAgents
  5. load the plist file using "launchctl load"

As we see from the above components, 1. files needs to be extracted to /Applications/ABC 2. Execute a perl command file as administrator

As step2 above involved admin activities, installer should prompt admin/local username and password. Based on this, we need to proceed with next steps.

Can someone please suggest - 1. Installer tool (Preferably FREE) for the above scenario 2. Installer should prompt login/pwd while executing command file

jscs
  • 63,694
  • 13
  • 151
  • 195

1 Answers1

0

You can use pkgbuild and productbuild commands to build the installer. Check this very detailed answer here

The official documentation for these commands are here pkgbuild and productbuild

There is another pkg creating app available: iceberg

Community
  • 1
  • 1
Shanti K
  • 2,873
  • 1
  • 16
  • 31