RB11 Enterprise/D2009 Installer issues
Setup
Vista Ultimate/x64
OS Install: \Windows
UAC turned off
Logged on as "Administrator"
Delphi 7, 2007 and 2009 installed
Delphi 7 and 2007 have RB 10.09 installed
Install Path: C:\Delphi\3rdParty\RB11\D2009
Result
1) 16 rb*1112.bpl files created on my desktop.
2) rbRAP, rbDADE, rbIDE and rbPrint .cst/.eng files created on my
desktop.
3) Error creating TeeChart Binaries (Cannot open file
"C:\Delphi\3rdParty\RB11\D2009\Teechart\TeeStd800\dcc32.txt". The
system cannot find the file specified
Naturally loading Delphi 2009 complains as it can't find rbRCL1112.bpl
and this is corrected by moving the bpl files from my desktop to
\Windows\SysWOW64
Question, should the .cst/.eng files be moved as well?
Regards,
Cary.
Vista Ultimate/x64
OS Install: \Windows
UAC turned off
Logged on as "Administrator"
Delphi 7, 2007 and 2009 installed
Delphi 7 and 2007 have RB 10.09 installed
Install Path: C:\Delphi\3rdParty\RB11\D2009
Result
1) 16 rb*1112.bpl files created on my desktop.
2) rbRAP, rbDADE, rbIDE and rbPrint .cst/.eng files created on my
desktop.
3) Error creating TeeChart Binaries (Cannot open file
"C:\Delphi\3rdParty\RB11\D2009\Teechart\TeeStd800\dcc32.txt". The
system cannot find the file specified
Naturally loading Delphi 2009 complains as it can't find rbRCL1112.bpl
and this is corrected by moving the bpl files from my desktop to
\Windows\SysWOW64
Question, should the .cst/.eng files be moved as well?
Regards,
Cary.
This discussion has been closed.
Comments
After reading through the 'RB11 and "Failed to get data for 'Theme'"'
topic my RB11 installer was downloaded about 3 hours ago so I'm
assuming it's the updated build.
Regards,
Cary
We have one other customer that has experienced this issue and both of you
are using 64-bit Vista installations.
The rb*1112.bpl and language files are meant to be copied to the
\Windows\System32 directory. Is there any reason the installer would not be
able to copy to this directory? If you try installing to the default
location, do you still get the same behavior?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
As far as I'm aware on Vista 64 the 32bit bpl files should be installed
in Windows\SysWOW64 NOT Windows\System32 the latter is for 64bit dlls
etc (don't ask me why ask Microsoft :-) )
When I get a chance over the weekend I'll unstall/re-install leaving
default installation paths and see if it makes a difference.
Regards,
Cary.
Thanks for your help. Out of curiosity, where are the other Delphi runtime
packages installed on your 64-bit machine? For instance, is the vcl120.bpl
file located in the System32 or the SysWOW64 directory?
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I have no bpl files in system32, all bpls are in SysWOW64.
Delphi 2007 and 2009 installers automatically put them there (I can't
remember if I had to move the Delphi 7 bpls), some third party
installers I've had to manually modify/correct.
eg. After a ReportBuilder install I have to edit and re-run the
BuildTee.bat used to create the RBuilder/Teechart library checking for
"%PROCESSOR_ARCHITECTURE%"=="AMD64"......
set PACKSUFFIX="10105"
set DCC="c:\Program Files\CodeGear\RAD Studio\5.0\Bin\Dcc32.exe"
if not "%OS%"=="Windows_NT" goto win9x
:winNT
if not "%PROCESSOR_ARCHITECTURE%"=="AMD64" GOTO 32bit
:64bit
set SYSTEMDIR="D:\Windows\syswow64"
goto dotherest
:32bit
set SYSTEMDIR="D:\Windows\system32"
goto dotherest
:win9x
set SYSTEMDIR="D:\Windows\system"
:dotherest
cd "C:\Delphi\3rdParty\RB10\D2007\TeeChart\TeePro800"
REM Building dcu's...
..
..
..
Regards,
Cary.
Thanks for the info. I'm in discussions with the InstallAware people on how
to get the .bpl's installed into the SysWOW64 directory for 64-bit
installations.
Are you using an older version of RBTeePackBuilder? The package suffix
should no longer be 10105 for RB 11. We changed this to 1111.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
We have new builds available to download - this should fix issues with
installing to Vista 64-bit.
Please try downloading again.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Yes the new installer is much better, standard RB bpls created in
SysWOW64.
A couple of minor issues with regards to the BuildTee.bat file
automatically created in \TeeChart\TeeStd800
1) It is still using system32
set PACKSUFFIX="1112"
set DCC="C:\Program Files\CodeGear\RAD Studio\6.0\Bin\Dcc32.exe"
set SYSTEMDIR="D:\Windows\system32"
cd "C:\Delphi\3rdParty\RB11\D2009\TeeChart\TeeStd800"
2) The Teechart packages were not automatically compiled, looks like it
was running in the wrong directory as it's expecting the Operating
System (temp file area) and ReportBuilder to be installed on the same
drive - which in my case it isn't.
\Users\ADMINI~1\AppData\Local\Temp\miaA291.tmp>"C:\Program
Files\CodeGear\RAD Studio\6.0\Bin\Dcc32.exe" BuildTee.dpr -B
CodeGear Delphi for Win32 compiler version 20.0
Copyright (c) 1983,2008 CodeGear
Fatal: F1026 File not found: 'BuildTee.dpr'
\Users\ADMINI~1\AppData\Local\Temp\miaA291.tmp>REM Building
packages...
\Users\ADMINI~1\AppData\Local\Temp\miaA291.tmp>"C:\Program
Files\CodeGear\RAD Studio\6.0\Bin\Dcc32.exe" rbTC"1112".dpk
CodeGear Delphi for Win32 compiler version 20.0
Copyright (c) 1983,2008 CodeGear
Fatal: F1026 File not found: 'rbTC1112.dpk'
Regards,
Cary.
Thanks for the information.
The RBTeePackageBuilder program sets the SYSTEMDIR variable in code using
the Windows.GetSystemDirectory API call. This call maps to the
kernel32.dll.
From what I understand about a 64-bit installation of Windows, there are two
versions of kernel32.dll... one in the SysWOW64 directory and one in the
System32 directory. It would seem that we are using the incorrect one in
your case. I am currently researching this issue however any insight you
can give would be greatly appreciated.
Thanks for all your help so far.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Before creating the bat file I think the RBTeePackageBuilder program
needs to detect whether it (as a 32 bit application) is running in
WOW64 mode and if it is get the syswow64 path to use in the .bat file.
See kernel32 functions isWow64process and GetSystemWow64Directory.
Basically if the isWow64Process function exists and returns true the
application is running on 64 bit Windows, then use the
GetSystemWow64Directory function to get the path to the syswow64
directory.
Hope this helps
Cary.
GetSystemWow64DirectoryA or GetSystemWow64DirectoryW