How to install JVCL packages if the installer failed when I ran it as a non-Administrator User

Andromeda picture Andromeda · Mar 5, 2013 · Viewed 11.8k times · Source

I use Win7. I have installed Jedi VCL Components in my Delphi XE and It work correctly. However if I try to run the XE as another user account (doesn't have Administrator priveleges), the JVCL Components do not appear in the Tool Palette whereas I need to run as client user to use the RxLib Tools and Components which were installed as client user.

Is there any way to install or use the Jedi VCL Components not as the Administrator User?

Help me please...

The The appeared error message if I run bat file as regular user is :

[Compiling installer...]

Using Embarcadero RAD Studio XE Embarcadero Delphi for Win32
compiler version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc. 
Fatal: F2039 Could not create output file '..\..\bin\JVCLInstall.exe' 
Failed to compile JVCL installer

Press any key to continue . . . 

Thank in advance.

Answer

Warren  P picture Warren P · Mar 6, 2013

Go to Components menu, click it, and pick Install Packages. Click Add Packages.

Go to the folder where you installed JEDI and find the place where your BPLs are.

In my compuer that's C:\Users\Public\Documents\RAD Studio\9.0\Bpl

Type this into the filter box in the file open so you can find just the packages we want to install:

Jv*Design160.bpl

If you don't see any files that match that then your installer did not even build the .BPL files for Delphi product version 16.0. Note that the 9.0 number is the IDE version, and 16.0 is the package suffix and compiler major version, here for XE. If you were using XE2 it would be major version 17.0 (so the file suffix is 170), and so on.

Here is a picture of what it looks like when the Jedi JVCL packages are installed in your IDE:

enter image description here

You probably also need to locate and install some JCL packages. Use Jcl*160.BPL as your file filter expression.

You also probably should learn about the Library Paths and go find what they were in one account, and just copy them however you like to do that. I find that using the Registry Viewer to export these keys is one way, and another is to just open the options in Delphi and copy things one at a time from one place to another. Be careful if you use the registry editor to export and import.

Also your underlying inability to compile may be a simple matter of NTFS PERMISSIONS. If you don't know what those are, you're not going to get far on Windows. Also from comments, it seems you don't know better than to try to install SOURCE CODE into C:\Program Files folders, and then expect those folders to be writeable by regular users too. Seriously, man, don't put code there, as Arioch said, that's not where Code goes.