From 946771c6afa69969f8d71de872349a5974a74d98 Mon Sep 17 00:00:00 2001 From: Guofang Date: Sat, 17 Oct 2026 15:45:11 +0800 Subject: [PATCH] Mark the installer batch files that need administrator rights with -Admin Co-Authored-By: Claude Sonnet 5.5 --- .../windows11/{10-Install-Git.bat => 10-Install-Git-Admin.bat} | 0 ...nstall-MSVC2022-BuildTools.bat => 20-Install-MSVC-Admin.bat} | 0 .../{30-Install-CMake.bat => 30-Install-CMake-Admin.bat} | 0 seediso/windows11/40-Install-Rustup.bat | 2 +- .../{50-Install-NSIS.bat => 50-Install-NSIS-Admin.bat} | 0 seediso/windows11/60-Install-Qt6.bat | 2 +- seediso/windows11/build-seed.sh | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename seediso/windows11/{10-Install-Git.bat => 10-Install-Git-Admin.bat} (100%) rename seediso/windows11/{20-Install-MSVC2022-BuildTools.bat => 20-Install-MSVC-Admin.bat} (100%) rename seediso/windows11/{30-Install-CMake.bat => 30-Install-CMake-Admin.bat} (100%) rename seediso/windows11/{50-Install-NSIS.bat => 50-Install-NSIS-Admin.bat} (100%) diff --git a/seediso/windows11/10-Install-Git.bat b/seediso/windows11/10-Install-Git-Admin.bat similarity index 100% rename from seediso/windows11/10-Install-Git.bat rename to seediso/windows11/10-Install-Git-Admin.bat diff --git a/seediso/windows11/20-Install-MSVC2022-BuildTools.bat b/seediso/windows11/20-Install-MSVC-Admin.bat similarity index 100% rename from seediso/windows11/20-Install-MSVC2022-BuildTools.bat rename to seediso/windows11/20-Install-MSVC-Admin.bat diff --git a/seediso/windows11/30-Install-CMake.bat b/seediso/windows11/30-Install-CMake-Admin.bat similarity index 100% rename from seediso/windows11/30-Install-CMake.bat rename to seediso/windows11/30-Install-CMake-Admin.bat diff --git a/seediso/windows11/40-Install-Rustup.bat b/seediso/windows11/40-Install-Rustup.bat index 97aa407..783e15e 100644 --- a/seediso/windows11/40-Install-Rustup.bat +++ b/seediso/windows11/40-Install-Rustup.bat @@ -3,7 +3,7 @@ setlocal title Install Rust toolchain (rustup) rem rustup installs per user (%USERPROFILE%\.cargo), so run this as the user who will use Rust. -rem The default msvc toolchain needs the MSVC Build Tools (see 20-Install-MSVC2022-BuildTools.bat). +rem The default msvc toolchain needs the MSVC Build Tools (see 20-Install-MSVC-Admin.bat). set "INSTALLER=%TEMP%\rustup-init.exe" diff --git a/seediso/windows11/50-Install-NSIS.bat b/seediso/windows11/50-Install-NSIS-Admin.bat similarity index 100% rename from seediso/windows11/50-Install-NSIS.bat rename to seediso/windows11/50-Install-NSIS-Admin.bat diff --git a/seediso/windows11/60-Install-Qt6.bat b/seediso/windows11/60-Install-Qt6.bat index 0789ee8..427b30a 100644 --- a/seediso/windows11/60-Install-Qt6.bat +++ b/seediso/windows11/60-Install-Qt6.bat @@ -3,7 +3,7 @@ setlocal title Install Qt 6 rem Qt is not available from winget, so this uses the standalone aqtinstall (aqt) to fetch it. -rem The msvc2022_64 build needs the MSVC Build Tools (see 20-Install-MSVC2022-BuildTools.bat). +rem The msvc2022_64 build needs the MSVC Build Tools (see 20-Install-MSVC-Admin.bat). set "QT_VERSION=6.10.3" set "QT_ARCH=win64_msvc2022_64" diff --git a/seediso/windows11/build-seed.sh b/seediso/windows11/build-seed.sh index 4f5f4ad..de2cd79 100755 --- a/seediso/windows11/build-seed.sh +++ b/seediso/windows11/build-seed.sh @@ -21,7 +21,7 @@ seed_files=( "$work_dir/Autounattend.xml" "$script_dir/Configure-Windows.ps1" ) -# Numbered installer scripts (10-Install-Git.bat, 20-..., in install order). +# Numbered installer scripts (10-Install-Git-Admin.bat, 20-..., in install order). shopt -s nullglob seed_files+=("$script_dir"/[0-9][0-9]-*.bat) shopt -u nullglob