What is preferred way to install with elevated privileges?

In the past I used packagemaker and the installer in order to get plists installed into /Library/LaunchDaemons.
The good old installer appears to me to be largely unloved, though. This is unfortunate as it allowed GUI and scripted installs with scripts everywhere.
What is the current favored way to do this? I need BOTH a GUI and a scripted install.
And only on Catalina and up.
Thanks much.

Answered by DTS Engineer in 424884022

What is preferred way to install with elevated privileges?

Create an installer package.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

WWDC runs Mon, 22 Jun through to Fri, 26 Jun. During that time all of DTS will be busy with conference duties.

What's wrong with packagemaker? It was never loved very much, but it works.

Accepted Answer

What is preferred way to install with elevated privileges?

Create an installer package.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

WWDC runs Mon, 22 Jun through to Fri, 26 Jun. During that time all of DTS will be busy with conference duties.

What is preferred way to install with elevated privileges?
 
 
Q