Go Programming Language कोणत्याही प्रॉम्प्टशिवाय इन्स्टॉल करणे, पुन्हा काढणे आणि डिप्लॉयमेंट टूलमधून ओळखणे यासाठीच्या कमांड. एखादी कमांड तेव्हाच दाखवली जाते जेव्हा ती निश्चित असते: मॅनिफेस्टमधून, किंवा इन्स्टॉलर तंत्रज्ञानाच्या दस्तऐवजीकृत डिफॉल्टमधून.
संबंधित मार्गदर्शक: सायलेंट इन्स्टॉल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री किंवा PowerShell ने प्रोग्राम अनइन्स्टॉल करा
winget ने
PowerShell
winget install --id GoLang.Go -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GoLang.Go -e --silentwinget uninstall --id GoLang.Go -e --silentइन्स्टॉलरनुसार
64-बिट · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i go1.27.0.windows-amd64.msi /qn /norestartलॉग फाइल लिहा
msiexec /i go1.27.0.windows-amd64.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"अनइन्स्टॉल
msiexec /x {649B7E21-BFFC-4209-925C-5736BBF28E54} /qn /norestart- MSI प्रॉडक्ट कोड
- {649B7E21-BFFC-4209-925C-5736BBF28E54}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{649B7E21-BFFC-4209-925C-5736BBF28E54}
- UpgradeCode
- {22EA7650-4AC6-4001-BF29-F4B8775DB1C0}
- इन्स्टॉल फोल्डर
- %ProgramFiles%\Go
ARM64 · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i go1.27.0.windows-arm64.msi /qn /norestartलॉग फाइल लिहा
msiexec /i go1.27.0.windows-arm64.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"अनइन्स्टॉल
msiexec /x {0472BCA2-7035-46EA-A36F-EA9B6AEECB31} /qn /norestart- MSI प्रॉडक्ट कोड
- {0472BCA2-7035-46EA-A36F-EA9B6AEECB31}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0472BCA2-7035-46EA-A36F-EA9B6AEECB31}
- UpgradeCode
- {21ADE9A3-3FDD-4BA6-BEA6-C85ABADC9488}
- इन्स्टॉल फोल्डर
- %ProgramFiles%\Go
32-बिट · MSI · सर्व युजर
सायलेंट इन्स्टॉल
msiexec /i go1.27.0.windows-386.msi /qn /norestartलॉग फाइल लिहा
msiexec /i go1.27.0.windows-386.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"अनइन्स्टॉल
msiexec /x {228A82DF-FA4F-4C68-AFD9-39B8344F1C30} /qn /norestart- MSI प्रॉडक्ट कोड
- {228A82DF-FA4F-4C68-AFD9-39B8344F1C30}
- अनइन्स्टॉल रजिस्ट्री की
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{228A82DF-FA4F-4C68-AFD9-39B8344F1C30}
- UpgradeCode
- {1C3114EA-08C3-11E1-9095-7FCA4824019B}
- इन्स्टॉल फोल्डर
- %ProgramFiles(x86)%\Go
PowerShell: डाउनलोड, तपासणी, इन्स्टॉल
अधिकृत फाइल डाउनलोड करते, तिचा SHA256 तपासते आणि ती सायलेंट मोडमध्ये इन्स्टॉल करते.
install-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-amd64.msi'
$sha256 = '728E9318C061B95082BCF167BAB8B6C6E0D91A045F89F403B3285FA39F0C455B'
$file = Join-Path $env:TEMP 'go1.27.0.windows-amd64.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 install-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-arm64.msi'
$sha256 = '9259168CDA232152F3EF0C51149E842E93E4F67DF84713B55CA31128518E97E3'
$file = Join-Path $env:TEMP 'go1.27.0.windows-arm64.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 install-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-386.msi'
$sha256 = 'A75FE7151E3D9C8C0D43759C92AE320525B49E238510B8FA082B32C1FADFD369'
$file = Join-Path $env:TEMP 'go1.27.0.windows-386.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