Mark the installer batch files that need administrator rights with -Admin

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-17 15:45:11 +08:00
1 parent fd1d9d651d
commit 946771c6af
7 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ setlocal
title Install Rust toolchain (rustup) title Install Rust toolchain (rustup)
rem rustup installs per user (%USERPROFILE%\.cargo), so run this as the user who will use Rust. 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" set "INSTALLER=%TEMP%\rustup-init.exe"
+1 -1
View File
@@ -3,7 +3,7 @@ setlocal
title Install Qt 6 title Install Qt 6
rem Qt is not available from winget, so this uses the standalone aqtinstall (aqt) to fetch it. 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_VERSION=6.10.3"
set "QT_ARCH=win64_msvc2022_64" set "QT_ARCH=win64_msvc2022_64"
+1 -1
View File
@@ -21,7 +21,7 @@ seed_files=(
"$work_dir/Autounattend.xml" "$work_dir/Autounattend.xml"
"$script_dir/Configure-Windows.ps1" "$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 shopt -s nullglob
seed_files+=("$script_dir"/[0-9][0-9]-*.bat) seed_files+=("$script_dir"/[0-9][0-9]-*.bat)
shopt -u nullglob shopt -u nullglob