Kaseya Community

iTunes 9.0.3 Download and Silent Install (Windows)

  • I've had a bucketload of requests lately for iTunes so I decided to script it to save some serious time Smile I must say that I am liking the K2 scripting more and more each day 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="iTunes 9.0.3 Silent Download &amp; Install (Windows)" treePres="3">
        <Body description="">
          <Statement description="" name="GetVariable" continueOnFail="false">
            <Parameter xsi:type="EnumParameter" name="VariableType" value="AgentTempDirectory" />
            <Parameter xsi:type="StringParameter" name="SourceContent" value="" />
            <Parameter xsi:type="StringParameter" name="VariableName" value="TEMP" />
          </Statement>
          <Statement description="" name="GetURL" continueOnFail="false" osType="Windows">
            <Parameter xsi:type="StringParameter" name="URL" value="http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iTunes9/061-7753.20100201.Jcv4r/iTunesSetup.exe" />
            <Parameter xsi:type="StringParameter" name="ResponseFileName" value="#TEMP#\iTunesSetup.exe" />
            <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
          </Statement>
          <Statement description="" name="ExecuteFile" continueOnFail="false" osType="Windows">
            <Parameter xsi:type="StringParameter" name="Path" value="#TEMP#\iTunesSetup.exe" />
            <Parameter xsi:type="StringParameter" name="Arguments" value="/qb /norestart" />
            <Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
            <Parameter xsi:type="BooleanParameter" name="WaitComplete" value="True" />
          </Statement>
          <Statement description="" name="WriteScriptLogEntry" continueOnFail="false">
            <Parameter xsi:type="StringParameter" name="Comment" value="iTunes 9.0.3 Installed Successfully" />
          </Statement>
        </Body>
      </Procedure>
    </ScriptExport>
    
    Cheers, Greg

    Legacy Forum Name: iTunes 9.0.3 Download and Silent Install (Windows),
    Legacy Posted By Username: glipschitz



    [edited by: Brendan Cosgrove at 5:26 PM (GMT -8) on 12-17-2010] .
  • What about just quicktime?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: LSUMarkb
  • I am getting an error popup at the end of the install relating to Itunes Help Application. Anyone else seeing this issue?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: sbbssoft