Add registration dialog to PackageMaker

I am currently writing a Mac-based PackageMaker installer for an application that I previously distributed for Windows using the NSIS installer.

In NSIS, I was able to create a custom dialog box that allows the user to enter their serial number and license key before allowing the installation of the program.

In PackageMaker, I don’t see at all to add a custom dialog to write a small graphical application that PackageMaker calls as a requirement. If this is the only way to do what I want, can someone direct me to a resource that would explain how to do this?

If there is another way, I would also like to hear about it.

(I know this question is similar , but seems to be more suitable for editing existing PackageMaker screens.)

+3
source share
3 answers

PackageMaker supports plugins that can be added at any stage of the installation. What you need to do is write a plug-in that displays the invitation of your license key, and then download this plug-in to the installation step (for example, the license step).

Here is an example of such a plugin: http://lists.apple.com/archives/Installer-dev/2008/Feb/msg00076.html

, PackageMaker, Mac, , , .

PackageMaker, , , : ( , SO , , Google " PackageMaker" .

+3

Apple InstallerPluginSample , , PackageMaker.

+2

, . Mac, . .

+1
source

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


All Articles