@@ -36,9 +36,6 @@ Unicode true
36
36
# Comment the next line if you do not want to add Native Language Support
37
37
!define HAVE_NLS
38
38
39
- # Uncomment the next line if you want to include VisVim extension:
40
- # !define HAVE_VIS_VIM
41
-
42
39
# Comment the following line to create an English-only installer:
43
40
!define HAVE_MULTI_LANG
44
41
@@ -55,9 +52,6 @@ Unicode true
55
52
# ----------- No configurable settings below this line -----------
56
53
57
54
!include " Library.nsh" # For DLL install
58
- !ifdef HAVE_VIS_VIM
59
- !include " UpgradeDLL.nsh" # for VisVim.dll
60
- !endif
61
55
!include " LogicLib.nsh"
62
56
!include " MUI2.nsh"
63
57
!include " nsDialogs.nsh"
@@ -536,17 +530,6 @@ SectionGroup $(str_group_plugin) id_group_plugin
536
530
SectionEnd
537
531
SectionGroupEnd
538
532
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
-
550
533
# #########################################################
551
534
!ifdef HAVE_NLS
552
535
Section " $(str_section_nls)" id_section_nls
@@ -634,12 +617,6 @@ Section -post
634
617
SectionGetSize ${id_section_editwith} $4
635
618
IntOp $3 $3 + $4
636
619
${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
643
620
!ifdef HAVE_NLS
644
621
${If} ${SectionIsSelected} ${id_section_nls}
645
622
SectionGetSize ${id_section_nls} $4
@@ -670,9 +647,6 @@ Section -post
670
647
!insertmacro SaveSectionSelection ${id_section_vimrc} " select_vimrc"
671
648
!insertmacro SaveSectionSelection ${id_section_pluginhome} " select_pluginhome"
672
649
!insertmacro SaveSectionSelection ${id_section_pluginvim} " select_pluginvim"
673
- !ifdef HAVE_VIS_VIM
674
- !insertmacro SaveSectionSelection ${id_section_visvim} " select_visvim"
675
- !endif
676
650
!ifdef HAVE_NLS
677
651
!insertmacro SaveSectionSelection ${id_section_nls} " select_nls"
678
652
!endif
@@ -744,9 +718,6 @@ Function .onInit
744
718
!insertmacro LoadSectionSelection ${id_section_vimrc} " select_vimrc"
745
719
!insertmacro LoadSectionSelection ${id_section_pluginhome} " select_pluginhome"
746
720
!insertmacro LoadSectionSelection ${id_section_pluginvim} " select_pluginvim"
747
- !ifdef HAVE_VIS_VIM
748
- !insertmacro LoadSectionSelection ${id_section_visvim} " select_visvim"
749
- !endif
750
721
!ifdef HAVE_NLS
751
722
!insertmacro LoadSectionSelection ${id_section_nls} " select_nls"
752
723
!endif
@@ -921,9 +892,6 @@ FunctionEnd
921
892
!insertmacro MUI_DESCRIPTION_TEXT ${id_group_plugin} $(str_desc_plugin)
922
893
!insertmacro MUI_DESCRIPTION_TEXT ${id_section_pluginhome} $(str_desc_plugin_home)
923
894
!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
927
895
!ifdef HAVE_NLS
928
896
!insertmacro MUI_DESCRIPTION_TEXT ${id_section_nls} $(str_desc_nls)
929
897
!endif
@@ -947,13 +915,6 @@ Section "un.$(str_unsection_register)" id_unsection_register
947
915
# created. Thus the "vim61" directory is included in it.
948
916
StrCpy $0 " $INSTDIR"
949
917
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
-
957
918
# delete the context menu entry and batch files
958
919
DetailPrint " $(str_msg_unregistering)"
959
920
nsExec::Exec " $0\uninstall.exe -nsis"
@@ -1046,9 +1007,6 @@ Section "un.$(str_unsection_exe)" id_unsection_exe
1046
1007
RMDir /r $0 \syntax
1047
1008
RMDir /r $0 \tools
1048
1009
RMDir /r $0 \tutor
1049
- !ifdef HAVE_VIS_VIM
1050
- RMDir /r $0 \VisVim
1051
- !endif
1052
1010
RMDir /r $0 \lang
1053
1011
RMDir /r $0 \keymap
1054
1012
Delete $0 \*.exe
0 commit comments