<source lang="xml">
<?xml versionpackage id="1.0skype" encoding name="UTF-8Skype" revision="380" reboot="false" priority="0"?>
<packages> <package id="skype" name="Skype" revision="380" reboot="false" priority="0"> <!-- Skype uses the special TM character in its Add/Remove Programs DisplayName, and WPKG does not like that, so I am doing a version check on Skype.exe. --> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Skype\Phone\Skype.exe" value="3.8" />
<install cmd='msiexec.exe /i "%SOFTWARE%\SkypeSetup.msi" INSTALLLEVEL=1 ALLUSERS=1 TRANSFORMS=:RemoveDesktopShortcut.mst;:RemoveStartup.mst /qn' /> <upgrade cmd='msiexec.exe /i "%SOFTWARE%\SkypeSetup.msi" INSTALLLEVEL=1 ALLUSERS=1 TRANSFORMS=:RemoveDesktopShortcut.mst;:RemoveStartup.mst /qn' /> <remove cmd='"%PROGRAMFILES%\Skype\Phone\Skype.exe" /shutdown' /> <remove cmd='msiexec.exe /x{375943E2-B268-4AD7-B7A4-0FD90E9C2AC7} /qn /norestart' /> </package>
<upgrade cmd='msiexec.exe /i "%SOFTWARE%\SkypeSetup.msi" INSTALLLEVEL=1 ALLUSERS=1 TRANSFORMS=:RemoveDesktopShortcut.mst;:RemoveStartup.mst /qn' /packages>
<remove cmd='"%PROGRAMFILES%\Skype\Phone\Skype.exe" /shutdown' />
<remove cmd='msiexec.exe /x{375943E2-B268-4AD7-B7A4-0FD90E9C2AC7} /qn /norestart' />
</package>
</source>