GVim

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

GVim is the Windows version of Vim, a text editor.

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

<packages>

 <package id="vim"
        name="gVIM Editor"
        revision="%version%"
        reboot="false"     
        priority="0">

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

	<!-- 	there is a re-packaged Installer here on 
		https://github.com/gpwen/vim-installer-mui2/downloads -->

	<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\vim\vim73\gvim.exe" value="7.3.277.0" />

	<install cmd='"%FREESOFTWARE%\gvim\gvim73_46-int-v0.8.3.exe" /LANG=de /TYPE=FULL /S /D="%PROGRAMFILES%\vim"' />
	<install cmd='"%FREESOFTWARE%\gvim\gvim73_46-int-v0.8.3.exe" /LANG=de /TYPE=FULL /S /D="%PROGRAMFILES%\vim"' />

	<remove cmd='"%PROGRAMFILES%\Vim\vim73\uninstall-gui.exe" /S' />
	<remove cmd='%COMSPEC% /c rd /s /q "%PROGRAMFILES%\vim"' />

 </package>
</packages>

With WiX_Toolset you can create customized MSI package