错误 1324:文件夹路径 'C:'包含无效字符Installaware 7.0 R2

发布于 2024-11-19 07:21:28 字数 531 浏览 3 评论 0原文

我讨厌问其他人在 Stackoverflow 中问过的同样问题,但我仍然不明白为什么 Installaware 7.0 R2 会出现这个问题。

我需要为我的软件的先前版本制作一张可安装 CD。因此,我使用 RAD Studio XE 附带的工具来执行此操作。创建新的 Win32 安装程序并对其进行自定义后,我构建并测试运行了该项目。在安装过程中,出现错误:“错误文件夹路径‘C:’包含无效字符。”因此,我返回并创建了另一个 win32 项目,并且没有对我编译、构建和测试运行该项目的任何内容进行任何更改。它工作正常,没有任何错误。在花费数小时一次更改一件事并一遍又一遍地测试直到再次出现错误消息之后,我终于在 Installaware 中找到了有问题的属性。一旦您更改目标文件夹文本框默认值($PROGRAMFILE$\$TITLE$\)或快捷文件夹文本框默认值($TITLE$),就会引发该错误。他们解决此错误的唯一方法是不更改这些默认文件夹路径并允许用户在安装过程中更改文件夹路径。

这有点烦人,尤其是当您花费数千美元从 Embarcadero 和 Codegear 购买这些软件时。有解决办法吗?有人知道吗?

I hate to ask the same question others have asked in Stackoverflow, but I still can't figure out why Installaware 7.0 R2 has this problem.

I need to build a installable CD for the previous version of my software. So, I am using what came with RAD Studio XE to do this. After creating a new Win32 setup for installation and customizing it, I built and test ran the project. In the middle of the installation, it raised an error, "Error Folder Path 'C:' contains an invalid character." So, I went back and created another win32 project and without doing any changes to anything I compiled, built and test ran the project. It worked without any error. After spending hours changing one thing at a time and testing it over and over again until I hit the error message again, I finally found the offending property in the Installaware. The error is raised thereafter once you change the Target folder textbox default value which is $PROGRAMFILE$\$TITLE$\ or Shortcut folder textbox default value which is $TITLE$. They only way to get passed this error is by not changing those default folder paths and allowing the user to change the folder path during installation.

It sort of annoying especially when you spend thousands of dollar purchasing these software from Embarcadero and Codegear. Is there a fix for this? Does anybody know?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

攀登最高峰 2024-11-26 07:21:28

这些变量会自动解析为完整文件夹路径。如果您删除它们或设置不正确的值,您的软件包将无法解析安装路径(因此出现错误)。因此路径编辑控件应该具有有效的默认值。

如果您不想允许用户更改您的安装路径,您可以尝试删除提供此选项的对话框。我不确定该版本的 InstallAware 是否支持它。

如果您不喜欢 InstallAware,有一些不错的免费或商业替代品可能会对您有所帮助。

These variables are resolved automatically to full folder paths. If you delete them or set an incorrect value, your package will not be able to resolve the installation path (hence the error). So the path edit controls should have valid default values.

If you don't want to allow the user to change your installation path, you can try deleting the dialog which offers this option. I'm not sure if that version of InstallAware supports it though.

If you don't like InstallAware, there are some good free or commercial alternatives which may help you.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文