<?xml version="1.0"?>
<!-- CM2 Installer Instructions - Written by X. Blackstar (September 24th, 2019) -->
<!-- This file is case sensitive -->
<CM2Installer version="2">
	<UnInstallInfo>
		<!-- Will be placed directly in the uninstall section of the registry -->
		<UninstallString>[ELEMENTID_CMU]</UninstallString>
		<HelpLink>http://coolmon.blackstar.solar/help_introduction.php</HelpLink>
		<URLInfoAbout>http://coolmon.blackstar.solar/</URLInfoAbout>
		<Contact>https://www.facebook.com/TheCoolMonProject/</Contact>
		<DisplayVersion>Gamma</DisplayVersion>
		<DisplayName>CoolMon 2</DisplayName>
		<DisplayIcon>[ELEMENTID_CORE]</DisplayIcon>
		<Publisher>The CoolMon Project</Publisher>
	</UnInstallInfo>
	<LinkInfo>
		<!-- These are the link files the installation will create  -->
		<Link>
			<!-- CMU  -->
			<Title>CoolMon 2 -- Management Utility</Title>
			<Icon>[ELEMENTID_CMU]</Icon>
			<IconIndex>0</IconIndex>
			<CreateIn>[PROGRAMS]\CoolMon 2</CreateIn>
			<LinkTo>[ELEMENTID_CMU]</LinkTo>
			<Parameters/>
		</Link>
		<Link>
			<!-- Core  -->
			<Parameters>"[ELEMENTID_STANDARDCML]"</Parameters>
			<LinkTo>[ELEMENTID_CORE]</LinkTo>
			<CreateIn>[PROGRAMS]\CoolMon 2</CreateIn>
			<IconIndex>0</IconIndex>
			<Icon>[ELEMENTID_CORE]</Icon>
			<Title>CoolMon 2</Title>
		</Link>
		<Link>
			<!-- Outlawed  -->
			<Parameters></Parameters>
			<LinkTo>[ELEMENTID_OUTLAWED]</LinkTo>
			<CreateIn>[PROGRAMS]\CoolMon 2</CreateIn>
			<IconIndex>0</IconIndex>
			<Icon>[ELEMENTID_OUTLAWED]</Icon>
			<Title>OutlawEd (Editor)</Title>
		</Link>
		<Link>
			<!-- Plugin Manager -->
			<Parameters></Parameters>
			<LinkTo>[ELEMENTID_PMSTANDALONE]</LinkTo>
			<CreateIn>[PROGRAMS]\CoolMon 2</CreateIn>
			<IconIndex>0</IconIndex>
			<Icon>[ELEMENTID_PMSTANDALONE]</Icon>
			<Title>PlugIn Manager</Title>
		</Link>
	</LinkInfo>
	<GroupInfo>
		<ProgramElement>
			<iconfilename>gears.ico</iconfilename>
			<ListIndex>0</ListIndex>
			<Description>Applications that is part of the CoolMon 2 system.</Description>
			<Screenname>CoolMon 2 executables</Screenname>
		</ProgramElement>
		<VisualPlugin>
			<iconfilename>visual.ico</iconfilename>
			<ListIndex>2</ListIndex>
			<Screenname>Visual Plugins</Screenname>
			<Description>Plugins used to draw CoolMon 2 output onto screen.</Description>
		</VisualPlugin>
		<GeneralPlugin>
			<iconfilename>general.ico</iconfilename>
			<ListIndex>1</ListIndex>
			<Description>Plugins used to poll data onto your CoolMon 2.</Description>
			<Screenname>General Plugins</Screenname>
		</GeneralPlugin>
		<MiscElement>
			<iconfilename>misc.ico</iconfilename>
			<ListIndex>3</ListIndex>
			<Description>Various items</Description>
			<Screenname>Other</Screenname>
		</MiscElement>
	</GroupInfo>
	<MiscElement ELEMENTID="STANDARDCML">
		<Description>CoolMon 2's default config - Will only work if it's required plugins are install with the installer</Description>
		<Filename>initconfig.cml</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>standard.rar</Local>
		<Name>Standard config</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/download/cm2/components/standard.rar</URL>
	</MiscElement>
	<GeneralPlugin ELEMENTID="CPUInfo">
		<Description>Plugin that will provide some information about your CPU</Description>
		<Filename>CM2Gen_CPUinfo.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\General</InstallTo>
		<Local>CM2Gen_CPUinfo.rar</Local>
		<Name>CPUInfo</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/general/CM2Gen_CPUInfo.upd</URL>
	</GeneralPlugin>
	<GeneralPlugin ELEMENTID="Disksize">
		<Description>Plugin that will provide some information about your drives</Description>
		<Filename>CM2GEN_DiskSize.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\General</InstallTo>
		<Local>CM2Gen_Disksize.rar</Local>
		<Name>Disksize</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/general/CM2Gen_DiskSize.upd</URL>
	</GeneralPlugin>
	<GeneralPlugin ELEMENTID="SYSTEMINFORMATION">
		<Description>Plugin that will enable you to display various system information</Description>
		<Filename>CM2GEN_jSystemInfo.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\General</InstallTo>
		<Local>CM2Gen_jSystemInfo.rar</Local>
		<Name>System Information</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/general/CM2Gen_jSystemInfo.upd</URL>
	</GeneralPlugin>
	<GeneralPlugin ELEMENTID="SYSTEMMEMORY">
		<Description>Plugin that will enable you to display information about your system memory</Description>
		<Filename>CM2Gen_SystemMemory.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\General</InstallTo>
		<Local>CM2Gen_SystemMemory.rar</Local>
		<Name>System Memory</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/general/CM2Gen_SystemMemory.upd</URL>
	</GeneralPlugin>
	<VisualPlugin ELEMENTID="GRAPH">
		<Description>Plugin that will allow you to display graphs</Description>
		<Filename>CM2Vis_Graph.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\Visual</InstallTo>
		<Local>CM2Vis_Graph.rar</Local>
		<Name>Graph</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/visual/CM2Vis_Graph.upd</URL>
	</VisualPlugin>
	<VisualPlugin ELEMENTID="BAR">
		<Description>Plugin that will allow you to display bars</Description>
		<Filename>CM2Vis_Bar.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\Visual</InstallTo>
		<Local>CM2Vis_Bar.rar</Local>
		<Name>Bar</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/visual/CM2Vis_Bar.upd</URL>
	</VisualPlugin>
	<VisualPlugin ELEMENTID="VFText">
		<Description>Plugin that will allow you to display text</Description>
		<Filename>Vis_VFText.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\Visual</InstallTo>
		<Local>CM2Vis_VFText.rar</Local>
		<Name>VFText</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/visual/CM2Vis_VFText.upd</URL>
	</VisualPlugin>
	<VisualPlugin ELEMENTID="LineGraph">
		<Description>Plugin that will allow you to display Advanced Graphs</Description>
		<Filename>CM2VIS_LineGraph.dll</Filename>
		<InstallTo>[INSTALLDIR]\Plugins\Visual</InstallTo>
		<Local>CM2Vis_LineGraph.rar</Local>
		<Name>Line Graph</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/plugins/visual/CM2Vis_LineGraph.upd</URL>
	</VisualPlugin>
	<ProgramElement ELEMENTID="CORE">
		<Description>The Main executeable for CoolMon 2</Description>
		<DesktopIcon>No</DesktopIcon>
		<Filename>Coolmon2.exe</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>core.rar</Local>
		<Name>CoolMon 2 Core</Name>
		<Required>yes</Required>
		<URL>http://coolmon.blackstar.solar/update/core.upd</URL>
	</ProgramElement>
	<ProgramElement ELEMENTID="CMU">
		<Description>Component to keep CoolMon 2 up-to-date and uninstall CoolMon 2.</Description>
		<DesktopIcon>no</DesktopIcon>
		<Filename>Setup.exe</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>autoupdate.rar</Local>
		<Name>CoolMon 2 :: Management Utillity</Name>
		<Required>yes</Required>
		<URL>http://coolmon.blackstar.solar/update/autoupdate.upd</URL>
	</ProgramElement>
	<ProgramElement ELEMENTID="CMUUPD">
		<Description>Add on to allow CMU to update itself.</Description>
		<DesktopIcon>no</DesktopIcon>
		<Filename>cmuupd.exe</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>cmuupd.rar</Local>
		<Name>CMU :: Update Add-on</Name>
		<Required>yes</Required>
		<URL>http://coolmon.blackstar.solar/update/cmuupd.upd</URL>
	</ProgramElement>
	<ProgramElement ELEMENTID="OUTLAWED">
		<Description>Wysiwyg editor for creating and modifying CML files</Description>
		<DesktopIcon>No</DesktopIcon>
		<Filename>outlawed.exe</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>outlawed.rar</Local>
		<Name>Outlaw Ed :: Wysiwyg CML Editor</Name>
		<Required>yes</Required>
		<URL>http://coolmon.blackstar.solar/update/outlawed.upd</URL>
	</ProgramElement>
	<ProgramElement ELEMENTID="PMSTANDALONE">
		<Description>Tool to manage CoolMon 2 plugins</Description>
		<DesktopIcon>No</DesktopIcon>
		<Filename>pm.exe</Filename>
		<InstallTo>[INSTALLDIR]</InstallTo>
		<Local>pm.rar</Local>
		<Name>PlugIn Manager</Name>
		<Required>no</Required>
		<URL>http://coolmon.blackstar.solar/update/pm.upd</URL>
	</ProgramElement>
	<Registry>
		<!-- Registry Information must be placed last because it may link to ELEMENTID's and it's parsed before everything else -->
		<!-- File registering -->
		<!-- For correct clean up place in reverse order -->
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\Shell\Run\command">
			<item name="(default)" value="'[ELEMENTID_CORE]' '%1'"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\Shell\Run">
			<item name="(default)" value="Run"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\Shell\edit\command">
			<item name="(default)" value="'[ELEMENTID_OUTLAWED]' '%1'"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\Shell\edit">
			<item name="(default)" value="edit"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\Shell">
			<item name="(default)" value="Run"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file\DefaultIcon">
			<item name="(default)" value="[ELEMENTID_OUTLAWED],0"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\cml_auto_file">
			<item name="(default)" value="CoolMon Markup Language"/>
		</key>
		<key root="HKEY_CLASSES_ROOT" path="\.cml">
			<item name="(default)" value="cml_auto_file"/>
		</key>
		
		<!-- Program paths -->
		<Key root="HKEY_CURRENT_USER" path="\Software\The Coolmon Project\CMU">
			<item name="(default)" value="[ELEMENTID_CMU]"/>
		</Key>
		<Key root="HKEY_CURRENT_USER" path="\Software\The Coolmon Project\CoolMon2">
			<item name="(default)" value="[ELEMENTID_CORE]"/>
		</Key>
		<Key root="HKEY_CURRENT_USER" path="\Software\The Coolmon Project\CoolMon2\Editor">
			<item name="(default)" value="[ELEMENTID_OUTLAWED]"/>
		</Key>
		<Key root="HKEY_CURRENT_USER" path="\Software\The Coolmon Project\PlugIn Management">
			<item name="(default)" value="[ELEMENTID_PMSTANDALONE]"/>
		</Key>
	</Registry>
</CM2Installer>
