Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Procedure Install-Update putty
<?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="Install/Update putty" treePres="3" id="1416324289" folderId="810375256887811" treeFullPath="Maintenance.Application Install / Update / Remove">
<Body description="Actions: Installs program. If it is already installed, update to latest versions. If it is already updated, do nothing.&#xA;This procedure depends on the Package Manager (Chocolatey) so the procedure to install it will be run before attempting to install/update this package.&#xA;&#xA;Reason: Installing common programs and keeping them up to date.&#xA;&#xA;Requirements: Windows XP/2003 or newer&#xA;&#xA;Maintainer: Eric Nemchik">
<Statement name="ExecuteScript" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="ScriptID" value="1653461059" />
<Parameter xsi:type="StringParameter" name="ScriptName" value="Install Package Manager (Chocolatey)" />
<Parameter xsi:type="StringParameter" name="TimeDelay" value="" />
<Parameter xsi:type="EnumParameter" name="TimeUnit" value="Immediate" />
</Statement>
<Statement name="ExecuteShellCommand" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="Command" value="choco install putty -y -f" />
<Parameter xsi:type="EnumParameter" name="ExecuteAccount" value="System" />
<Parameter xsi:type="BooleanParameter" name="Is64Bit" value="False" />
</Statement>
</Body>
</Procedure>
</ScriptExport>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.