Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install problems #39

Closed
limelect opened this issue Feb 12, 2022 · 26 comments
Closed

install problems #39

limelect opened this issue Feb 12, 2022 · 26 comments

Comments

@limelect
Copy link

D10.2.3 trying to install
C:\Program Files (x86)\Embarcadero\Studio\19.0\LimLib\Skia\Packages\RAD Studio 10.2 Tokyo\Skia.Package.VCL.dproj

as a matter of fact all installations same problem

All bpl compile OK but
Directory is OK C:\Program Files (x86)\Embarcadero\Studio\19.0\LimLib\Skia\Library\RAD Studio 10.2 Tokyo\Win32\Debug\Bpl and units too.

All files are correct and still and I get Skia.Package.RTL250.bpl is missing
I had to move Skia.Package.RTL250.bpl to C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
but now I get rtl250.bpl error
In short, cannot install ver 3

@viniciusfbb
Copy link
Member

@limelect Are you trying to install manually? If so, do you need to follow the steps in manual installation documentation, especially the step 5:

  1. Open RAD Studio, go to Tools > Options... > IDE > Environment Variables, and:

    5.1. Click New..., and add the variable name SKIADIR, and in variable value put your Skia4Delphi full path (eg C:\skia4delphi), and click OK. From here, we'll call this path as [skia4delphi_root] in this documentation. But remember: in the step that is written [skia4delphi_root], it must be filled with full path (without environment variables);

    5.2. Still in the Environment Variables page, in the User System Overrides section, find the PATH variable and double click to change it. You need to add the these three folders (full path) at the beginning:

    • [skia4delphi_root]\Binary\Win32\Release;
      eg C:\skia4delphi\Binary\Win32\Release;
    • [skia4delphi_root]\Library\[rad_version_name]\Win32\Release\Bpl;
      eg C:\skia4delphi\Library\RAD Studio 11.0 Alexandria\Win32\Release\Bpl;
    • [skia4delphi_root]\Library\[rad_version_name]\Win64\Release\Bpl;
      eg C:\skia4delphi\Library\RAD Studio 11.0 Alexandria\Win64\Release\Bpl;

    5.3. Click OK and Save;

But, again I always recommend the automatic installation done by Skia4Delphi_3.0.0_Setup.exe that you will always found in releases page

@limelect
Copy link
Author

limelect commented Feb 12, 2022

used exe same problem
what the dll for?
dll source?

Screenshot - 12_02_2022 , 21_56_23

@viniciusfbb
Copy link
Member

The error occurs when trying to change the RAD Studio registry. Didn't you run it with the IDE open? Also see if the problem resolves when running as administrator.

@limelect
Copy link
Author

limelect commented Feb 12, 2022

same problem

  1. closed Delphi
  2. run as administrator
  3. window 7
  4. got this

Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.8806]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

@enri690
Copy link

enri690 commented Feb 12, 2022

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

@limelect
Copy link
Author

Install for Delphi 11.?????
I install it for 10.2!!!!

@viniciusfbb
Copy link
Member

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

There was an error editing the environment variables of your registry. I need you to send me the values of some records:

  1. Open the RegEdit (search for "regedit.exe" in windows search)
  2. Access the key: HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0\Environment Variables
  3. Send me a print screen, and also paste here the content of PATH, inside this registry

@enri690
Copy link

enri690 commented Feb 12, 2022

When you click on the OK button where it reads "Please, report this issue", does it open a webpage containing more info about the error?

@viniciusfbb
Copy link
Member

viniciusfbb commented Feb 12, 2022

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

Strangely, setup doesn't edit the enviroment.proj file, it only edits the registry that RAD Studio reads when loading "enviroment.proj".

@limelect
Copy link
Author

Yes it opens a webpage
path
$(PUBLIC)\Documents\Embarcadero\InterBase\redist\InterBase2017\IDE_spoof;$(PATH)

Screenshot - 12_02_2022 , 22_45_46

@enri690
Copy link

enri690 commented Feb 12, 2022

Setup rewrites that file every time, and then I think it is unable to parse it correctly

@enri690
Copy link

enri690 commented Feb 12, 2022

same problem

  1. closed Delphi
  2. run as administrator
  3. window 7
  4. got this

Microsoft (R) Build Engine Version 3.5.30729.5420 [Microsoft .NET Framework, Version 2.0.50727.8806] Copyright (C) Microsoft Corporation 2007. All rights reserved.

C:\Users\LimElect\AppData\Roaming\Embarcadero\BDS\19.0\environment.proj(59,28): error MSB4024: The imported project file could not be loaded. 'Edition' is an unexpected token. The expected token is '='. Line 59, position 28.

Before doing this try to make the file "enviroment.proj" Read Only

@limelect
Copy link
Author

I did readonly
sorry same problem

@limelect
Copy link
Author

limelect commented Feb 12, 2022

Let's go to my original question what so complicated with install
by hand?
Never had such a problem.
something is definitely wrong with the install source

@viniciusfbb
Copy link
Member

viniciusfbb commented Feb 12, 2022

definitely wrong with the install source

Interesting! Apparently dcc32.exe is changing this file while compiling via command line. I'll study what may be happening, can you send me the original enviroment.proj and the one modified by setup?

Let's go to my original question what so complicated with install by hand? Never had such a problem. something is definitely wrong with the install source

There's no problem with the manual installation, it's just that it's common to skip some steps, especially step 5. The documentation I sent you describes the step by step very well.

@limelect
Copy link
Author

where is it? "The documentation I sent you describes the step by step very well."?

@limelect
Copy link
Author

And lastly
Since all components compiled OK
I moved all dcp and BPL to
C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl
And try to load the components bpl.
All gave me an RTL error. (main Delphi bpl)

@jatinpandya
Copy link

I have the same issue - the installer shows message to report the error - someone has already uploaded the screen grab above. And then I am shown the following BuildLogs.txt. Is there a way to avoid this error? I have already tried installing without IDE running, as administrator, etc.

`Microsoft (R) Build Engine version 4.8.4161.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/14/2022 9:02:21 AM.
Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" on node 1 (default targets).
C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]
Done Building Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default targets) -- FAILED.

Build FAILED.

"C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default target) (1) ->
C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.02
`

@viniciusfbb
Copy link
Member

We are doing some tests and will release a new version by tomorrow with some corrections and with the generation of logs by the setup to facilitate the analysis of this type of problem.

For now, manual installation is the alternative. You will find the documentation for manual installation here: https://github.com/skia4delphi/skia4delphi/blob/main/Documents/INSTALLATION.md#manual

@enri690
Copy link

enri690 commented Feb 14, 2022

I have the same issue - the installer shows message to report the error - someone has already uploaded the screen grab above. And then I am shown the following BuildLogs.txt. Is there a way to avoid this error? I have already tried installing without IDE running, as administrator, etc.

`Microsoft (R) Build Engine version 4.8.4161.0 [Microsoft .NET Framework, version 4.0.30319.42000] Copyright (C) Microsoft Corporation. All rights reserved.

Build started 2/14/2022 9:02:21 AM. Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" on node 1 (default targets). C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj] Done Building Project "C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default targets) -- FAILED.

Build FAILED.

"C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj" (default target) (1) -> C:\Users\Jatin\AppData\Roaming\Embarcadero\BDS\22.0\environment.proj(7,9): error MSB5016: The name "asl.log" contains an invalid character ".". [C:\Work\Skia4Delphi\Packages\RAD Studio 11.0 Alexandria\Skia.Package.RTL.dproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.02 `

  1. Remove the entire line that contain asl.log in your enviroment.proj.
  2. Save the file but be sure it does not take the extension txt.
  3. Make the file Read Only.
  4. Install.
  5. Remove attribute Read Only.

@Mr-KultiVator
Copy link

  • Remove the entire line that contain asl.log in your enviroment.proj.
  • Save the file but be sure it does not take the extension txt.
  • Make the file Read Only.
  • Install.
  • Remove attribute Read Only.

I hit this same problem on my secondary dev machine... but can confirm that the steps above worked for me.

@HBenzaoui
Copy link

Install for Delphi 11.

To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

That worked for me !thanks

@lidernetworktecnologia
Copy link

Install for Delphi 11.
To be able to install without errors, I had to prohibit Setup to override file "enviroment.proj" in C:\Users\USERNAME\AppData\Roaming\Embarcadero\BDS\22.0\ by making it read only and after install remove read only for Bds to run.

That worked for me !thanks

Fiz esse procedimento e o instalador funcionou para Rio e Sidney

This was referenced Feb 16, 2022
@viniciusfbb
Copy link
Member

viniciusfbb commented Feb 17, 2022

First, I apologize for the installation inconvenience.

Right now, we've released a new version with several fixes/improvements included in the setup.

Hopefully this will resolve most installation issues in this new release. I would appreciate it if someone with problems in the previous version would give feedback on this new one.

@enri690
Copy link

enri690 commented Feb 17, 2022

Install for Alexandria goes well. Demo Android runs Ok also. Thank you.

@viniciusfbb
Copy link
Member

Excellent! I will close the topic but any new problem feel free to open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants