Mega Search
23.2 Million


Sign Up

Make a donation  
Delphi XE2 died and after a reinstall will not compile anyth  
News Group: embarcadero.public.delphi.install

I had Delphi XE2 running on a Win7 machine and I tried installing 
some 3rd party Oracle access tools, ODAC and they did not work. 

After I uninstalled them, I got error messages trying to compile 
a simple program - with no database access, just a button, but it 
would not compile saying
"delphi unable to create process. the directory name is invalid"
 
I tried to do a repair install and then I got many messages upon 
starting up which said unable to load .bpl.

I then did a complete uninstall of Rad Studio XE2 and then a 
complete reinstall and the install said it was successful but I 
still get the message:
"delphi unable to create process. the directory name is invalid"
Which directory and where do I set it?

I have googled this message and all I could find was to make sure 
that a directory does exist to match the target platform. Mine is 
32-bit-Windows" and the folder name is ...win32\Debug.

So here I am less than a month of owning this, and nothing will 
compile, not even just a form with 1 button.

Is there a secret registry entry I need to set or what? I had 
thought a reinstall would work but it did not.

Please help. Thank you.
Steve

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 21-Feb-2012, at 11:23 PM EST
From: steve leonard
 
Re: Delphi XE2 died and after a reinstall will not compile a  
News Group: embarcadero.public.delphi.install
I may have found my own answer - I deleted an environment variable called PLATFORM which was set to Win64 and the problem disappeared although I am still installing Update 3 so I cannot try to shake it down until Update 3 completes. I had to download this manually because the reinstall put it at update 1, and running the "check for updates" menu option had it saying "there are no updates" even though I was still at Update 1.

I do not know if removing the PLATFORM variable is the correct answer, or should it have been set to something else like Win32, although it is running on a 64 bit machine. Does anyone know?

Thanks in advance.
Steve



> {quote:title=steve leonard wrote:}{quote}
> I had Delphi XE2 running on a Win7 machine and I tried installing 
> some 3rd party Oracle access tools, ODAC and they did not work. 
> 
> After I uninstalled them, I got error messages trying to compile 
> a simple program - with no database access, just a button, but it 
> would not compile saying
> "delphi unable to create process. the directory name is invalid"
>  
> I tried to do a repair install and then I got many messages upon 
> starting up which said unable to load .bpl.
> 
> I then did a complete uninstall of Rad Studio XE2 and then a 
> complete reinstall and the install said it was successful but I 
> still get the message:
> "delphi unable to create process. the directory name is invalid"
> Which directory and where do I set it?
> 
> I have googled this message and all I could find was to make sure 
> that a directory does exist to match the target platform. Mine is 
> 32-bit-Windows" and the folder name is ...win32\Debug.
> 
> So here I am less than a month of owning this, and nothing will 
> compile, not even just a form with 1 button.
> 
> Is there a secret registry entry I need to set or what? I had 
> thought a reinstall would work but it did not.
> 
> Please help. Thank you.
> Steve

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 22-Feb-2012, at 12:12 AM EST
From: steve leonard