﻿<?xml version="1.0" encoding="UTF-8"?>
<?pcdDescriptor version="0200" ?>
<Package id="79cn18ww" name="CONWIZ" version="4.11a" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PCDSchema2_29.xsd">
	<Title default="EN">
		<Desc id="EN">ThinkVantage Access Connections Version 4.11a</Desc>
	</Title>
	<Severity type="3"/>
	<Vendor>Lenovo Group Limited</Vendor>
	<ExtractCommand>79cn18ww.exe -s -f%PACKAGEPATH%</ExtractCommand>
	<ReleaseDate>2006-02-06</ReleaseDate>
	<DiskSpaceNeeded>25000000</DiskSpaceNeeded>
	<Reboot type="3"/>
	<Preload/>
	<Install rc="0" type="cmd" default="EN">
		<Cmdline id="EN" context="user">%PACKAGEPATH%\setup.exe -S -SMS -f2x -keepginasetting</Cmdline>
	</Install>
	<Uninstall rc="0" type="arp">
		<Command>{7EB114D8-207F-45AE-BABD-1669715F2630}</Command>
	</Uninstall>
	<DetectInstall>
		<And>
			<_AddRemovePrograms>
				<Id>{7EB114D8-207F-45AE-BABD-1669715F2630}</Id>
			</_AddRemovePrograms>
			<Or>
				<!-- We want 4.11a to show up, only if 4.11a, 4.11b, etc... are not installed-->
				<_RegistryKeyValue type="REG_SZ">
					<Key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EB114D8-207F-45AE-BABD-1669715F2630}</Key>
					<KeyName>DisplayVersion</KeyName>
					<Level>4.11*</Level>
				</_RegistryKeyValue>
				<!-- The version cannot be higher than 4.11 (this also covers things like 4.12a and 4.13b etc...) -->
				<_RegistryKeyValue type="REG_SZ">
					<Key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EB114D8-207F-45AE-BABD-1669715F2630}</Key>
					<KeyName>DisplayVersion</KeyName>
					<Version>4.11^</Version>
				</_RegistryKeyValue>
			</Or>
			<!-- Lastly, if 4.11 is installed, we do want to install 4.11a! -->
			<Not>
				<_RegistryKeyValue type="REG_SZ">
					<Key>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7EB114D8-207F-45AE-BABD-1669715F2630}</Key>
					<KeyName>DisplayVersion</KeyName>
					<Level>4.11</Level>
				</_RegistryKeyValue>		
			</Not>	
		</And>
	</DetectInstall>
        <Dependencies>
                <And>
				<_OS>
					<OS>2K.*</OS>
                         	<OS>XP.*</OS>                           
                    	</_OS>
                    	<_RegistryKey>
					<Key>HKEY_LOCAL_MACHINE\SOFTWARE\IBM\TPHOTKEY\MGR</Key>
				</_RegistryKey>
				<_AddRemovePrograms>
					<Id>Power Management Driver</Id>
				</_AddRemovePrograms>
			 <Or>
				<!-- only for the following MTMs -->
				<_SupportedSystems>
					<System>0761</System>
					<System>0689</System>
					<System>0768</System>
				</_SupportedSystems>
			</Or>
                </And> 
        </Dependencies>    
	<Files>
		<Installer>
			<File>
				<Name>79cn18ww.exe</Name>
				<CRC>b6c792fae422e4a490b6d867140b720bbeaa6206</CRC>
				<Size>10745952</Size>
			</File>
		</Installer>
		<Readme default="EN">
			<File id="EN">
				<Name>79cn18ww.txt</Name>
				<CRC>3894bd6533bc381446f4491bf8fdaced298734a4</CRC>
				<Size>46818</Size>
			</File>
			<File id="JP">
				<Name>79cn18wj.txt</Name>
				<CRC>98d3e43663f1a6fb501492bdafa2a3426e238c30</CRC>
				<Size>53213</Size>
			</File>
		</Readme>
	</Files>
</Package>