During Installation, where do the Various File Types go on Vista

不想你离开。 提交于 2019-12-04 13:56:33

问题


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


回答1:


The relevant MSDN details for data placement:

http://msdn.microsoft.com/en-us/library/bb762584(VS.85).aspx

and

http://msdn.microsoft.com/en-us/library/bb762494.aspx




回答2:


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


来源:https://stackoverflow.com/questions/427164/during-installation-where-do-the-various-file-types-go-on-vista

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!