คำสั่งสำหรับติดตั้ง Google Ads Editor โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Google.AdsEditor -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Google.AdsEditor -e --silentwinget uninstall --id Google.AdsEditor -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
msiexec /i google_ads_editor.msi /qn /norestartบันทึกไฟล์ log
msiexec /i google_ads_editor.msi /qn /norestart /l*v "%TEMP%\google-ads-editor-install.log"ถอนการติดตั้ง
msiexec /x {DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554}
- UpgradeCode
- {2C881436-87C2-4224-B264-38277EB91B37}
- โฟลเดอร์ที่ติดตั้ง
- %LocalAppData%\Google\Google Ads Editor\14.10.3.0
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i google_ads_editor.msi /qn /norestartบันทึกไฟล์ log
msiexec /i google_ads_editor.msi /qn /norestart /l*v "%TEMP%\google-ads-editor-install.log"ถอนการติดตั้ง
msiexec /x {DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DE8D7E09-DCAD-11F1-95C1-ADDBFDD42554}
- UpgradeCode
- {2C881436-87C2-4224-B264-38277EB91B37}
- โฟลเดอร์ที่ติดตั้ง
- %LocalAppData%\Google\Google Ads Editor\14.10.3.0
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-google-ads-editor.ps1
$url = 'https://dl.google.com/release2/misc/acdzgkls5qvdc5i7z5req4lcuyea_14.14.2.0/google_ads_editor.msi'
$sha256 = 'DEEDEF3C5434C51123B7B0086DC0DA11324956CD44CC7C9FF3B5DA00B5400C09'
$file = Join-Path $env:TEMP 'google_ads_editor.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-google-ads-editor.ps1
$url = 'https://dl.google.com/release2/misc/acdzgkls5qvdc5i7z5req4lcuyea_14.14.2.0/google_ads_editor.msi'
$sha256 = 'DEEDEF3C5434C51123B7B0086DC0DA11324956CD44CC7C9FF3B5DA00B5400C09'
$file = Join-Path $env:TEMP 'google_ads_editor.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