Index function and AAMEE-created packages

SeanA
Contributor III

I am using Casper 7.31 and I am having trouble with indexing AAMEE-created packages. The package will index uncommonly fast in Casper Admin, say that it is indexed, and I mark it as an uninstaller in the Info; however, after I save it and close out of Casper Admin, the next time I open Casper Admin, it says the package is NOT indexed.

The permissions in JSS are fine so that is not the problem. I am beginning to think that the Adobe Installer packages cannot be indexed so it can be uninstalled (I am having problems with AAMEE uninstallers working, hence, my attempt to index the packages so I can uninstall).

I would appreciate any advice on this matter.

Sean
~~~~~~~~~
Sean Alexander
Desktop Analyst
Macintosh Services Delivery
Lockheed Martin - Enterprise Business Services
~~~~~~~~~

7 REPLIES 7

stevewood
Honored Contributor II
Honored Contributor II

I believe in order for an installer to indexed for uninstall it has to be a
On Thu, Jul 28, 2011 at 9:46 AM, Alexander, Sean <sean.alexander at lmco.com>wrote:
DMG file, not a PKG file, but I could be wrong. I've slept once or twice
since the CCA class. :-)

Steve Wood
Director of IT
swood at integer.com

The Integer Group | 1999 Bryan St. | Ste. 1700 | Dallas, TX 75201
T 214.758.6813 | F 214.758.6901 | C 940.312.2475

pbachuwa
New Contributor

You are correct you don't need to index them that's why when use AAMEE
it also provides you with and uninstaller .pkg

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI 48073-1717
Phone: 248 637-0350

pbachuwa
New Contributor

Sorry I didn't read the second part of your note about having problems
running the uninstall.

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI 48073-1717
Phone: 248 637-0350

sean
Valued Contributor

Huh! You were right to begin with, by his description, Sean was trying to uninstall using the uninstall he had indexed, not using Adobe's uninstaller.

pkg cannot be indexed for uninstall, only dmg files.

Adobe provide their own uninstaller as a separate pkg. Look inside the Build directory of the application that the AAMEE has created and you should have both pkg files in their. Add the uninstaller into Casper Admin as well as the installer.

Sean

pbachuwa
New Contributor

Thanks, it’s nice being right sometimes J

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI 48073-1717
Phone: 248 637-0350

Not applicable

I've seen this with a package I built myself, as well. That package has no payload, and just runs a postflight script; no matter how many times I index it, it is not recognized as indexed (not that I care).

Even if the indexing was working properly, you should never try to use that to uninstall any package that runs a script (in general). AAMEE's packages use scripts to run the actual install, as I recall; an index would not include the resulting installed files.

I should also mention that most of the pkg files I index do in fact show up as indexed (as do the OS installers, though I have to use a trick to index those). I still wouldn't trust that index for uninstalling those that run a script, though. It does help when I want to know what's in the package.

SeanA
Contributor III

Again, this list comes through with insightful guidance, not only
answering my direct question but also explaining some of the conditional
environment as well! My thanks! :-D

Sean
~~~~~~~~~
Sean Alexander
Desktop Analyst
Macintosh Services Delivery
Lockheed Martin - Enterprise Business Services
~~~~~~~~~