dummy receipts, maybe a question for miles

Bukira
Contributor

Another one,

Maybe for Miles,

Can you index a dummy receipts, i am guess that because it contains no contents that it cannot be indexed?

I have tried to index a dummy receipt, Casper Admin says it has indexed and it then shows up as YES to index and i can then select the allow uninstall, however in the jss web interface both Casper admin and when i create a policy the dummy packages shows up as not being indexed and thus cannot be uninstalled.

Criss Criss Myers
Senior Customer Support Analyst (Mac Services)
Apple Certified Technical Coordinator v10.5
LIS Business Support Team
Library 301
University of Central Lancashire
Preston PR1 2HE
Ex 5054
01772 895054

3 REPLIES 3

milesleacy
Valued Contributor

I would imagine you could index the dummy package, however there's nothing
in it to index. Perhaps that's giving Casper's index and uninstall systems
a fit.
You might get around this by creating
/Library/DummyPackages/myDummyPackage.txt and rolling it up in your dummy
package. This will give Casper something to index, and hopefully avoid the
behavior you're seeing with indexing and uninstalling.

----------
Miles A. Leacy IV

? Certified System Administrator 10.4
? Certified Technical Coordinator 10.5
? Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com

tlarkin
Honored Contributor

What if you just put a simple script in the package, like

#!/bin/bash

echo "hello world"

exit done

I mean that would be harmless, could you index it then?



Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351

milesleacy
Valued Contributor

I suppose either would work, but I'd have to test to be sure. It's my best
guess that the problem is that there's nothing in the package to index. Only testing or a comment from JAMF would verify my assumption.
Out of curiosity, why do you need to index dummy packages? All they will
install is a receipt. You know what that receipt is called and where it is
saved. If you need to get rid of it, why not use rm -R
/Library/Receipts/nameOfDummyPackage.pkg ?

----------
Miles A. Leacy IV

? Certified System Administrator 10.4
? Certified Technical Coordinator 10.5
? Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com