คำสั่งสำหรับติดตั้ง Emdash โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id GeneralAction.Emdash -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GeneralAction.Emdash -e --silentwinget uninstall --id GeneralAction.Emdash -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
emdash-x64.exe /Sกำหนดโฟลเดอร์เอง
emdash-x64.exe /S /D=C:\Apps\emdash- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- โฟลเดอร์ที่ติดตั้ง
- %LocalAppData%\Programs\Emdash
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
emdash-x64.exe /Sกำหนดโฟลเดอร์เอง
emdash-x64.exe /S /D=C:\Apps\emdash- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\08411f99-9cb4-5850-8e23-4ddce9cac7dd
- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%\Emdash
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i emdash-x64.msi /qn /norestartบันทึกไฟล์ log
msiexec /i emdash-x64.msi /qn /norestart /l*v "%TEMP%\emdash-install.log"ถอนการติดตั้ง
msiexec /x {8CB32585-5230-4F3E-963D-9657B4DD9794} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {8CB32585-5230-4F3E-963D-9657B4DD9794}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8CB32585-5230-4F3E-963D-9657B4DD9794}
- UpgradeCode
- {451DC545-2793-59BD-9D0E-EE5BF5D4CA4C}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.exe'
$sha256 = '7A772E11F4C5F68BC2D661C264BF93EEF427DD2CFCE5042FC572720549F35F03'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.exe'
$sha256 = '7A772E11F4C5F68BC2D661C264BF93EEF427DD2CFCE5042FC572720549F35F03'
$file = Join-Path $env:TEMP 'emdash-x64.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-emdash.ps1
$url = 'https://github.com/generalaction/emdash/releases/download/v1.2.10/emdash-x64.msi'
$sha256 = '226D454352C21EFE8D1538243F4165C6CCACA88B8BAA8C1149D5860018BC495C'
$file = Join-Path $env:TEMP 'emdash-x64.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