@@ -36,9 +36,6 @@ Unicode true
3636# Comment the next line if you do not want to add Native Language Support
3737!define HAVE_NLS
3838
39- # Uncomment the next line if you want to include VisVim extension:
40- # !define HAVE_VIS_VIM
41-
4239# Comment the following line to create an English-only installer:
4340!define HAVE_MULTI_LANG
4441
@@ -55,9 +52,6 @@ Unicode true
5552# ----------- No configurable settings below this line -----------
5653
5754!include " Library.nsh" # For DLL install
58- !ifdef HAVE_VIS_VIM
59- !include " UpgradeDLL.nsh" # for VisVim.dll
60- !endif
6155!include " LogicLib.nsh"
6256!include " MUI2.nsh"
6357!include " nsDialogs.nsh"
@@ -536,17 +530,6 @@ SectionGroup $(str_group_plugin) id_group_plugin
536530 SectionEnd
537531SectionGroupEnd
538532
539- # #########################################################
540- !ifdef HAVE_VIS_VIM
541- Section " $(str_section_vis_vim)" id_section_visvim
542- SectionIn 3
543-
544- SetOutPath $0
545- !insertmacro UpgradeDLL " ${VIMSRC}\VisVim\VisVim.dll" " $0\VisVim.dll" " $0"
546- File ${VIMSRC} \VisVim\README_VisVim.txt
547- SectionEnd
548- !endif
549-
550533# #########################################################
551534!ifdef HAVE_NLS
552535Section " $(str_section_nls)" id_section_nls
@@ -634,12 +617,6 @@ Section -post
634617 SectionGetSize ${id_section_editwith} $4
635618 IntOp $3 $3 + $4
636619 ${EndIf}
637- !ifdef HAVE_VIS_VIM
638- ${If} ${SectionIsSelected} ${id_section_visvim}
639- SectionGetSize ${id_section_visvim} $4
640- IntOp $3 $3 + $4
641- ${EndIf}
642- !endif
643620!ifdef HAVE_NLS
644621 ${If} ${SectionIsSelected} ${id_section_nls}
645622 SectionGetSize ${id_section_nls} $4
@@ -670,9 +647,6 @@ Section -post
670647 !insertmacro SaveSectionSelection ${id_section_vimrc} " select_vimrc"
671648 !insertmacro SaveSectionSelection ${id_section_pluginhome} " select_pluginhome"
672649 !insertmacro SaveSectionSelection ${id_section_pluginvim} " select_pluginvim"
673- !ifdef HAVE_VIS_VIM
674- !insertmacro SaveSectionSelection ${id_section_visvim} " select_visvim"
675- !endif
676650!ifdef HAVE_NLS
677651 !insertmacro SaveSectionSelection ${id_section_nls} " select_nls"
678652!endif
@@ -744,9 +718,6 @@ Function .onInit
744718 !insertmacro LoadSectionSelection ${id_section_vimrc} " select_vimrc"
745719 !insertmacro LoadSectionSelection ${id_section_pluginhome} " select_pluginhome"
746720 !insertmacro LoadSectionSelection ${id_section_pluginvim} " select_pluginvim"
747- !ifdef HAVE_VIS_VIM
748- !insertmacro LoadSectionSelection ${id_section_visvim} " select_visvim"
749- !endif
750721!ifdef HAVE_NLS
751722 !insertmacro LoadSectionSelection ${id_section_nls} " select_nls"
752723!endif
@@ -921,9 +892,6 @@ FunctionEnd
921892 !insertmacro MUI_DESCRIPTION_TEXT ${id_group_plugin} $(str_desc_plugin)
922893 !insertmacro MUI_DESCRIPTION_TEXT ${id_section_pluginhome} $(str_desc_plugin_home)
923894 !insertmacro MUI_DESCRIPTION_TEXT ${id_section_pluginvim} $(str_desc_plugin_vim)
924- !ifdef HAVE_VIS_VIM
925- !insertmacro MUI_DESCRIPTION_TEXT ${id_section_visvim} $(str_desc_vis_vim)
926- !endif
927895!ifdef HAVE_NLS
928896 !insertmacro MUI_DESCRIPTION_TEXT ${id_section_nls} $(str_desc_nls)
929897!endif
@@ -947,13 +915,6 @@ Section "un.$(str_unsection_register)" id_unsection_register
947915 # created. Thus the "vim61" directory is included in it.
948916 StrCpy $0 " $INSTDIR"
949917
950- !ifdef HAVE_VIS_VIM
951- # If VisVim was installed, unregister the DLL.
952- ${If} ${FileExists} " $0\VisVim.dll"
953- ExecWait " regsvr32.exe /u /s $0\VisVim.dll"
954- ${EndIf}
955- !endif
956-
957918 # delete the context menu entry and batch files
958919 DetailPrint " $(str_msg_unregistering)"
959920 nsExec::Exec " $0\uninstall.exe -nsis"
@@ -1046,9 +1007,6 @@ Section "un.$(str_unsection_exe)" id_unsection_exe
10461007 RMDir /r $0 \syntax
10471008 RMDir /r $0 \tools
10481009 RMDir /r $0 \tutor
1049- !ifdef HAVE_VIS_VIM
1050- RMDir /r $0 \VisVim
1051- !endif
10521010 RMDir /r $0 \lang
10531011 RMDir /r $0 \keymap
10541012 Delete $0 \*.exe
0 commit comments