1. Go to the folder where the package's source/project file/package file is
*.dpk/*.dprj
2. Open it by selecting "open" from file menu.
3. View->Project Manager from menu.
4. Right click on package name, select build from pop-up menu.
5. Right click on package name again and select install.
There are otherwise to do it though ;)
(If you don't have the source code for the package you might have to do it
differently...)
Try this (for binary-only (no source available) packages):
"Menu->Component Packages->Install Package->Add"
Then you can select the *.bpl which is the binary version of it.
(I never actually tried that I think ;) :))
Bye,
Skybuck :)
Restart and try again. The BPL may still be loaded and some settings
not removed yet while Delphi is still running. So close the IDE and
restart it.
--
Rudy Velthuis http://rvelthuis.de
"Everything that can be invented has been invented."
-- Charles H. Duell, Commissioner, U.S. Office of Patents, 1899
I successfully built the package with the above method, however, the
components in the package were still not visible in the Tool Palette.
1. You probably tried to install the same package or something else which
failed or whatever... first try removing that.
Remove the package as well. Then try re-install.
If that fails and the components still not show up try this:
2. Find the source code for the package and look for the "register"
function. It will contain something looks like this:
[TabName]
That "TabName" could be anything... that's the tab name that will be used
for the tool palette if it doesn't exist it would be created.
Try changing it to something new... like:
[TabNameWhatever2]
Then try to install the package, the components should show up on the new
tab.
Other things to check:
3. "Tools->Options->Environment Options->Delphi Options->Library"
Look at library path... I think the folder where the package's*.bpl is needs
to on it.
If the package's folder/path is not in it try adding it manually yourself.
4. Open the package, check project options..
Check that it says: "Design and Runtime" and "explicit rebuild"
Try install again.
If that don't fixes it... then you probably have a deeper problem with other
packages and you might need to solve that first ?!?
By the way... is this a custom/user developed package or a "standard
package" that ships with delphi ? ;)
Bye,
Bye,
Skybuck.
I just got the error message you mentioned ;)
It happens when there are two packages with the same filename in different
folders.
Delphi does not allow it.
The solution is to rename one of the packages to solve the conflict.
Bye,
Skybuck.