What is the preferred process for installing applications on OSX?

I come to this from the Windows world ... On Windows, we have Windows installer packages (MSI files) that are processed by a system component (Windows installer) to install applications (the idea is that this system component monitors library links and implements transactional installation, theoretically avoiding failed installations) ...

Can someone explain the architecture and installation process of the application on OSX? Is there an appropriate component for Windows Installer? And if so, how can I use it for my applications?

+3
source share
4 answers

"" .app. ( Mach-O) , ; :

  • - , /, NIB ( ).
  • , , , ..
  • , OS X ,

/Applications/, ( ).

Apple Disk Image ( .dmg), ; :

  • Installer; ( .pkg), "" , ( , ..). Apple PackageMaker.
  • ""; , ; , , "", "" (, . )
+7

, :

: (Apple)

Mac .

+11

"".

This is really a folder with a name ending in .app. The OS sees this as a whole. Inside the “folder” is the application distribution and metadata to tell the OS how to start it. Typically, the first step is to install system components.

Sometimes you find package packages ( .pkg) that work exactly the same way .msi.

+6
source

OS X applications are typically "xcopy deployed" and are autonomously contained in so-called packages.

0
source

Source: https://habr.com/ru/post/1708762/


All Articles