Page 1 of 1

Installing on a Windows 2011 Server

Posted: Tue Jan 03, 2012 11:02 pm
by 10546565
We build our apps on a Windows SB Server 2011 and I cannot get the source code version to recompile.

At first it couldn't delete the BPLs from the SysWOW64 directory. I removed all of the Tee*911.BPL s from then Wndows\SysWOW64 directory and got a bit further than I had, but now I get the following exception:

--<start>
EXCEPTION:
Cannot copy file: C:\Delphi\TeeChart Pro 2011 Full Source Code\Sources\Compiled\Delphi11\System\GLUT32.dll to C:\Windows\system32\GLUT32.dll

Error Code: 5 Description: Access is denied
--<end>

Of course it is going to deny access to this--but I don't know how to get around it. (I really don't want any extra DLLs in my Windows directories anyways).

I've gone to

How can I get this to work?

Thank you,

Ed Dressel

Re: Installing on a Windows 2011 Server

Posted: Wed Jan 04, 2012 9:28 am
by yeray
Hi Ed,
TestAlways wrote:I really don't want any extra DLLs in my Windows directories anyways
The problem is that the IDE looks in the system32 (or SysWOW64) folder for the runtime libraries so we have to copy them there...
TestAlways wrote:EXCEPTION:
Cannot copy file: C:\Delphi\TeeChart Pro 2011 Full Source Code\Sources\Compiled\Delphi11\System\GLUT32.dll to C:\Windows\system32\GLUT32.dll

Error Code: 5 Description: Access is denied
Maybe you are running TeeRecompile without enough privileges. Have you checked it?

Re: Installing on a Windows 2011 Server

Posted: Wed Jan 04, 2012 2:21 pm
by 10546565
The problem is that the IDE looks in the system32 (or SysWOW64) folder for the runtime libraries so we have to copy them there...
The IDE looks in the System32 folder, amongst other folders. The IDE also searches in other directories, e.g. by default, it searches the $(BDSCOMMONDIR)\Bpl folder, which would be a much safer
Maybe you are running TeeRecompile without enough privileges. Have you checked it?
I'm logged in with the same rights as other (many) 3rd party products (including Report Builder, Dev Express, CodeSite, IBO, RemObjects, Compression Master from Component Ace, madExcept, Indy, Billenium Effects, Addict Pro, and others) that work fine. But none of them require the BPLs be installed to the System32 directory.

I wish, at the least, that the BPL output directory was optional.

FTR, I checked and I am logged in as the administrator. My guess that if the application is not an installer, it won't allow it to touch the Windows directory--which, IMHO, is a safety precaution way over due.

Re: Installing on a Windows 2011 Server

Posted: Mon Jan 09, 2012 12:24 pm
by yeray
Hi Ed,

We've just modified TeeRecompile to include a TextBox to choose a folder to copy the runtime libraries.
Besides, if there is an error in this process of copy, it will ask you to ignore it or stop the compilation.

Re: Installing on a Windows 2011 Server

Posted: Mon Jan 09, 2012 3:38 pm
by 10546565
Is there a separate download available or do I have to wait for the next update?

Thanks,
Ed Dressel

Re: Installing on a Windows 2011 Server

Posted: Tue Jan 10, 2012 12:50 pm
by yeray
Hi Ed,

Find it attached:
TeeRecompile.zip
(454.78 KiB) Downloaded 613 times
Feel free to comment any problem or suggestion you may have.