AutomatedLabను ఏ ప్రశ్నలూ లేకుండా ఇన్స్టాల్ చేయడానికి, మళ్లీ తీసేయడానికి, డిప్లాయ్మెంట్ టూల్స్తో గుర్తించడానికి కమాండ్లు. ఖచ్చితంగా తెలిసిన కమాండ్ మాత్రమే చూపిస్తాం: మ్యానిఫెస్ట్ నుంచి, లేదా ఇన్స్టాలర్ టెక్నాలజీ డాక్యుమెంట్ చేసిన డిఫాల్ట్ల నుంచి.
సంబంధిత గైడ్: సైలెంట్ ఇన్స్టాల్ స్విచ్లు: MSI, NSIS, Inno Setup · రిజిస్ట్రీ లేదా PowerShellతో ప్రోగ్రామ్ అన్ఇన్స్టాల్
winget ద్వారా
PowerShell
winget install --id AutomatedLab.AutomatedLab -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AutomatedLab.AutomatedLab -e --silentwinget uninstall --id AutomatedLab.AutomatedLab -e --silentఇన్స్టాలర్ వారీగా
64-బిట్ · MSI · యూజర్లందరూ · en-US
సైలెంట్ ఇన్స్టాల్
msiexec /i AutomatedLab.msi /qn /norestartలాగ్ ఫైల్ రాయండి
msiexec /i AutomatedLab.msi /qn /norestart /l*v "%TEMP%\automatedlab-install.log"అన్ఇన్స్టాల్
msiexec /x {838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A} /qn /norestart- MSI ప్రోడక్ట్ కోడ్
- {838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A}
- అన్ఇన్స్టాల్ రిజిస్ట్రీ కీ
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{838CC5A7-D7C9-4438-A18B-D1EEE8F3BB5A}
- UpgradeCode
- {6A52C22C-74F0-4CC3-B723-B73A21DB9149}
- ఇన్స్టాల్ ఫోల్డర్
- %ProgramFiles%\WindowsPowerShell\Modules
- DisplayVersion
- 5.61.18
PowerShell: డౌన్లోడ్, తనిఖీ, ఇన్స్టాల్
అధికారిక ఫైల్ను డౌన్లోడ్ చేసి, దాని SHA256 తనిఖీ చేసి, సైలెంట్గా ఇన్స్టాల్ చేస్తుంది.
install-automatedlab.ps1
$url = 'https://github.com/AutomatedLab/AutomatedLab/releases/download/5.61.0/AutomatedLab.msi'
$sha256 = '60FFB72B56EAFCB2001514DD09C696F90B5F9A9B2A43BA160F3B04F1D15EDB84'
$file = Join-Path $env:TEMP 'AutomatedLab.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait