Dr. Memory Silent Install (How-To Guide)

Dr. Memory is a memory monitoring tool capable of identifying memory-related programming errors such as accesses of uninitialized memory, accesses to unaddressable memory (including outside of allocated heap units and heap underflow and overflow), accesses to freed memory, double frees, memory leaks, and (on Windows) handle leaks, GDI API usage errors, and accesses to un-reserved thread local storage slots. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Dr. Memory from the command line using the MSI installer.

How to Install Dr. Memory Silently

Dr. Memory Silent Install (MSI)

  1. Navigate to: https://github.com/DynamoRIO/drmemory/releases/latest
  2. Download the DrMemory-Windows-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 DrMemory-Windows-x.y.z.msi ALLUSERS=1 /qn
  6. Press Enter

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

Software Title:Dr. Memory
Vendor:Google
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i DrMemory-Windows-x.y.z.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x DrMemory-Windows-x.y.z.msi /qn
Repair Command:MsiExec.exe /fa DrMemory-Windows-x.y.z.msi /qn
Download Link:Dr. Memory Download
PowerShell Script:Dr. Memory | PowerShell Script
Detection Script:Dr. Memory | 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 Dr. Memory Installation Log File

The Dr. Memory 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.

Dr. Memory Silent Install (MSI) with Logging

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

Change the Dr. Memory Default Installation Directory

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

MsiExec.exe /i DrMemory-Windows-x.y.z.msi ALLUSERS=1 INSTALL_ROOT="C:\Dr. Memory" /qn

How to Uninstall Dr. Memory Silently

Check out the following posts for a scripted solution:

Dr. Memory Install and Uninstall (PowerShell)
Dr. Memory 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:

Dr. Memory Silent Uninstall (MSI)

MsiExec.exe /x DrMemory-Windows-x.y.z.msi /qn

Dr. Memory Silent Uninstall (Legacy EXE) on 32-bit System

"%ProgramFiles%\Dr. Memory\Uninstall.exe" /S

Dr. Memory Silent Uninstall (Legacy EXE) on 64-bit System

"%ProgramFiles(x86)%\Dr. Memory\Uninstall.exe" /S

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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts