Changes
Vim
,no edit summary
Vim is an improved version of the vi editor written by Bram Moolenaar. The web site is [http://www.vim.org www.vim.org]
The Windows installer from vim.org doesn't have a silent install mode; however, the installer put together by Steve Hall does. It is available at [http://sourceforge.net/project/showfiles.php?group_id=43866 Sourceforge]. Vim installers from 7.0.146 onwards should work correctly for silent installs.
== package.xml ==
<pre>
<package id="gvim" name="gvim 7.0.146" revision="2" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="Vim 7.0.146 (self-installing)" />
<install cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<upgrade cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\remove.bat' />
<upgrade cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<remove cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\remove.bat' />
</package>
</pre>
== remove.bat ==
<pre>
@echo off
if exist "C:\Program Files\vim\vim70\uninstall.exe" cmd.exe /c start "Vim" /wait /d %WINDIR% "C:\program files\vim\vim70\uninstall.exe" /S
exit 0
</pre>
[[Category:Silent Installer]]
The Windows installer from vim.org doesn't have a silent install mode; however, the installer put together by Steve Hall does. It is available at [http://sourceforge.net/project/showfiles.php?group_id=43866 Sourceforge]. Vim installers from 7.0.146 onwards should work correctly for silent installs.
== package.xml ==
<pre>
<package id="gvim" name="gvim 7.0.146" revision="2" reboot="false" priority="0">
<check type="uninstall" condition="exists" path="Vim 7.0.146 (self-installing)" />
<install cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<upgrade cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\remove.bat' />
<upgrade cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<remove cmd='cmd.exe /c start /wait /d %WINDIR% %SOFTWARE%\vim\remove.bat' />
</package>
</pre>
== remove.bat ==
<pre>
@echo off
if exist "C:\Program Files\vim\vim70\uninstall.exe" cmd.exe /c start "Vim" /wait /d %WINDIR% "C:\program files\vim\vim70\uninstall.exe" /S
exit 0
</pre>
[[Category:Silent Installer]]