XML Notepad Silent Install (How-To Guide)


XML Notepad is an open-source XML editor that features incremental search in both tree and text views, drag/drop support, IntelliSense, find/replace with regular expressions and XPath expressions, and support for XInclude. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of XML Notepad from the command line using the MSI installer.

How to Install XML Notepad Silently

XML Notepad Silent Install (MSI)

  1. Navigate to: https://microsoft.github.io/XmlNotepad/#install/
  2. Select Standalone Installer
  3. Extract the XmlNotepadSetup.zip file using 7-Zip to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i XmlNotepadSetup.msi /qn
  7. Press Enter

After a few moments you should see the XML Notepad shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:XML Notepad
Vendor:Lovett Software
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i XmlNotepadSetup.msi /qn
Silent Uninstall Switch:MsiExec.exe /x XmlNotepadSetup.msi /qn
Repair Command:MsiExec.exe /fa XmlNotepadSetup.msi /qn
Download Link:https://microsoft.github.io/XmlNotepad/#install/
PowerShell Script:https://silentinstallhq.com/xml-notepad-install-and-uninstall-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 an Installation Log File

The XML Notepad 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 command to create a verbose log file with details about the installation.

Windows search text in files and fo...
Windows search text in files and folders with Notepad++
XML Notepad Silent Install (MSI) with Logging

MsiExec.exe /i XmlNotepadSetup.msi /qn /L*v "%WINDIR%\Temp\XMLNotepad-Install.log"

Disable XML Notepad Auto-Update

  1. Install XML Notepad and open the application
  2. Navigate to the View tab and Select Options…
  3. Under Updates, Change Enable Updates from True to False
  4. Click OK and Exit out of the XML Notepad application
  5. Navigate to the current user profile “C:\Users\%Username%\AppData\Local\Microsoft\Xml Notepad”
  6. Copy the XmlNotepad.settings file to the C:\Downloads directory with the XML Notepad MSI
  7. Uninstall XML Notepad and delete the “C:\Users\%Username%\AppData\Local\Microsoft\Xml Notepad” directory
  8. Follow the “How to Install XML Notepad Silently” steps mentioned earlier in the article and then copy the XmlNotepad.settings file to the “%LocalAppData%\Microsoft\Xml Notepad” directory

Now when you launch XML Notepad for the first time, you can confirm that the Enable Updates setting is set to False under View-> Options-> Updates-> Enable Updates -> False


Disable XML Notepad Analytics

  1. Install XML Notepad and open the application
  2. Navigate to the View tab and Select Options…
  3. Under Analytics, Change Allow Analytics from True to False
  4. Click OK and Exit out of the XML Notepad application
  5. Navigate to the current user profile “C:\Users\%Username%\AppData\Local\Microsoft\Xml Notepad”
  6. Copy the XmlNotepad.settings file to the C:\Downloads directory with the XML Notepad MSI
  7. Uninstall XML Notepad and delete the “C:\Users\%Username%\AppData\Local\Microsoft\Xml Notepad” directory
  8. Follow the “How to Install XML Notepad Silently” steps mentioned earlier in the article and then copy the XmlNotepad.settings file to the “%LocalAppData%\Microsoft\Xml Notepad” directory

Now when you launch XML Notepad for the first time, you can confirm that the Allow Analytics setting is set to False under View-> Options-> Analytics-> Allow Analytics -> False


How to Uninstall XML Notepad Silently

Check out the XML Notepad Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

XML Notepad Silent Uninstall (MSI)

MsiExec.exe /x XmlNotepadSetup.msi /qn

XML Notepad Silent Uninstall (MSI) with Logging

MsiExec.exe /x XmlNotepadSetup.msi /qn /L*v "%WINDIR%\Temp\XMLNotepad-Uninstall.log"

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.

Recent Posts