Problem Installing RBuilder 11
My previous development environment is Delphi 6 Enterprise, TeeChart
Pro 5, and RBuilder 7 Enterprise.
I have started migrating to Delphi 2009, having both environments
installed on the same workstation. So I've installed Delphi 2009
Enterprise and I'm trying to install RBuilder 11.01. (I'm sticking
with TeeChart 8 Standard that comes with D2009 and trying to avoid
upgrading to TeeChart Pro.)
When the RBuilder installer gets to the TeeChart package building, I
get an error dialog from RBTeePackageBuilder that says "Cannot open
file 'C:\TeeChart\Tee000\dcc32.txt'. The system cannot find the file
specified."
I've tried running RBTeePackagebuilder manually. Although I can select
Delphi 2009 in the top combo box, the "Environment Info" for Delphi
version is "0" with an empty path; for "ReportBuilder Version" is blank
with an empty path; and for "TeeChart Major Version" is "0' with an
empty path.
I thought that perhaps the TeeChart 5 Pro installed for Delphi 6 was
confusing the package builder, even though I specified Delphi 2009. I
temporarily renamed the registry branch for Delphi 6 so that Known
Packages could not be found. Unfortunately, that did not help. I
still have the same problem.
After clicking OK on the error, the memo box says "Building
ReportBuilder TeeChart Binaries..." and the cursor is an hourglass. It
is very obvious that the app is not doing anything. So I close the app
by clicking the top-right X.
If running from the main installer, the installer does not detect that
there was a problem. So I click "Finish" and then launch Delphi 2009.
However, the ReportBuilder components are not installed.
I see that there was an issue with the TeeChart/Delphi 6 install that
was fixed in 11.05. I doubt this is related to my problem. However,
I've just sent info@digital-metaphors.com an email requesting my
upgrade instructions (since I haven't received any so far).
Jon
Pro 5, and RBuilder 7 Enterprise.
I have started migrating to Delphi 2009, having both environments
installed on the same workstation. So I've installed Delphi 2009
Enterprise and I'm trying to install RBuilder 11.01. (I'm sticking
with TeeChart 8 Standard that comes with D2009 and trying to avoid
upgrading to TeeChart Pro.)
When the RBuilder installer gets to the TeeChart package building, I
get an error dialog from RBTeePackageBuilder that says "Cannot open
file 'C:\TeeChart\Tee000\dcc32.txt'. The system cannot find the file
specified."
I've tried running RBTeePackagebuilder manually. Although I can select
Delphi 2009 in the top combo box, the "Environment Info" for Delphi
version is "0" with an empty path; for "ReportBuilder Version" is blank
with an empty path; and for "TeeChart Major Version" is "0' with an
empty path.
I thought that perhaps the TeeChart 5 Pro installed for Delphi 6 was
confusing the package builder, even though I specified Delphi 2009. I
temporarily renamed the registry branch for Delphi 6 so that Known
Packages could not be found. Unfortunately, that did not help. I
still have the same problem.
After clicking OK on the error, the memo box says "Building
ReportBuilder TeeChart Binaries..." and the cursor is an hourglass. It
is very obvious that the app is not doing anything. So I close the app
by clicking the top-right X.
If running from the main installer, the installer does not detect that
there was a problem. So I click "Finish" and then launch Delphi 2009.
However, the ReportBuilder components are not installed.
I see that there was an issue with the TeeChart/Delphi 6 install that
was fixed in 11.05. I doubt this is related to my problem. However,
I've just sent info@digital-metaphors.com an email requesting my
upgrade instructions (since I haven't received any so far).
Jon
This discussion has been closed.
Comments
additional information:
When running from the installer, RBTeePackageBuilder is populating
"Environment Info" correctly for "Delphi Version" and "ReportBuilder
Version". But "TeeChart Major Version" is still "0" with a blank path.
If I run RBTeePackageBuilder manually, and then "change" the Delphi
version dropdown from "Delphi 2009" to "Delphi 2009", those same two
now populate correctly. I was not initially "changing" the Delphi
version. Since the dropdown already said "Delphi 2009", and that is
what I wanted, I didn't think I needed to.
Otherwise, the same error and behavior occur.
The only registry entry matching "dcltee" for Delphi 2009 is:
[HKEY_LOCAL_MACHINE\SOFTWARE\CodeGear\BDS\6.0\Known Packages]
"$(BDS)\\bin\\dcltee8120.bpl"="(Untitled)"
From the previous postings I've read here, the PackageBuilder should be
picking up the "8" after "dcltee" and selecting TeeChart 8. But this
isn't happening in my case.
The problem may be that there is no Known Package listing for dcltee
under HKEY_USERS (including HKEY_CURRENT_USER). I just checked another
machine with Delphi 2009 (but not ReportBuilder) and there is a listing
under HKEY_CURRENT_USER there. I'll have to wait until the morning to
do further research. But I'd have to understand how BDS handles HKLM
vs HKCU before I'd be comfortable copying entries from one to the other.
Jon
The RBTeePackageBuilder looks in the
HKEY_CURRENT_USER\Softwear\CodeGear\BDS\6.0\Known Packages\ key for the
dcltee8120.bpl entry to see which version you have installed. If this entry
is missing, then it assumes TeeChart is not installed.
If you load the IDE, are you certain you have access to the TeeChart
components in Delphi 2009? Check to see that the dcltee8120.bpl package is
in fact installed into the IDE.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Yes. TeeChart Standard 8 Components is listed and is an active
package. I can send a screenshot if you'd like.
So they are not listed in Known Packages in HKCU, are listed in Known
Packages in HKLM, and are active in the IDE.
Jon
Yes, I have an entry in the HKLM as well however I do not believe this is
used.
This is the first time we have heard of a case like this. It is my
understanding that when a design-time package is installed into the IDE, its
location is recorded in the \Known Packages\ key inside HKCU. Otherwise how
would the IDE know which packages to install when it loads?
Is there anything else about your environment that could be different from
mine that could be causing this. Are you logged in as the administrator?
As a workaround you may need to manually add the dclTee8120 entry into the
Known Packages key to get the RBTeePackageBuilder to recognize your Teechart
version.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I don't know. That is an excellent question for the gurus on the
Delphi IDE team.
No. The user account that launches Delphi is not a member of the local
administrators group.
This is a Vista environment, with User Account Control turned on.
All installs initially launched from this user account, but then the
install will prompt for admin credentials. Thus, the installs are
actually done via a different user account than my user account. If
the installer for some reason does not prompt for credentials (11.01
did not, but 11.05 did, *shrug*), then I manually right-click and Run
as Administrator. Again, this will prompt for the admin account
credentials.
I'm willing to do that. But I would like the issue researched with the
IDE team. For one reason or another, this configuration is valid for
Delphi 2009, because the components are installed and active when I
launch the IDE. So if RBTeePackageBuilder is going to depend on the
registry to know whether TeeChart is installed, it should follow the
same rules that Delphi follows.
Jon
The problem was definitely caused by running the installer under a
different account than the account used by the interactive login. I
have successfully installed InfoPower 2009 and Raize Components 5 this
way without problems. (The other component libraries I use have manual
install procedures.)
Even after adding the dcltee to the HKEY_CURRENT_USER branch for the
admin account, and RBTeePackageBuilder ran "without errors", none of
the ReportBuilder components were installed in Delphi 2009 under my
user account.
The install did not work as expected until I added my account to the
local administrators group, logged out, and ran the RBuilder install
using my account.
Jon
Thanks for the update. I will take a look at this and at the very least
create an article so others that come across this issue can easily move
forward.
Thanks again.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I apologize for being a pain. But if it is not resolved, I would
recommend removing the "All Users" option from the installer, since
that is not working.
Thanks
It seems to be working on my machine .
The "All Users", "Just Me" option in the installer simply define where the
RB demos and Developer's Guide are installed (My Documents or Public
Documents). It was necessary to do this to comply with some of the Vista
security (as opposed to installing the demos in the root directory like we
did in previous versions). If when installing you do not have access to the
public documents area, the demos are installed in My Documents by default.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com