Posted on 03-02-2015 11:26 AM
I am attempting to deploy Identity Finder through Self Service and I have created a dmg through composer. The application itself installs fine however the license file does not copy over. I have checked the DMG that I created and everything is there.
The folder that is not deploying is /Users/**/Application Support/Identity Finder/Identity Finder Mac Edition/identityfinder.lic
Any thoughts?
Solved! Go to Solution.
Posted on 03-02-2015 06:16 PM
That means it is not completing the FEU option.
Are you saving casper admin after uploading the .dmg?
If you go in to your JSS and browse Settings > Computer Management > Packages > Your package.dmg can you see if it is marked with FEU in there? If it's not mark it and save, try deployment again.
If no luck there go in to Computers > Policies > Your policy > Packages and check the FEU option if this is not already done here, attempt deployment again
Have you had problems with dmgs not filling existing users before? Are you able to try it with a different .dmg if the above doesn't work?
Posted on 03-02-2015 11:28 AM
Do you have FEU checked? (Fill existing users)
Posted on 03-02-2015 11:30 AM
Yes, FEU is checked, or set to "Yes". Still new to packaging so I am assuming you mean in Casper Admin?
Posted on 03-02-2015 11:32 AM
Yes, in casper admin. It has to be checked
FEU will do existing, FUT will do new users (fill user template)
In the dmg it should look like /Users/useryoucreatedpackagewith/Application Support/Identity Finder/Identity Finder Mac Edition
Posted on 03-02-2015 11:38 AM
That's exactly what it looks like in the DMG.
/Users/myusername/Library/Application Support/Identity Finder/Identity Finder Mac Edition/identityfinder.lic
Posted on 03-02-2015 11:42 AM
are you using AD bound machines? & logging into self service?
Posted on 03-02-2015 11:48 AM
I am not using a machine that is bound to AD, but I am using AD credentials in Self Service to log into Self Service since I only have the application scoped for me for testing purposes.
Posted on 03-02-2015 11:57 AM
So a script like this would solve the problem
#!/bin/bash
mv /tmp/identityfinder.lic /Users/$3/Library/Application Support/Identity Finder/Identity Finder Mac Edition/identityfinder.lic
You'd have to bundle the licence into the temp folder and then casper would move it and pass $3 which is the logged in user to self service.
The benefit of that way is then you've got the licence as an independent app from the file.
- RD
Posted on 03-02-2015 11:58 AM
I'll give that a try and report back.
But on the surface, Composer / Casper should be able to deploy files the way I have them set, correct? I shouldn't have to do a script to get it to work?
Posted on 03-02-2015 12:00 PM
It should, and I was hoping someone else would chime in and give their experience...
Posted on 03-02-2015 12:21 PM
The problem that I see is that in the original post you mention "/Users/**/Application Support/Identity Finder/Identity Finder Mac Edition/identityfinder.lic". The folder "Library" is not mentioned in your path. The Library folder is mentioned in the script that @rderewianko][/url][/url suggests.
Later, you do mention "Library" in the path.
Which is showing in the DMG that you created?
Another idea: the file will be somewhere. On your test machine, do a Find or navigate through the Finder and see where the file ends up. In your path, you do have several names with spaces. I am wondering if something, somehow, put the file in a different path.
Posted on 03-02-2015 12:25 PM
Sorry about that. It is:
/Users/**/Library/Application Support/Identity Finder/Identity Finder Mac Edition/identityfinder.lic
I also just discovered instead of copying the .lic file to the correct location on my test machine, it is creating the user that existed when i created the package. So it is creating the user "danny" and placing the file there instead of placing the file under the current user.
Posted on 03-02-2015 06:16 PM
That means it is not completing the FEU option.
Are you saving casper admin after uploading the .dmg?
If you go in to your JSS and browse Settings > Computer Management > Packages > Your package.dmg can you see if it is marked with FEU in there? If it's not mark it and save, try deployment again.
If no luck there go in to Computers > Policies > Your policy > Packages and check the FEU option if this is not already done here, attempt deployment again
Have you had problems with dmgs not filling existing users before? Are you able to try it with a different .dmg if the above doesn't work?
Posted on 03-03-2015 06:10 AM
So I was making sure that FEU was selected in Casper admin, however I didn't' realize there was an option in the policy to have the same thing checked. Still learning this stuff. I do appreciate the help from everyone!
Posted on 03-03-2015 09:34 AM
If you set a policy to use the dmg and then check the FUT and FEU boxes in Casper Admin it will not change the policy. The policy will still have the boxes as un-checked.
At least that is how it has worked for me when testing.