Pandoc is a versatile document conversion tool that allows users to convert files from one markup format to another. Pandoc supports a wide range of input and output formats, making it useful for converting documents between different types of markup languages. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Pandoc from the command line using the MSI installer.
How to Install Pandoc Silently
Pandoc Silent Install (MSI)
- Navigate to: https://github.com/jgm/pandoc/releases/latest
- Download the pandoc-x.y.z-windows-x86_64.msi to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
MsiExec.exe /i pandoc-x.y.z-windows-x86_64.msi ALLUSERS=1 /qn |
After a few moments you will find Pandoc entries in the Installation Directory and Programs and Features in the Control Panel.
Software Title: | Pandoc |
Vendor: | John MacFarlane |
Architecture: | x64 |
Installer Type: | MSI |
Silent Install Switch: | MsiExec.exe /i pandoc-x.y.z-windows-x86_64.msi ALLUSERS=1 /qn |
Silent Uninstall Switch: | MsiExec.exe /x pandoc-x.y.z-windows-x86_64.msi /qn |
Repair Command: | MsiExec.exe /fa pandoc-x.y.z-windows-x86_64.msi /qn |
Download Link: | Pandoc Download |
PowerShell Script: | Pandoc | PowerShell Script |
Detection Script: | Pandoc | Custom Detection Script |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a Pandoc Installation Log File
The Pandoc installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.
Pandoc Silent Install (MSI) with Logging
MsiExec.exe /i pandoc-x.y.z-windows-x86_64.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\Pandoc-Install.log" |
Change the Pandoc Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Pandoc to “C:\Pandoc”
MsiExec.exe /i pandoc-x.y.z-windows-x86_64.msi ALLUSERS=1 APPLICATIONFOLDER="C:\Pandoc" /qn |
How to Uninstall Pandoc Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
Pandoc Silent Uninstall (MSI)
MsiExec.exe /x pandoc-x.y.z-windows-x86_64.msi /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.