Installing on a Windows 2011 Server

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Installing on a Windows 2011 Server

Post by TestAlways » Tue Jan 03, 2012 11:02 pm

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

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Installing on a Windows 2011 Server

Post by Yeray » Wed Jan 04, 2012 9:28 am

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?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Re: Installing on a Windows 2011 Server

Post by TestAlways » Wed Jan 04, 2012 2:21 pm

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.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Installing on a Windows 2011 Server

Post by Yeray » Mon Jan 09, 2012 12:24 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TestAlways
Advanced
Posts: 228
Joined: Tue Aug 28, 2007 12:00 am
Location: Oregon, USA

Re: Installing on a Windows 2011 Server

Post by TestAlways » Mon Jan 09, 2012 3:38 pm

Is there a separate download available or do I have to wait for the next update?

Thanks,
Ed Dressel

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Installing on a Windows 2011 Server

Post by Yeray » Tue Jan 10, 2012 12:50 pm

Hi Ed,

Find it attached:
TeeRecompile.zip
(454.78 KiB) Downloaded 612 times
Feel free to comment any problem or suggestion you may have.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply