Skip to main content
Question

Install CS6 from DMG Script not working


Forum|alt.badge.img+5

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

davidacland
Forum|alt.badge.img+18
  • Valued Contributor
  • 1811 replies
  • October 20, 2015

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


bentoms
Forum|alt.badge.img+35
  • Legendary Contributor
  • 4331 replies
  • October 20, 2015

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


SincerelyJoshin
Forum|alt.badge.img+4

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings