﻿How to install Device Manager using DMInstaller.msi directly

***** IMPORTANT *****
In some OSes, double-clicking DMInstaller.msi can auto install Device Manager. To avoid a possible elevation issue, ensure the following:
*** Run the following from Command Prompt Console, ensuring you are launching it with "Run as administrator"
*** Use cmd.exe Command Prompt Console, not a PowerShell cmd console.
*** Pre-install .Net Framework 4.8+ on the device or DMInstaller.msi will fail.
*** Generate a MSI log file. The following DM default msi file location is recommended. If it doesn't exist, manually create the folder:
    C:\ProgramData\Barracuda RMM\Device Manager\Setup.

1. How to install DMInstaller.msi using MWSetting.xml file. With this option, it will show either Succeeded or Failed message popup. 
   Make sure MWsetting.xml is under the same folder as DMInstaller.msi
	
   msiexec.exe /i DMInstaller.msi /l* DMInstaller_xml.log


2. How to silently install DMInstaller.msi using MWSetting.xml file. No pop-up. 
   Make sure MWsetting.xml is under the same folder as DMInstaller.msi
	
   msiexec.exe /i /q DMInstaller.msi /l* DMInstaller_xml.log


3. How to install DMInstaller.msi using arguments - two upper-case parameters are required - CUSTOMERGUID and SCMESSAGINGURL

   msiexec.exe /q /i DMInstaller.msi  CUSTOMERGUID=aGuid SCMESSAGINGURL=http://10.35.200.1111/SCMessaging/ScWebServices.asmx /l* DMInstaller_arg.log


4. How to install DMInstaller.msi using transform file. 
   Make sure DMInstall.mst is under the same folder as DMInstaller.msi

   msiexec.exe /i DMInstaller.msi TRANSFORMS="DMInstaller.mst" /l* DMInstaller_mst.log


5. How to uninstall DMInstaller.msi 
  
   msiexec.exe /qb /x {ADE4372F-423D-4E17-88ED-9561CE516A15} /l* DMInstaller_uninstall.log

Where {ADE4372F-423D-4E17-88ED-9561CE516A15} is the Product GUID for the release of Barracuda RMM, which can be found in the DM install registry at HKEY_LOCAL_MACHINE\SOFTWARE\Level Platforms\Managed Workplace\Onsite Manager\Install
