Search code examples
macosinstallationpkgbuildproductbuild

installation is getting failed when i click cancel of authentication page


enter image description here

I made my pkg file with pkgbuild and productbuild. Before giving authentication details, it is going in to installation step and showing message "preparing for installation". Without giving credentials, if i click cancel My installation is getting cancelled.

enter image description here


Solution

  • When you select 'Install', if the installation requires access to resources not belonging to the current user, the Installer's associated helper application (runner) will request an appropriate user to authenticate; usually a member of the Administrators group.

    It is this helper process (runner) that is responsible for the actual installation, so if it can't obtain the user's credentials, it can't continue to install; the installation has failed and the user is notified accordingly.