Command Code ਨੂੰ ਬਿਨਾਂ ਕਿਸੇ ਸਵਾਲ ਦੇ ਇੰਸਟਾਲ ਕਰਨ, ਦੁਬਾਰਾ ਹਟਾਉਣ ਅਤੇ ਡਿਪਲੌਇਮੈਂਟ ਟੂਲਾਂ ਨਾਲ ਪਛਾਣਨ ਦੀਆਂ ਕਮਾਂਡਾਂ। ਕੋਈ ਕਮਾਂਡ ਤਾਂ ਹੀ ਦਿਖਾਈ ਜਾਂਦੀ ਹੈ ਜੇ ਉਹ ਪੱਕੀ ਹੋਵੇ: ਮੈਨੀਫ਼ੈਸਟ ਤੋਂ, ਜਾਂ ਇੰਸਟਾਲਰ ਤਕਨੀਕ ਦੇ ਦਰਜ ਡਿਫ਼ੌਲਟ ਤੋਂ।
ਸੰਬੰਧਿਤ ਗਾਈਡ: ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ ਸਵਿੱਚ: MSI, NSIS, Inno Setup · ਰਜਿਸਟਰੀ ਜਾਂ PowerShell ਨਾਲ ਪ੍ਰੋਗਰਾਮ ਅਣਇੰਸਟਾਲ ਕਰੋ
winget ਨਾਲ
PowerShell
winget install --id CommandCode.CommandCodeDesktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id CommandCode.CommandCodeDesktop -e --silentwinget uninstall --id CommandCode.CommandCodeDesktop -e --silentਹਰ ਇੰਸਟਾਲਰ ਮੁਤਾਬਕ
64-ਬਿੱਟ · EXE (NSIS) · ਸਿਰਫ਼ ਮੌਜੂਦਾ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
CommandCode-0.1.57-x64-setup.exe /Sਆਪਣਾ ਫ਼ੋਲਡਰ
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- ਇੰਸਟਾਲ ਫ਼ੋਲਡਰ
- %LocalAppData%\Programs\Command Code
64-ਬਿੱਟ · EXE (NSIS) · ਸਾਰੇ ਯੂਜ਼ਰ
ਸਾਈਲੈਂਟ ਇੰਸਟਾਲ
CommandCode-0.1.57-x64-setup.exe /Sਆਪਣਾ ਫ਼ੋਲਡਰ
CommandCode-0.1.57-x64-setup.exe /S /D=C:\Apps\command-code- ਅਣਇੰਸਟਾਲ ਰਜਿਸਟਰੀ ਕੀ
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\b46e7766-e5c9-54ed-a8b3-18e11b17c52b
- ਇੰਸਟਾਲ ਫ਼ੋਲਡਰ
- %ProgramFiles%\Command Code
PowerShell: ਡਾਊਨਲੋਡ, ਜਾਂਚ, ਇੰਸਟਾਲ
ਅਧਿਕਾਰਤ ਫ਼ਾਈਲ ਡਾਊਨਲੋਡ ਕਰਦੀ ਹੈ, ਉਸ ਦਾ SHA256 ਜਾਂਚਦੀ ਹੈ ਅਤੇ ਉਸ ਨੂੰ ਸਾਈਲੈਂਟ ਮੋਡ ਵਿੱਚ ਇੰਸਟਾਲ ਕਰਦੀ ਹੈ।
install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.57-x64-setup.exe'
$sha256 = '6A6C383934F0CF1ABA1C9DBEB0F580BAA2F38EBB1CD3E5810E0712C4BF839B24'
$file = Join-Path $env:TEMP 'CommandCode-0.1.57-x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-command-code.ps1
$url = 'https://github.com/CommandCodeAI/desktop/releases/latest/download/CommandCode-0.1.57-x64-setup.exe'
$sha256 = '6A6C383934F0CF1ABA1C9DBEB0F580BAA2F38EBB1CD3E5810E0712C4BF839B24'
$file = Join-Path $env:TEMP 'CommandCode-0.1.57-x64-setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait