Install CS6 from DMG Script not working

Caleb_Anderson
New Contributor III

Just wondering if anyone else has had problems with this?

I have updated the script to point to the new JAMF binary location (/usr/local/jamf instead of /usr/sbin/jamf) but it fails and only gives me the message 'installation has failed - contact your administrator'.

I'm trying to install individual components of CS6 after packaging them with AAMEE 3.1, but of course it only saves them as folders, not install packages.

The Log is as follows:

Executing Policy Install Speedgrade...
[STEP 1 of 3]
Mounting Data01 to /Volumes/casper 1...
[STEP 2 of 3]
Caching package Speedgrade.dmg...
[STEP 3 of 3]
Running script installPKGfromDMG.sh...
Script exit code: 0
Script result: Variable "dmgName" value is set to: Speedgrade.dmg
Mounting the DMG Speedgrade.dmg...
DMG mounted successfully as volume /Volumes/Speedgrade on device /dev/disk1.
Installing Package from mount path /Volumes/Speedgrade...
/Library/Application Support/JAMF/tmp/installPKGfromDMG.sh: line 169: /usr/local/jamf: is a directory
There was an error installing the package. Exit Code: 1
Unmounting disk /dev/disk1...
"disk1" unmounted.
"disk1" ejected.

It gets up to every step fine until the actual install. Going to get a guy to check the script for any holes, but any suggestions on a better way of pushing out the applications will be welcomed.

Thanks.

3 REPLIES 3

davidacland
Honored Contributor II

Hi, what happens if you create a standard policy to install the speedgrade.dmg package?

bentoms
Release Candidate Programs Tester

@kingscollege & @davidacland SpeedGrade has a nasty bad symbolic link in it.. that might not help... it's discussed here.

SincerelyJoshin
New Contributor II

if not already resolved, revisit your pointer to jamf binary. Should be /usr/local/jamf/bin/jamf.