Skip to main content
Question

Composer: copy data to user folder


Forum|alt.badge.img+2

I've been using Composer to create installation packages for quite some time, but I haven't found a real way to do the following. I want to install files on different computers in the user folder. The user folders always have a different name on the different computers.
As an example:
I have the following file: /Users/tripleb/test.txt
I would like to install this file on other computers. When creating a package, the user name is logically in the path. If I install the package on a computer with the user name "testuser", a new user folder named "tripleb" is created and the file is copied into it. But I want the file to be copied to the user folder of "test123".

What is the best way to do this?

3 replies

mvu
Forum|alt.badge.img+20
  • Jamf Heroes
  • 880 replies
  • March 22, 2019

You could push the file with a script to install for the current user.

Or, instead of a package create a .DMG and install using the FUT/FEU.


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • 1 reply
  • March 25, 2019

Okay sounds good but I can't find the settings (FUT/FEU) like on the screenshot.


Forum|alt.badge.img+11
  • Valued Contributor
  • 324 replies
  • March 25, 2019

@TripleB The settings highlighted by @mvu are in the Jamf Admin, not composer. If you just want to use Composer to create a pkg that will distribute independent of Jamf then you would have to include some sort of postinstall script that copies files to existing users directories.


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