Package Prerequisite problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Package Prerequisite problem

Keith  Lander
I used the Active-X component wizard to generate interface classes for MS
Word. That worked OK. If I now try an uninstall the Word package that was
created it won't let me because it claims that another package depends on
Word as a prerequisite. This I don't understand because I haven't touched
the other package since installing Word?!

Any suggestions.

Cheers
Keith


Reply | Threaded
Open this post in threaded view
|

Re: Package Prerequisite problem

Bill Dargel
Keith Lander wrote:

> Any suggestions.

No idea why it would think that another package depends on Word as a
prerequisite. Need to find out specifically what that dependency is. If you
know which package it is, it's a simple matter of looking at it on the
"Prerequisites" tab of the Package Browser. It will list what's a
prerequisite, and why.

If you don't know which package it is, it's a bit more difficult. You should
be able to use the following incant to find out which package(s) it is, and
then do the above.

(Package manager packages
    select: [:each | each prerequisites
            includes: (Package manager packageNamed: 'Word')]
) inspect

Got me to thinking that this could  be a nice UI enhancement to the Package
Browser. One could add a "Dependents" tab that would show a tree view of
which packages had the selected one(s) as a prerequisite. The lower pane
could be reused, showing the details of why there was a
prerequisite/dependency relationship between the two packages.

Any takers? :-)

-Bill

-------------------------------------------
Bill Dargel            [hidden email]
Shoshana Technologies
100 West Joy Road, Ann Arbor, MI 48105  USA