Difference between revisions of "Vim"
From WPKG | Open Source Software Deployment and Distribution
m |
|||
Line 1: | Line 1: | ||
− | Vim is an improved version of the vi editor written by Bram Moolenaar. The web site is [http://www.vim.org www.vim.org] | + | 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. | + | 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]. Steve's Vim installers from 7.0.146 onwards work correctly for silent installs; however, silent uninstalls still do not work correctly. |
== package.xml == | == package.xml == | ||
− | < | + | <source lang="xml"> |
<package id="gvim" name="gvim 7.0.146" revision="2" reboot="false" priority="0"> | <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)" /> | <check type="uninstall" condition="exists" path="Vim 7.0.146 (self-installing)" /> | ||
Line 14: | Line 14: | ||
<remove cmd='%SOFTWARE%\vim\remove.bat' /> | <remove cmd='%SOFTWARE%\vim\remove.bat' /> | ||
</package> | </package> | ||
− | </ | + | </source> |
== remove.bat == | == remove.bat == | ||
− | < | + | <source lang="dos"> |
@echo off | @echo off | ||
Line 23: | Line 23: | ||
exit 0 | exit 0 | ||
− | </ | + | </source> |
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Latest revision as of 19:18, 27 April 2008
Vim is an improved version of the vi editor written by Bram Moolenaar. The web site is 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 Sourceforge. Steve's Vim installers from 7.0.146 onwards work correctly for silent installs; however, silent uninstalls still do not work correctly.
package.xml
<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='%SOFTWARE%\vim\remove.bat' />
<install cmd='%SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<upgrade cmd='%SOFTWARE%\vim\remove.bat' />
<upgrade cmd='%SOFTWARE%\vim\gvim-7-0-146.exe /S' />
<remove cmd='%SOFTWARE%\vim\remove.bat' />
</package>
remove.bat
@echo off
if exist "C:\Program Files\vim\vim70\uninstall.exe" %comspec% /c start "Vim" /wait /d %WINDIR% "C:\program files\vim\vim70\uninstall.exe" /S
exit 0