[quote='788790022, DTS Engineer, /thread/756027?answerId=788790022#788790022']
Does your app need an installer at all? That is, does the installer package install components outside of the main app in /Applications?
If so, what sort of components?
[/quote]
You're asking an engineer whether or not something is possible? ;)
No, we do not technically need an installer. We do currently install files outside of the main app bundle, yes — but, honestly, the only reason we're using an installer package today is because that's the way it was originally designed.
The only components remaining outside of the main application bundle are launch agents, launch daemons, and command-line executables. For pre-macOS 10.15, we also have a kernel extension. And, for supported browsers, we also have browser extensions that go in "magical" system folders, such as (for example) in /Library/Application Support/Mozilla/Extensions/. The installer package understands these details, and also correctly requires a system reboot when needed.
More components used to exist; as they have been replaced and/or upgraded over the years, more often than not, they get moved to inside the main application bundle.
I have hope that we will eventually become an app that can be installed by dragging a single app into the Applications folder, but it's a slow process. We'll make a huge step forward when we drop support for 10.14 and older, because the kext and the conditional reboot requirement will both go away.
In summary, I think my answer is actually both. Today, yes, we "require" an installer package. But, I'm also quite interested in the future where our app is a single bundle.
Topic:
Privacy & Security
SubTopic:
General
Tags: