deploy a pdf file to desktops

emmanuelit
New Contributor

I am at a school and want to deploy a pdf file to students desktops. can someone explain what I need to do to achieve this?

3 REPLIES 3

donmontalvo
Esteemed Contributor III

Create a package using Composer. Use DMG format and [x] Fill User Templates and [x] Fill Existing User Home Directories. See pg 111 and 112 of the Casper Suite admin guide.

There is a way to do this with PKG format (the standard we're using) but it involves scripting...

Don

--
https://donmontalvo.com

acdesigntech
Contributor II

FEU only works as expected when the /Users directory is in the standard location though. We are using a symlink to another partition to hold user data, and FEU NEVER works as expected. Our fallback is to use packages and a post-flight script to "FEU." FUT works as expected.

karthikeyan_mac
Valued Contributor

Hi,

Package to store the pdf it in /tmp and add a post flight script to loop through the Users directory and copy the file to desktop.

Change the below script as you need....

for i in $(/bin/ls /Users | sed -e '/Shared/d' -e '/Deleted Users/d' -e '/.localized/d'
 -e '/.DS_Store/d' -e '/.com.apple.timemachine.supported/d' -e '/Adobe/d' -e '/Library/d');

do

/usr/bin/ditto /tmp/USERCRAP /Users/$i
/usr/sbin/chown -R $i:staff /Users/$i

done

Thanks & Regards,
Karthikeyan