Vagrant

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and uninstaller for Vagrant from HashiCorp

Downloading the Software

http://www.vagrantup.com/downloads.html

Vagrant 1.7.2

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

<packages>
<package id='vagrant' name='vagrant' revision='%version%' reboot='false' priority='10'>

	<variable name="version" value="1.7.2" />

	<check type='uninstall' condition='versiongreaterorequal' path='Vagrant' value='%version%'/>
 
	<install cmd='msiexec /i "%SOFTWARE%\vagrant\vagrant_%version%.msi" VAGRANTAPPDIR=C:\HashiCorp\Vagrant /passive /norestart' timeout='300'>
		<exit code='0' />
		<exit code='3010' reboot='none' />
	</install>
 
 	<upgrade include="install" />
	
 
	<remove cmd='msiexec /X{40ADEFDD-ABAC-4AAE-A868-387F666C0B17} /passive /norestart' timeout='300'>
		<exit code='0' />
                <exit code='1605' />
		<exit code='3010' reboot='none' />
	</remove>
	</package>
</packages>