Script result: installer: Error the package path specified was invalid: '/Library/Application Support/JAMF/Downloads//Java8Update112.pkg'.installer: Error the package path specified was invalid: '/Library/Application Support/JAMF/Downloads//ProjectLibre-1.7.pkg'.Īny assistance would be greatly appreciated. Running script Project Libre Script - Check for JavaInstall Project. It basically looks like I don't have rights to that directory but I'm not sure how to get around that problem as it looks like Casper has it locked down. I also get the same error from the terminal. The following is the error message in the policy logs. Sudo installer -pkg "$SoftwareLocation"/ProjectLibre-1.7.pkg -target /Applications Sudo installer -pkg "$SoftwareLocation"/Java8Update112.pkg -target /Applicationsįi # Install Project Libre. Otherwise, both packages get installed #Įcho "/Java is already installed. If it already exists only Project Libre will be installed.
![projectlibre print on one page projectlibre print on one page](https://sc.filehippo.net/images/t_app-cover-l,f_auto/p/aba53806-96d3-11e6-bb4b-00163ed833e7/1457940161/projectlibre-1457940161.jpg)
SoftwareLocation="/Library/Application Support/JAMF/Downloads/" # Check if Java exists before installing Project Libre. pkg location # SoftwareLocation="/Library/Application Support/JAMF/Downloads" JavaFolder="/Library/Application Support/Oracle/java" # Variable for cached. The script looks as follows: !/bin/bash # Variable for the current logged in user name #ĬurrentUser= stat -f "%Su" /dev/console # Variable for the current Java install path #
![projectlibre print on one page projectlibre print on one page](https://i.ytimg.com/vi/NyNuP0AFvZo/maxresdefault.jpg)
pkg files from the cache location under JAMF/Downloads. My thought was to write a script (which i'm lousy at) to verify if Java is installed.
![projectlibre print on one page projectlibre print on one page](https://wiki.almworks.com/download/attachments/55771542/Export%20Gantt%20Chart.png)
This happened to me as I manually upgraded java and was at a greater version. We already have a seperate package for java.Ģ) If Java exists the install will continue and Project Libre will install but the status will report as 'failed' if the Java version installed is > what is in the policy. There are a couple requirements for the install:ġ) Project Libre requires that Java also be installed. I'm trying to create a policy to push out Project Libre 1.7 to a Mac workstation.