QuickAdd install error

dmw3
Contributor III

We are getting an error when trying to install the QuickAdd.p[kg via SelfEnroll, This was working at one stage. I don't know what has changed to give the error on multiple computers when trying to install the pkg.

Error from system.log:
9/04/13 9:58:51.451 AM Installer[1501]: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.

Even recreating the QuickAdd.pkg has no effect.

13 REPLIES 13

donmontalvo
Esteemed Contributor III

What OS version?

http://support.apple.com/kb/DL1512

--
https://donmontalvo.com

dmw3
Contributor III

Don, Server 10.6.8, Client brand new MacBook Pro 10.8.3. So far all the issues have been with brand new MacBook Pro 13.3" laptops.

donmontalvo
Esteemed Contributor III

Would it be possible that a SelfEnroll QuickAdd pulled down on one Mac is being used on another Mac?

--
https://donmontalvo.com

dmw3
Contributor III

Already tried this and same result.

dmw3
Contributor III

The log files do not give enough detail when trying to diagnose these type of issues.

donmontalvo
Esteemed Contributor III

Yea the postflight script in the QuickAdd produced by JSS doesn't include any logging functions.

--
https://donmontalvo.com

mm2270
Legendary Contributor III

Try installing the QuickAdd.pkg from the command line:

installer -pkg /path/to/QuickAdd.pkg -tgt / -verboseR

See if that gives you any more detail about the error, assuming it fails that way too. I've seen odd cases of installs working fine from the command line and failing when double clicked in the GUI.

dmw3
Contributor III

We finally found the problem. It is the self-signed certificate from the JSS server that fails to install. The Push certificate installed OK with the QuickAdd.pkg but the self-signed certificate did not. Installing the self-signed certificate on the client computers manually then allowed us to enroll the computers without errors.

Now to work out why the self-signed certificate did not install, or how to manually change and include the self-signed certificate in the QuickAdd.pkg

Has anyone seen this before and have any ideas on why this happened?

tomt
Valued Contributor

I am very much interested in what you find out about this. I just ran into it tonight when trying to enroll a 10.8.3 system into a brand new 8.7 JSS. We are also using the self-signed cert.

Here is the output when trying to run the quick add package from the command line:

Mac-Netboot-Server:~ macadmin$ sudo installer -pkg /Users/macadmin/Desktop/LRNA_JSS_QuickAdd.pkg -tgt / -verboseR installer: Package name is LRNA_JSS_QuickAdd installer: Installing at base path / installer:PHASE:Preparing for installation… installer:PHASE:Preparing the disk… installer:PHASE:Preparing LRNA_JSS_QuickAdd… installer:PHASE:Waiting for other installations to complete… installer:PHASE:Configuring the installation… installer:STATUS: installer:%85.972537 installer:PHASE:Running package scripts… installer:%88.108514 installer:PHASE:Running package scripts… installer:%89.205708 installer:PHASE:Running package scripts… installer:%89.205708 installer:PHASE:Running package scripts… installer:%89.205708 installer:PHASE:Validating packages… installer:%97.750000 installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

donmontalvo
Esteemed Contributor III

The QuickAdd installer usually installs /usr/sbin/jamf fine but hangs or fails at the postflight script (enrollment).

When we get a hang we usually force quit Installer.app, then using Console we kill Installer, jamf, and jamfHelper processes, then we run the command line (lots of good threads about this):

sudo jamf enroll -prompt

We have an account named recon with recon as the password, so techs only have to enter recon four times at the prompt. Success rate is pretty high.

Don

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

...duplicate...

--
https://donmontalvo.com

dmw3
Contributor III

Has the new version 8.71 fixed this issue?

haven't had time to try it out today, but maybe those in other time zones can let us know if it has been fixed.

austed
New Contributor II

This does not seemed to be fixed in 8.71. DMW3 what were your steps for installing the self-signed cert?

administrator$ sudo installer -pkg /opt/libsystems/packages/ScottQuickAdd.pkg -target / -verboseR
Password:
installer: Package name is ScottQuickAdd
installer: Installing at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing ScottQuickAdd…
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%86.408600
installer:PHASE:Running package scripts…
installer:%88.542510
installer:PHASE:Running package scripts…
installer:%89.205708
installer:PHASE:Running package scripts…
installer:%89.205708
installer:PHASE:Running package scripts…
installer:%89.205708
installer:PHASE:Running package scripts…
installer:%89.205708
installer:PHASE:Validating packages…
installer:%97.750000
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)