View Issue Details

IDProjectCategoryView StatusLast Update
0006686JEDI Code LibraryInstallationpublic2023-11-11 19:37
ReportermooreAssigned ToAHUser 
PriorityimmediateSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0006686: Install JCL exception EjclMsBuilderError
DescriptionNot possible to install the daily snapshot from 05/05/2020 (jcl.sourceforge.net/daily/) on Delphi 2007 due the the MsBuild.exe error (see pincture) :
 
Exception EjclMsBuilderError in module jedinstaller.exe at 000314EE
Unable to locate MsBuild.exe
TagsJcl, JclMsBuild
Fixed in GIT commit
Fixed in SVN revision
IDE version

Activities

moore

2020-04-05 10:15

reporter  

jclErr.PNG (6,609 bytes)
jclErr.PNG (6,609 bytes)

obones

2020-05-18 22:31

administrator   ~0021874

Is this with only D2007 installed?

moore

2020-05-19 19:27

reporter   ~0021932

Yes, the only IDE installed on this computer is Delphi 2007.
Does installation of another version resolves the problem?

obones

2020-05-20 15:42

administrator   ~0021934

This is very strange because Delphi 2007 is supposed to require .Net to be installed and this implies having MSBuild installed.
I have a VM here with just D2007 and I do have msbuild.exe at this location:

C:\Windows\Microsoft.NET\Framework\v2.0.50727

If it is there, the next option is to debug the installer inside D2007. Here are the steps:

Open "\jcl\jcl\install\JediInstaller.dpr"
Place a breakpoint inside JclMsBuild.pas at line 1437, on the call to TJclClrHost.GetClrVersions
Run the project in debug mode in the IDE

The breakpoint should be reached and if you step over, you should have elements in the DotNetVersions string list.
If not, then the code that enumerates needs to be stepped into to find out what's not working. I strongly believe this is because the .net Framework is not installed properly
If there are elements, then please step into the next instructions, maybe the msbuild.exe file is not in any of the returned locations, which once again hints at an incomplete .Net framework installation

moore

2020-05-20 21:04

reporter   ~0021935

Msbuild is installed correcty, Version 6633 of JCL builds just fine. I should have said before that I have already a version of JCL/JVCL installed correctly and used fine on my Delphi 2007 on Windows 10 PRO, The problem is when I try to update to the latest daily snapshot, Reinstalling the correct version 6633 compiles fine and installs with no problem at all.
I would debug the dpr and see if this can shed some light on the issue.

msvuild.jpg (69,929 bytes)
msvuild.jpg (69,929 bytes)

obones

2020-05-23 18:02

administrator   ~0021936

If I read your version number correctly, it is from more than 2 years ago. Here is the history for the JclDotNet.pas file where TJclClrHost resides:
https://github.com/project-jedi/jcl/commits/master/jcl/source/windows/JclDotNet.pas

I don't see much changes in this area, but maybe we missed something.

obones

2021-06-04 12:02

administrator   ~0021970

Any news on this issue?

moore

2021-06-12 20:53

reporter   ~0021983

I downloaded the latest build of JCL jcl-2.8.0.7718.7z and JVCL JVCL3-2021-06-04.7z unfortunately always the same error as above. I use Windows 10 and Delphi 2007..

obones

2021-06-14 11:14

administrator   ~0021984

Were you able to debug the installer itself?

moore

2021-07-05 23:03

reporter   ~0021987

You may close this issue as is seems to be caused by disabling the option in Delphi Destiller :

Reinstalling with this option enabled no problem installing JCL/JVCL..

MsBuild.PNG (7,277 bytes)
MsBuild.PNG (7,277 bytes)

Issue History

Date Modified Username Field Change
2020-04-05 10:15 moore New Issue
2020-04-05 10:15 moore Tag Attached: Jcl
2020-04-05 10:15 moore Tag Attached: JclMsBuild
2020-04-05 10:15 moore File Added: jclErr.PNG
2020-05-18 22:31 obones Status new => feedback
2020-05-18 22:31 obones Note Added: 0021874
2020-05-19 19:27 moore Note Added: 0021932
2020-05-19 19:27 moore Status feedback => new
2020-05-20 15:42 obones Note Added: 0021934
2020-05-20 21:04 moore File Added: msvuild.jpg
2020-05-20 21:04 moore Note Added: 0021935
2020-05-23 18:02 obones Note Added: 0021936
2021-06-04 12:02 obones Status new => feedback
2021-06-04 12:02 obones Note Added: 0021970
2021-06-04 14:11 obones Project JEDI VCL => JEDI Code Library
2021-06-12 20:53 moore Note Added: 0021983
2021-06-12 20:53 moore Status feedback => new
2021-06-14 11:14 obones Note Added: 0021984
2021-07-05 23:03 moore File Added: MsBuild.PNG
2021-07-05 23:03 moore Note Added: 0021987
2023-11-11 19:37 AHUser Assigned To => AHUser
2023-11-11 19:37 AHUser Status new => closed
2023-11-11 19:37 AHUser Resolution open => fixed