如果我以非管理员用户身份运行安装程序失败,如何安装 JVCL 包 [英] How to install JVCL packages if the installer failed when I ran it as a non-Administrator User

查看:46
本文介绍了如果我以非管理员用户身份运行安装程序失败,如何安装 JVCL 包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的是Win7.我已经在我的 Delphi XE 中安装了 Jedi VCL 组件并且它工作正常.但是,如果我尝试以另一个用户帐户(没有管理员权限)运行 XE,JVCL 组件不会出现在工具面板中,而我需要以客户端用户身份运行才能使用安装为的 RxLib 工具和组件客户用户.

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.

有没有什么方法可以不以管理员用户身份安装或使用 Jedi VCL 组件?

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

请帮帮我...

如果我以普通用户身份运行 bat 文件,出现的错误消息是:

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 . . . 

提前致谢.

推荐答案

转到组件"菜单,单击它,然后选择安装包".点击添加包.

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

转到您安装 JEDI 的文件夹并找到您的 BPL 所在的位置.

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

在我的计算机中是 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

如果您没有看到任何匹配的文件,那么您的安装程序甚至没有为 Delphi 产品版本 16.0 构建 .BPL 文件.注意9.0号是IDE版本,16.0是包后缀和编译器主版本,这里为XE.如果您使用的是 XE2,它将是主要版本 17.0(因此文件后缀为 170),依此类推.

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.

这是在您的 IDE 中安装 Jedi JVCL 软件包时的外观图片:

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

您可能还需要找到并安装一些 JCL 包.使用 Jcl*160.BPL 作为文件过滤器表达式.

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

您可能还应该了解库路径并在一个帐户中查找它们的内容,然后按照您喜欢的方式复制它们.我发现使用注册表查看器导出这些键是一种方法,另一种方法是在 Delphi 中打开选项并将内容一次一个地从一个地方复制到另一个地方.如果您使用注册表编辑器进行导出和导入,请务必小心.

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.

此外,您根本无法编译可能是一个简单的 NTFS 权限问题.如果您不知道这些是什么,那么您在 Windows 上不会走得太远.同样从评论中,您似乎不知道比尝试将源代码安装到 C:\Program Files 文件夹中更好,然后期望这些文件夹也可由普通用户写入.严重地,伙计,不要把代码放在那里,正如 Arioch 所说,那不是代码去的地方.

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.

这篇关于如果我以非管理员用户身份运行安装程序失败,如何安装 JVCL 包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆