Mega Search
23.2 Million


Sign Up

Make a donation  
Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install

I have been trying to install Delphi XE2 Professional and have had a lot of poor results. I'm running on a Win7-64 bit machine but it won't install the 64 bit compiler. Even when it does install it looks like the library path is not complete because it won't compile even the simplest project. I also can't install the latest JVL/JVCL. It recognized it and tries, but the install does not work. I also get a message from TMS Components that it can load the bpl because the device is not ready. The repair optio
n does nothing and I have uninstalled and reinstalled twice.

I have D2010 Pro on the same machine and it runs fine. Any suggestions?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 12-Feb-2012, at 7:50 PM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2 [Edit]  
News Group: embarcadero.public.delphi.install
> {quote:title=quinn wildman wrote:}{quote}
> Bill Coe wrote:
> > I have been trying to install Delphi XE2 Professional and have had a lot of poor results. I'm running on a Win7-64 bit machine but it won't install the 64 bit compiler. Even when it does install it looks like the library path is not complete because it won't compile even the simplest project. I also can't install the latest JVL/JVCL. It recognized it and tries, but the install does not work. I also get a message from TMS Components that it can load the bpl because the device is not ready. The repair o
ptio
> > n does nothing and I have uninstalled and reinstalled twice.
> >
> > I have D2010 Pro on the same machine and it runs fine. Any suggestions?
> 
> Are you on an HP computer?
> 
> What error do you get compiling?
> 
> Try modifying the shortcut that starts your product and add -rfoo to the 
> end. Your revised shortcut should look like:
> 
> "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\bin\bds.exe" -pDelphi 
> -rfoo

Not an HP. A home-built ASUS P7P55D-E PRO mother board with Win 7x64 and 8gB ram.

The -r option did not seem to do anything. What is it for?

If I open a new vcl project, put on a few components and try to compile I get: [DCC Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)

It can't seem to find any of the units. It does not look to me like the paths are set up correctly and things like JVCL and TMS components need to be installed by hand by hunting down the bpl's.

I also get a lot of "device not ready" messages when D2010 tries to load TMS or JVCL components. What does this message mean?

Edited by: Bill Coe on Feb 26, 2012 3:26 PM

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 26-Feb-2012, at 7:28 PM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2 [Edit]  
News Group: embarcadero.public.delphi.install
Wonderful! Thanks a lot! Adding -rfoo did the trick.
Today after installation of update 4 I could not compile any of my applications and no sample.
Windows 7, 64bit environment. 

Kind regards
Bernd Sommer, Coburg, Germany

> {quote:title=quinn wildman wrote:}{quote}
> Bill Coe wrote:
> > The -r option did not seem to do anything. What is it for?
> >
> > If I open a new vcl project, put on a few components and try to compile I get: [DCC Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)
> 
> 
> You can read about the -r switch here: 
> http://docwiki.embarcadero.com/RADStudio/en/IDE_Command_Line_Switches_and_Options
> 
> -rfoo looks for a registry hive called foo. If it does not find it, 
> which is what I would expect, a brand new one with all the defaults is 
> created. -cleanregistryide works similarly, but deletes are your current 
> settings. It would seem to me your problem is with paths and if you go 
> back to defaults using one of these techniques it would resolve it for you.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 29-Feb-2012, at 2:00 PM EST
From: Bernd Sommer
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
I'm back to the beginning with this problem. It was working for a brief time but it is not now. Just opening a new project with an empty form and trying to compile it results in a fatal error "F1027 unit not found system.pas." The Browsing path seems correct but it still can't find things. None of the system-level units in the uses statement can be found either.
I also get an error at startup that "tmsdedxe2.bpl device not ready." What exactly does that mean?
This may all be related to Update 4 because my Delphi 2010 Update 4 installation is wrecked as well.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 18-Mar-2012, at 6:18 AM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
> {quote:title=Bill Coe wrote:}{quote}
> I'm back to the beginning with this problem. It was working for a brief time but it is not now. Just opening a new project with an empty form and trying to compile it results in a fatal error "F1027 unit not found system.pas." The Browsing path seems correct but it still can't find things. None of the system-level units in the uses statement can be found either.
> I also get an error at startup that "tmsdedxe2.bpl device not ready." What exactly does that mean?
> This may all be related to Update 4 because my Delphi 2010 Update 4 installation is wrecked as well.

I don't know if anyone has mentioned it (I didn't see it in any of the posts in this thread).

This is an installation related issue (even though it's installation of an update), and therefore you can open a free support case for it. You can do so via http://support.embarcadero.com - it might be quicker, as the support team there are familiar with the installation.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 19-Mar-2012, at 2:45 AM EST
From: Ken White
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
> {quote:title=Ken White wrote:}{quote}
> > {quote:title=Bill Coe wrote:}{quote}
> > I'm back to the beginning with this problem. It was working for a brief time but it is not now. Just opening a new project with an empty form and trying to compile it results in a fatal error "F1027 unit not found system.pas." The Browsing path seems correct but it still can't find things. None of the system-level units in the uses statement can be found either.
> > I also get an error at startup that "tmsdedxe2.bpl device not ready." What exactly does that mean?
> > This may all be related to Update 4 because my Delphi 2010 Update 4 installation is wrecked as well.
> 
> I don't know if anyone has mentioned it (I didn't see it in any of the posts in this thread).
> 
> This is an installation related issue (even though it's installation of an update), and therefore you can open a free support case for it. You can do so via http://support.embarcadero.com - it might be quicker, as the support team there are familiar with the installation.

Thanks Ken. I've opened a case. We'll see where it goes.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 20-Mar-2012, at 6:54 AM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
> {quote:title=Bill Coe wrote:}{quote}
> > {quote:title=Ken White wrote:}{quote}
> > > {quote:title=Bill Coe wrote:}{quote}
> > > I'm back to the beginning with this problem. It was working for a brief time but it is not now. Just opening a new project with an empty form and trying to compile it results in a fatal error "F1027 unit not found system.pas." The Browsing path seems correct but it still can't find things. None of the system-level units in the uses statement can be found either.
> > > I also get an error at startup that "tmsdedxe2.bpl device not ready." What exactly does that mean?
> > > This may all be related to Update 4 because my Delphi 2010 Update 4 installation is wrecked as well.
> > 
> > I don't know if anyone has mentioned it (I didn't see it in any of the posts in this thread).
> > 
> > This is an installation related issue (even though it's installation of an update), and therefore you can open a free support case for it. You can do so via http://support.embarcadero.com - it might be quicker, as the support team there are familiar with the installation.
> 
> Thanks Ken. I've opened a case. We'll see where it goes.

Well, that didn't go anywhere. The Support guy tried to help but concluded that the problem was in the third party components and that he could not help me. I did some more experimenting with the order of installation and almost have it working but I still get "device not ready" errors on TMSdeDXE2.bpl. No one apparently knows what "device not ready" means or how it applies in this case.

I am thinking that the problem is some bad interaction with Win7 x64 and XE2 because my working version of D2010 is wrecked as well. I set up a vm and installed XE2 with update 4. I was able to install the problem components without trouble and run the IDE. Unfortunately, I still get the 1057 'system.pas not found' error when I try to compile a project. Next step is to reinstall XE2 without update 4 (should have tested that first) and see if that make any difference.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 2-Apr-2012, at 11:36 AM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
Hi,

Why did you ask the other user about an HP computer? I am using an HP 64 bit laptop and windows 7. Everything was working as I was trying to convert a 32 bit application to 64 bit. I was trying to change my paths to leave all the .pas files in one folder and then put 32bit dcus in one folder and 64bit in another folder. All of a sudden, I can't compile 64bit apps at all. I tried to exit the IDE and just create a new VCL forms project and build it. It says it can't find anything as if there is no path to a
ny libraries at all (system.pas, vcl.pas) (can't even find the definition of a DWORD). I can build a 32 bit app just fine. So is this in the library path under "Tools -> Options"? Since it is not project specific, it must be in the global settings somewhere.

What is interesting is if I go into the "Project Options -> Environment Block" it is blank for any 64bit project in any of the configurations. So perhaps it is failing because in 64bit it doesn't know what "$BDS" is?

And here is my Tools -> Options -> Library -> Library Path

32 bit:

c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win32\release
c:\program files (x86)\embarcadero\rad studio\9.0\Imports
C:\Users\Public\Documents\RAD Studio\9.0\Dcp
C:\Program Files (x86)\FastReports\LibD16
c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib
$(BDS)\RaveReports\Lib

64 bit:

$(BDS)\Imports
C:\Program Files (x86)\FastReports\LibD16x64
$(BDS)\RaveReports\Lib64

Can't I just reconstruct these easily? Is the tip here about using the -r switch what I should do? If so, what do I enter for "rfoo"?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 6-Feb-2013, at 1:55 PM EST
From: Fred Decker
 
Re: Difficulties installing Delphi XE2 [Edit]  
News Group: embarcadero.public.delphi.install
cleanregistryide seems to have fixed it. It does wipe out all the component paths but so far it looks like it is working. 

Thanks.

> {quote:title=quinn wildman wrote:}{quote}
> Bill Coe wrote:
> > The -r option did not seem to do anything. What is it for?
> >
> > If I open a new vcl project, put on a few components and try to compile I get: [DCC Fatal Error] Project1.dpr(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)
> 
> 
> You can read about the -r switch here: 
> http://docwiki.embarcadero.com/RADStudio/en/IDE_Command_Line_Switches_and_Options
> 
> -rfoo looks for a registry hive called foo. If it does not find it, 
> which is what I would expect, a brand new one with all the defaults is 
> created. -cleanregistryide works similarly, but deletes are your current 
> settings. It would seem to me your problem is with paths and if you go 
> back to defaults using one of these techniques it would resolve it for you.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 10-Mar-2012, at 11:15 PM EST
From: Bill Coe
 
Re: Difficulties installing Delphi XE2  
News Group: embarcadero.public.delphi.install
It may not be a general problem but it is a problem on my machine. There could be something wrong with Windows itself. I created a 32 bit VM and installed XE2 with update 3 and it runs fine. I also discovered the registry flag ForceEnvOptionsUpdate in the release notes that also helped. It seems to work with older components that have not been upgraded to XE2 packages. It did not work on x64. My D2010 is still blown up after an install so I need to make sure that I have purged every last bit of it before 
I reinstall.

> {quote:title=quinn wildman wrote:}{quote}
> Bill Coe wrote:
> > I am thinking that the problem is some bad interaction with Win7 x64 and XE2 because my working version of D2010 is wrecked as well. I set up a vm and installed XE2 with update 4. I was able to install the problem components without trouble and run the IDE. Unfortunately, I still get the 1057 'system.pas not found' error when I try to compile a project. Next step is to reinstall XE2 without update 4 (should have tested that first) and see if that make any difference.
> 
> It's highly unlikely to be a Win 7 x64 and XE combination. If there was 
> a problem like this we would have surely heard about it by now as I 
> believe this is combination most people have.
> 
> Missing system.pas is a pathing problem as discussed previously in this 
> therad. It would appear to me some third party component you are 
> installing is causing this. If you start your product using -rxxx where 
> xxx is registry key you have previously used the error will at least be 
> temporarily gone because you will be back to default. Note that 
> -cleanregistryide works similarly to -r, as in gives you all the 
> defaults as well. The difference being it deletes all your current 
> settings whereas -r does not.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 9-Apr-2012, at 10:14 AM EST
From: Bill Coe