安装过程中,Vista 上的各种文件类型在哪里

发布于 2024-07-11 16:26:35 字数 703 浏览 4 评论 0原文

在 Windows XP 上安装我的软件总是很容易。 所有内容都在“c:\Program Files\myprogram”目录中。 这包括:

  1. 可执行程序本身和任何 dll。
  2. Readme.txt 和 License.txt
  3. 帮助文件(.hlp 或 .chm 或 .pdf)
  4. 不在注册表中的程序设置(.ini 文件)
  5. 程序的示例数据文件
  6. 程序生成的日志文件

(我是否遗漏了什么?)

但我知道其中一些不应进入 Windows Vista 上的“Program Files”目录。 哪些不应该,又应该去哪里?

另外,我应该更改 XP 安装位置以匹配 Vista 吗?


附录:答案中给出了一些非常好的信息François 提出了另一个问题,它让我看到了 Marco Cantu 的精彩帖子:非主题 Windows 应用程序和虚拟商店

Installing my software on Windows XP was always easy. Everything went in the "c:\Program Files\myprogram" directory. This included:

  1. The executable program itself and any dlls.
  2. Readme.txt and License.txt
  3. The help files (.hlp or .chm or .pdf)
  4. Program settings that are not in the registry (.ini files)
  5. Sample data files for the program
  6. Log files that the program produces

(Am I missing anything?)

But I understand that some of these should not go into the "Program Files" directory on Windows Vista. Which ones shouldn't and where should they go instead?

Also, should I change my XP install locations to match Vista?


Addenum: Some really good information was given in an answer by François to another question which pointed me to Marco Cantu's excellent post: Non-Themed Windows Applications and Virtual Store

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

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

发布评论

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

评论(2

薄情伤 2024-07-18 16:26:35

您可以将大部分文件保留在 Program Files 中,只需将需要写入的任何文件移出 Program Files 即可。

  1. 程序文件
  2. 程序文件 程序
  3. 文件,或许多所有用户
  4. 每个用户的 %APPDATA%
  5. 所有用户的应用程序数据文件夹
  6. 每个用户或所有用户临时文件夹

You can keep most of the files in Program Files, you just need to move any files that need to be written to out of Program Files.

  1. Program Files
  2. Program Files
  3. Program Files, or many all users
  4. %APPDATA% for each user
  5. Application Data folder for all users
  6. Per user or all users temp folder
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文