Board index » delphi » Path to BPL files

Path to BPL files


2006-11-22 05:15:54 AM
delphi61
I am just curious about something I have noticed when installing 3rd-party
libraries. In some cases it is necessary to copy the BPL files from the
Delphi\Projects\BPL folder to \Windows\System32 or the package will not
load. In most cases this is not necessary. What determines whether this
needs to be done?
Glenn
 
 

Re:Path to BPL files

Glenn Alcott a écrit :
Quote
I am just curious about something I have noticed when installing 3rd-party
libraries. In some cases it is necessary to copy the BPL files from the
Delphi\Projects\BPL folder to \Windows\System32 or the package will not
load. In most cases this is not necessary. What determines whether this
needs to be done?
The directory $(DELPHI)\projects\bpl has to be in your PATH environment
variable and there will be no need to copy the package in
$(WINDOWS)\System32.
--
Florent Ouchet
What I am listening www.pandora.com/people/outch
 

Re:Path to BPL files

"Florent Ouchet" <XXXX@XXXXX.COM>writes
Quote
Glenn Alcott a écrit :
>I am just curious about something I have noticed when installing
3rd-party
>libraries. In some cases it is necessary to copy the BPL files from the
>Delphi\Projects\BPL folder to \Windows\System32 or the package will not
>load. In most cases this is not necessary. What determines whether this
>needs to be done?

The directory $(DELPHI)\projects\bpl has to be in your PATH environment
variable and there will be no need to copy the package in
$(WINDOWS)\System32.

--
Florent Ouchet
What I am listening www.pandora.com/people/outch
Thanks, that works. But now I notice that for some packages the BPL exists
only in Windows\System32, and for others only in Projects\BPL. The location
where they are originally installed doesn't seem to be consistent, which I
find strange. Is there something in the package setup that determines this?
Glenn
 

Re:Path to BPL files

Quote
Thanks, that works. But now I notice that for some packages the BPL exists
only in Windows\System32, and for others only in Projects\BPL. The location
where they are originally installed doesn't seem to be consistent, which I
find strange. Is there something in the package setup that determines this?
The place for the BPLs is determined by two places
1. The place where the toolbox installer puts them
This is the most common source for the ones in
$Windows\System32
2. The directories specified in the project options dialog
BPL output directory
DCP output directory
This is the source for the ones in $Delphi\Projects\BPL
Windows imposes ever stronger limitations on the place where files
can be positions. For all sub directories of either the Windows
directory or the program files directory you now need Administrator
privileges which only installation programs will have under Windows
Vista.
Regards from Germany
Franz-Leo