Update RustDesk URL and strip MSI switches to silent-only
Both eStudio install scripts now point at the new files.scoutitsystems.com hosted MSI and pass only /i and /qn to msiexec. Removed /norestart, verbose logging, and the CREATEDESKTOPSHORTCUTS/INSTALLPRINTER properties so the MSI runs with its own defaults. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
fca02b2435
commit
401fc5ef66
@@ -16,7 +16,7 @@ $apilink = $downloadlink.split('/')
|
||||
|
||||
# ── RustDesk / ScoutIT Remote Support config ──────────────────────────────────
|
||||
$rustdeskMsi = 'estudio-scoutit-remotesupport.msi'
|
||||
$rustdeskDl = 'https://scoutit.help/estudio-rust'
|
||||
$rustdeskDl = 'https://files.scoutitsystems.com/public/api/raw?file=%2F&hash=VOG5D5aP2ih-2KAaDT0h4Q'
|
||||
$rustdeskInstallDir = 'C:\Program Files\ScoutIT-RemoteSupport'
|
||||
$rustdeskService = 'ScoutIT-RemoteSupport'
|
||||
|
||||
@@ -50,11 +50,10 @@ function Install-RustDesk {
|
||||
Write-Host "File verified as valid MSI."
|
||||
|
||||
# Silent MSI install
|
||||
$msiLog = "$env:SystemRoot\Temp\estudio-scoutit-remotesupport-install.log"
|
||||
Write-Host "Installing ScoutIT Remote Support client silently (log: $msiLog)..."
|
||||
Write-Host "Installing ScoutIT Remote Support client silently..."
|
||||
Try {
|
||||
Start-Process -FilePath "msiexec.exe" `
|
||||
-ArgumentList "/i `"$msiPath`" /qn /norestart /l*v `"$msiLog`" CREATEDESKTOPSHORTCUTS=`"N`" INSTALLPRINTER=`"N`"" `
|
||||
-ArgumentList "/i `"$msiPath`" /qn" `
|
||||
-Wait
|
||||
Start-Sleep -Seconds 10
|
||||
}
|
||||
@@ -108,7 +107,7 @@ function Install-RustDesk {
|
||||
Get-ChildItem 'C:\Program Files', 'C:\Program Files (x86)' -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.LastWriteTime -gt (Get-Date).AddMinutes(-5) } |
|
||||
ForEach-Object { Write-Host " $($_.FullName)" }
|
||||
Write-Warning "Could not locate RustDesk exe. Skipping service and ID steps. Check MSI log: $msiLog"
|
||||
Write-Warning "Could not locate RustDesk exe. Skipping service and ID steps."
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user