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:
1 parent
fd1d9d651d
commit
946771c6af
7 files changed
+3
-3
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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"
|
||||
|
||||
|
||||
File renamed without changes.
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user