To get a list of options, run the installer with
-help.Available options:
-install: triggers installation-s,-silent: performs a silent installation without showing the UI-d <directory>e.g.Sumatra-install.exe -install -d "c:\Sumatra PDF"sets the directory where the program is installed. The default is%LOCALAPPDATA%\SumatraPDF, or%PROGRAMFILES%\SumatraPDFwith-all-users-x: don’t install, extract the files extractsSumatraPDF.exeand the files it installs (libsumatrapdf.dll,PdfFilter.dll,PdfPreview.dll,sumatrapdf-tool.exe) into asumatra-filesdirectory under the current directory, or into-d <directory>if specified. With-d .(the executable’s own directory)SumatraPDF.exeis left in place and only the other files are unpacked. Errors are printed to the console if one is already attached.-with-filter: install search filter-with-preview: install the File Explorer preview pane handler for PDF and other supported files. Before 3.7 it also installed thumbnails-uninstall: uninstalls SumatraPDF
Ver 3.2+
-logwrites the installation log to%LOCALAPPDATA%\sumatra-install-log.txt. At the end of the installation, it opens the log file in Notepad.
Ver 3.4+
-all-users: installs system-wide, for all users installs to%PROGRAMFILES%\SumatraPDFand writes to theHKLMregistry
Ver 3.6+
-fast-install: internal for auto-update. Starts installation with default options, and starts the app when installation is finished
Ver 3.7+
-no-desktop-shortcut: don’t create a desktop shortcut (the Install desktop shortcut option). An upgrade keeps the choice of the previous installation-with-thumbnails: install File Explorer thumbnails for PDF and other supported files (the Let Windows show thumbnails option). An upgrade keeps the choice of the previous installation, and a preview or thumbnail handler another app (e.g. SageThumbs) registered in place of SumatraPDF’s