Draw.io Silent Install (How-To Guide)

Draw.io is free diagram software. You can use it as a flowchart maker, network diagram software, to create UML online, as an ER diagram tool, to design database schema, to build BPMN online, as a circuit diagram maker, and more. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Draw.io from the command line using both the EXE & MSI installers.

How to Install Draw.io Silently

Draw.io Silent Install (EXE)

  1. Navigate to https://github.com/jgraph/drawio-desktop/releases
  2. Download the latest Windows Installer to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: draw.io-x.y.z-windows-installer.exe /allusers /S
  6. Press Enter

After a few moments you should see the draw.io Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:draw.io
Vendor:JGraph
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:draw.io-x.y.z-windows-installer.exe /allusers /S
Silent Uninstall Switch:"%ProgramFiles%\draw.io\Uninstall draw.io.exe" /allusers /S
Download Link:https://github.com/jgraph/drawio-desktop/releases
PowerShell Script:https://silentinstallhq.com/draw-io-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-draw-io-powershell/

Draw.io Silent Install (MSI)

  1. Navigate to https://github.com/jgraph/drawio-desktop/releases
  2. Download the draw.io-x.y.z.msi to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: MsiExec.exe /i draw.io-x.y.z.msi ALLUSERS=1 /qn
  6. Press Enter

After a few moments you should see the draw.io Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:draw.io
Vendor:JGraph
Architecture:x86_x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i draw.io-x.y.z.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x draw.io-x.y.z.msi /qn
Repair Command:MsiExec.exe /fa draw.io-x.y.z.msi /qn
Download Link:https://github.com/jgraph/drawio-desktop/releases
PowerShell Script:https://silentinstallhq.com/draw-io-install-and-uninstall-powershell/
Detection Script:https://silentinstallhq.com/create-a-custom-detection-script-for-draw-io-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 Draw.io Installation Log File

The Draw.io MSI 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.

Draw.io Silent Install with Logging (MSI)

MsiExec.exe /i draw.io-x.y.z.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\Draw.io-Install.log"

Change the Draw.io Default Installation Directory

You can change the default installation directory by using the following command line parameters. In this example, I’m installing draw.io to “C:\draw.io”

draw.io-x.y.z-windows-installer.exe /allusers /S /D=C:\draw.io

How to Uninstall Draw.io Silently

Check out the following posts for a scripted solution:

Draw.io Install and Uninstall (PowerShell)
Draw.io Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Draw.io Silent Uninstall (EXE)

"%ProgramFiles%\draw.io\Uninstall draw.io.exe" /allusers /S

Draw.io Silent Uninstall (MSI)

MsiExec.exe /x draw.io-x.y.z.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.