Time for yet another Swedish quality software to get updated Smile

<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
  <Procedure name="Skype - Any Language - Deploy Or Force Update To Latest" treePres="3">
    <Body description="Description: The procedure will deploy or update any Skype version to current.&#xA;&#xA;Dependencies: None.&#xA;&#xA;Usage: Run at any given time. Note that this procedure will kill any running session of Skype whitout notice.&#xA;&#xA;Script maintainer: ronny [at] upstream.se&#xA;Support: This script is delivered &quot;as is&quot;. No support included. ">
      <Statement description="Get the MSI package from Skype.com." name="GetURL" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
        <Parameter xsi:type="StringParameter" name="URL" value="http://www.skype.com/go/getskype-msi" />
        <Parameter xsi:type="StringParameter" name="ResponseFileName" value="#vAgentConfiguration.agentTempDir#\skype.msi" />
        <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
      </Statement>
      <If description="If Skype is running, kill it.">
        <Condition name="ApplicationRunning">
          <Parameter xsi:type="StringParameter" name="ApplicationName" value="skype.exe" />
        </Condition>
        <Then>
          <Statement description="Kill Skype session." name="CloseApplication" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
            <Parameter xsi:type="StringParameter" name="ApplicationName" value="skype.exe" />
          </Statement>
        </Then>
      </If>
      <Statement description="Execute the Skype installer silently. No browser plugin will be installed." name="ExecuteShellCommand" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
        <Parameter xsi:type="StringParameter" name="Command" value="msiexec /i #vAgentConfiguration.agentTempDir#\skype.msi /norestart /quiet FEATURE_IEPLUGIN=0 FEATURE_FFPLUGIN=0 INSTALLLEVEL=1 ALLUSERS=1" />
        <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
        <Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
      </Statement>
      <Statement description="Pasue the script for 4 minutes. Waiting for the installer to finish." name="PauseScript" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
        <Parameter xsi:type="IntegerParameter" name="Seconds" value="240" />
      </Statement>
      <Statement description="Delete the Skype install package." name="DeleteFile" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
        <Parameter xsi:type="StringParameter" name="Path" value="#vAgentConfiguration.agentTempDir#\skype.msi" />
      </Statement>
      <Statement description="Write procedure log entry." name="WriteScriptLogEntry" continueOnFail="false" osType="NT4|2000|XP|2003|Vista|2008">
        <Parameter xsi:type="StringParameter" name="Comment" value="Skype 4.2 deployed sucessfully." />
      </Statement>
    </Body>
  </Procedure>
</ScriptExport>


Legacy Forum Name: Deploy or update to Skype 4.2,
Legacy Posted By Username: eron



[edited by: Brendan Cosgrove at 12:53 PM (GMT -8) on 12-13-2010] .