Difference between revisions of "Skype"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Replaced the MSI section with a version 3.8 sample that includes syntax for an installation without desktop icons, plug-ins, and other distractions.)
Line 19: Line 19:
  
  
Also for the so called "Skype for Business" version (packaged as .msi, no unins000.exe inside Skype\Phone).
+
If you prefer to work with MSI files, download the Skype for Business version at http://c.skype.com/download/skype/windows/business/.  The following package should work for Skype 3.8.  Note that I added extra parameters to the installation string to eliminate the installation of everything except the Skype application and Start/Send To shortcuts.
  
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
 +
 
<packages>
 
<packages>
<package
+
 
        id="skype"
+
<package
        name="Skype"
+
id="skype"
        revision="1"
+
name="Skype"
        reboot="false"
+
revision="380"
        priority="10">
+
reboot="false"
        <check type="uninstall" condition="exists" path="Skype 3.0" />
+
priority="0">
        <install cmd='msiexec /qb /i %SOFTWARE%\SkypeSetup.msi' />
+
 
        <upgrade cmd='msiexec /qb /i %SOFTWARE%\SkypeSetup.msi' />
+
<!-- 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. -->
        <remove cmd='%PROGRAMFILES%\Skype\Phone\Skype.exe /shutdown' />
+
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Skype\Phone\Skype.exe" value="3.8" />
        <remove cmd='msiexec /qn /x %SOFTWARE%\SkypeSetup.msi /norestart' />
+
</package>
+
<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>
 +
 
 
</packages>
 
</packages>
 +
 +
 
</source>
 
</source>
  
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 15:26, 18 September 2008

This is a silent installer for the Skype. Download it from www.skype.com.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
 <package
        id="skype"
        name="Skype"
        revision="1"
        reboot="false"
        priority="10">
        <check type="file" condition="exists" path="%PROGRAMFILES%\Skype\Phone\unins000.exe" />
        <install cmd='%SOFTWARE%\SkypeSetup.exe /norestart /silent /sp-' />
        <upgrade cmd='%SOFTWARE%\SkypeSetup.exe /norestart /silent /sp-' />
        <remove cmd='%PROGRAMFILES%\Skype\Phone\unins000.exe /SILENT' />
 </package>
</packages>


If you prefer to work with MSI files, download the Skype for Business version at http://c.skype.com/download/skype/windows/business/. The following package should work for Skype 3.8. Note that I added extra parameters to the installation string to eliminate the installation of everything except the Skype application and Start/Send To shortcuts.

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

<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>

</packages>