TeeRecompile 7.01 deletes entire \Delphi\Bin contents

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

TeeRecompile 7.01 deletes entire \Delphi\Bin contents

Post by SteveP » Thu Dec 02, 2004 5:14 pm

TeeRecompile dated July 2004 as part of the TeeChart 7.01 download deleted my entire \Delphi\Bin folder contents. The version from TeeChart 7.0 does not.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 02, 2004 5:41 pm

Hi SteveP,

Are you really sure of what you are saying? We have never heard of a case like this and it is really strange. I have used myself this recompile tool in my machine and nothing wrong happened.

The only case that I can imagine of is that you set the "Relative Destination" path pointing at "C:\Program Files\Borland", could you please tell us which "TeeChart Source Code" and "Relative Destination" paths you used in TeeRecompile and also the paths where you have TeeChart and Delphi installed?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Thu Dec 02, 2004 8:07 pm

TeeChart Source Code is C:\TeeChart Pro v7.01 Full Source Code\Source
Relative Destination is Compiled
TeeChart files are at C:\TeeChart Pro v7.01 Full Source Code
Delphi is at C:\Delphi7

TeeRecompile fails with EXCEPTION: Cannot copy file \Delphi7\system\Tee77.bpl to C:\Windows\system32\Tee77.bpl

It also deletes all files in the \Delphi\Lib folder (all 811 of them).

TeeRecompile dated 7/6/2004 behaves this way, the version dated 3/5/2004 does not and it recompiles with no errors and TeeChart works in Delphi.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 03, 2004 9:22 am

Hi SteveP,
TeeChart Source Code is C:\TeeChart Pro v7.01 Full Source Code\Source
Relative Destination is Compiled
Then the folders TeeRecompile should delete to add the new compiled files are:

C:\TeeChart Pro v7.01 Full Source Code\Source\Compiled\Delphi7\Bin
C:\TeeChart Pro v7.01 Full Source Code\Source\Compiled\Delphi7\Lib

By now I can't find any reason for this. I'll try to dig into it and get back to you when I have further information.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Fri Dec 03, 2004 2:55 pm

Narcis,

Well this is only happening on one computer. I've tried it on two other computers and they do not exhibit this error. Maybe some kind of registry error pointing to incorrect folder ? But why would it only happen with the July 2004 TeeRecompile version ?

Steve

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 03, 2004 3:47 pm

Hi SteveP,

We have been looking into it and according to the paths you told me it couldn't be TeeRecompile deleting the folders you mention. Just an acumulation of circumstances (according to what I told in my previous post) or something which is not TeeChart related can have been the cause.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Thu Dec 09, 2004 5:31 pm

>>TeeChart Source Code is C:\TeeChart Pro v7.01 Full Source >>Code\Source
>>Relative Destination is Compiled

>Then the folders TeeRecompile should delete to add the new compiled >files are:

>C:\TeeChart Pro v7.01 Full Source Code\Source\Compiled\Delphi7\Bin
>C:\TeeChart Pro v7.01 Full Source Code\Source\Compiled\Delphi7\Lib

The latest TeeRecompile for Ver 7.02 dated 12/3/2004 now also deletes these files on a different computer I never had this problem with previously.

My Delphi installation folder is at the Root level and is named C:\Delphi7. This is the same name(s) that are being appended onto the TeeChart Source Code Relative Destination path. So it seems as if the installer is deleting without looking at the Source Code + Relative Destination path but instead is just deleting the path of what it is appending ?

The July 2004 TeeRecompile version works fine on this computer.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 09, 2004 6:00 pm

Hi Steve,
So it seems as if the installer is deleting without looking at the Source Code + Relative Destination path but instead is just deleting the path of what it is appending.
If you pay atention to the destination path you will notice that if instead of putting Compiled, which is the default value and would store the compiled files at the TeeChart sources + relative destination path, you put something like C:\... this path turns into absolute path. This must be the problem with your machines.

You should better use the default values and you would have those kind of problems.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Fri Dec 10, 2004 2:54 am

Narcis,

I am not entering and never have entered anything into the Relative Destination input. I let it use the default that is already there (which is as you say "Compiled"). There is no driver letter, backslash or colon. This is and has always been the case for all my installations, including the version from July 2004 that does not do the deleting.

Steve

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 10, 2004 8:41 am

Hi Steve,

Then can you check that the compiled TeeChart files are on the paths I mentioned on my post from Fri Dec 03, 2004 9:22 am?
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Wed Dec 15, 2004 8:04 pm

The latest TeeRecompile dated 12/014/2004 with TChart 7.02 has been fixed to not erase these folder contents.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Dec 16, 2004 8:15 am

Hi Steve,

Yes, you were right, we found that happened in a machine wich had never had TeeChart installer previously and TeeRecompile was modified to avoid this problematic case.

That's why we couldn't reproduce this problem here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply