MRemoteNG

This is a silent installer for mRemoteNG.

<?xml version="1.0" encoding="UTF-8"?>

<packages:packages xmlns:packages="http://www.wpkg.org/packages"
                   xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.wpkg.org/packages xsd/packages.xsd">

    <package
        id="mremoteng"
        name="mRemoteNG"
        revision="1"
        reboot="false"
        priority="0">
        <variable name="version" value="1.72" />
        <variable name="PKG_DESTINATION" value="%PROGRAMFILES%\mRemoteNG" architecture="x86" />
        <variable name="PKG_DESTINATION" value="%PROGRAMFILES(x86)%\mRemoteNG" architecture="x64" />
        <check type="uninstall" condition="exists" path="mRemoteNG" />
        <install cmd='"%SOFTWARE%\mremoteng\mRemoteNG-Installer-%version%.exe" /S' />
        <upgrade cmd='"%SOFTWARE%\mremoteng\mRemoteNG-Installer-%version%.exe" /S' />
        <remove cmd='"%PKG_DESTINATION%\mRemoteNG\uninstall.exe" /S' />
    </package>

</packages:packages>

This is for the MSI version of the installer:

<?xml version="1.0" encoding="UTF-8"?>

<packages>

	<package
		id="mremoteng"
		name="mRemoteNG"
		revision="%version%"
		priority="20">

		<variable name="version" value="1.75.7012.16814" />
		
		<check type="uninstall" condition="versiongreaterorequal" path="mRemoteNG" value="%version%" />
		
		<install cmd="msiexec.exe /i &quot;%SOFTWARE%\mRemoteNG\mRemoteNG-Installer-%version%.msi&quot; /qn /norestart">
			<exit code="0" />
			<exit code="3010" />
		</install>
 
		<upgrade include="install" />
 
		<remove cmd="msiexec.exe /x &quot;%SOFTWARE%\mRemoteNG\mRemoteNG-Installer-%version%.msi&quot; /qn /norestart">
			<exit code="0" />
			<exit code="1605" />
			<exit code="1614" />
			<exit code="3010" />
		</remove>
		
		<depends package-id="putty" />
		
	</package>

</packages>