Doxygen is a documentation generator and static analysis tool for software source trees. When used as a documentation generator, Doxygen extracts information from specially-formatted comments within the code. When used for analysis, Doxygen uses its parse tree to generate diagrams and charts of the code structure. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Doxygen from the command line using the EXE installer.
How to Install Doxygen Silently
Doxygen Silent Install (EXE)
- Navigate to: https://doxygen.nl/download.html
- Download the doxygen-x.y.z-setup.exe 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: doxygen-x.y.z-setup.exe /VERYSILENT /NORESTART
- Press Enter
After a few moments you will find Doxygen entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Doxygen |
Vendor: | Dimitri van Heesch |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | doxygen-x.y.z-setup.exe /VERYSILENT /NORESTART |
Silent Uninstall Switch: | "%ProgramFiles%\doxygen\system\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://doxygen.nl/download.html |
PowerShell Script: | https://silentinstallhq.com/doxygen-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-doxygen-powershell/ |
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 Doxygen Installation Log File
The Doxygen installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
Doxygen Silent Install (EXE) with Logging
doxygen-x.y.z-setup.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Doxygen-Install.log" |
Change the Doxygen Default Installation Directory
You can also change the default installation directory by using the following command line parameters. In this example, I’m installing Doxygen to “C:\Doxygen”
doxygen-x.y.z-setup.exe /DIR="C:\Doxygen" /VERYSILENT /NORESTART |
How to Uninstall Doxygen 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:
Doxygen Silent Uninstall (EXE)
"%ProgramFiles%\doxygen\system\unins000.exe" /VERYSILENT /NORESTART |
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.