Posted on 03-31-2023 10:36 PM
Hi
I need to install 2 package file in Mac system via JAMF pro cloud. I have created 2 installer in 1 package file and add the script but in Jamf console is showing complete but setup in not run on the system
script is as below.
/usr/sbin/installer -pkg /private/tmp/HPPrinter/hp-printer-essentials-UniPS-6_1_0_1.pkg -target /
/usr/sbin/installer -pkg /private/tmp/HP Secure Print/Personal Print Manager.pkg -target /
Posted on 04-01-2023 01:55 AM
usr/sbin/installer -pkg /private/tmp/HP Secure Print/Personal Print Manager.pkg -target /
Need space escaped
HP\ Secure\ Print/Pereonal\ Print\ Manager
04-02-2023 09:22 PM - edited 04-02-2023 09:23 PM
hi all.
Thank you for your reply .
So I have remove the space and create new script in package file
/usr/sbin/installer -pkg /private/tmp/SecurePrinter/Printer_1.pkg -target /
now I am able to run the script without any issue and printer successful installed in Mac system via Jamf policy
Thank you all for your guidance
Posted on 04-03-2023 03:52 AM
@Bhaskar You can also try "quoting the package path in the second command like
/usr/sbin/installer -pkg "/private/tmp/HP Secure Print/Personal Print Manager.pkg" -target /