update: winget 与 Scoop 按软件分别装到 D 盘,安装前先删旧数据
MemRelay-Operation: memory-save:install-location-rule-pref-20261206-r2 MemRelay-Resource: 0757ab84-3e6c-4007-bfbf-877b6306552c
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
---
|
|
||||||
title: winget 与 Scoop 优先装到 D:\\Program Files,不能含空格则用 D:\\SoftwareSpace
|
|
||||||
type: preference
|
|
||||||
permalink: main/global/winget-与-scoop-优先装到-d-program-files-不能含空格则用-d-software-space
|
|
||||||
stable_id: 0757ab84-3e6c-4007-bfbf-877b6306552c
|
|
||||||
scope: global
|
|
||||||
memory_type: preference
|
|
||||||
project_id: null
|
|
||||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
|
||||||
status: active
|
|
||||||
revision: 4
|
|
||||||
request_id: install-location-rule-pref-20261206
|
|
||||||
created_at: '2026-11-21T15:35:08.286203+00:00'
|
|
||||||
updated_at: '2026-12-05T19:40:17.420038+00:00'
|
|
||||||
tags:
|
|
||||||
- windows
|
|
||||||
- install
|
|
||||||
- winget
|
|
||||||
- scoop
|
|
||||||
- qt
|
|
||||||
---
|
|
||||||
|
|
||||||
在这台 Windows 上,用 winget 或 Scoop 安装工具时按下面的顺序选目录,32 位和 64 位都一样:
|
|
||||||
|
|
||||||
1. 优先安装到 D:\\Program Files\\<软件名>。不要装到 C:\\Program Files、C:\\Program Files (x86) 或用户目录,避免占用系统盘。
|
|
||||||
2. 安装程序不能接受路径里的空格时,改到 D:\\SoftwareSpace\\<软件名>。该目录已经存在。
|
|
||||||
3. 只有安装程序完全不能指定目录时,才使用它自己的默认目录。
|
|
||||||
4. Qt 例外:安装器不允许路径含空格,且安装根目录必须是空目录。在线安装器放 D:\\Qt\\installer,Qt 本体和 Maintenance Tool 放 D:\\Qt\\App。卸载 Qt 会删除 D:\\Qt\\App,不会删除 D:\\Qt\\installer。不要把 Qt 放进 D:\\SoftwareSpace 或 D:\\Program Files。
|
|
||||||
|
|
||||||
Scoop 的 SCOOP 目录、winget 的 --location,以及 winget 可移植包的用户/全机根目录,都按上面放到 D 盘。可移植包不要留在默认的 C:\\Program Files\\WinGet\\Packages 或 %LOCALAPPDATA%\\Microsoft\\WinGet\\Packages。
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
title: winget 与 Scoop 按软件分别装到 D 盘,安装前先删旧数据
|
||||||
|
type: preference
|
||||||
|
permalink: main/global/winget-与-scoop-按软件分别装到-d-盘安装前先删旧数据
|
||||||
|
stable_id: 0757ab84-3e6c-4007-bfbf-877b6306552c
|
||||||
|
scope: global
|
||||||
|
memory_type: preference
|
||||||
|
project_id: null
|
||||||
|
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||||
|
status: active
|
||||||
|
revision: 5
|
||||||
|
request_id: install-location-rule-pref-20261206-r2
|
||||||
|
created_at: '2026-11-21T15:35:08.286203+00:00'
|
||||||
|
updated_at: '2026-12-05T19:43:58.783600+00:00'
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
|
- install
|
||||||
|
- winget
|
||||||
|
- scoop
|
||||||
|
---
|
||||||
|
|
||||||
|
这台 Windows 不使用 Qt 做开发,不要安装 Qt,也不要为它准备 D:\\Qt。
|
||||||
|
|
||||||
|
用 winget 或 Scoop 安装工具时,32 位和 64 位都按同一顺序选目录:
|
||||||
|
|
||||||
|
1. 优先安装到 D:\\Program Files\\<软件名>。不要装到 C:\\Program Files、C:\\Program Files (x86) 或用户目录。
|
||||||
|
2. 安装程序不能接受路径里的空格时,改到 D:\\SoftwareSpace\\<软件名>。
|
||||||
|
3. 只有安装程序完全不能指定目录时,才使用它自己的默认目录。
|
||||||
|
4. Scoop 不要用 D:\\Program Files\\scoop、scoop-global 或任何 scoop-xxx 目录把所有工具堆在一起。每个工具单独放到 D:\\Program Files\\<软件名>,不能含空格时放到 D:\\SoftwareSpace\\<软件名>,和 winget 一样。
|
||||||
|
5. winget 和 Scoop 安装前,如果 D 盘已经有该软件的旧安装数据,先删除再安装。
|
||||||
|
|
||||||
|
winget 的 --location 和可移植包根目录也按上面放到 D 盘,不留在 C:\\Program Files\\WinGet\\Packages 或 %LOCALAPPDATA%\\Microsoft\\WinGet\\Packages。
|
||||||
Reference in New Issue
Block a user