patch 8.0.1472: MS-Windows: nsis installer is a bit slow
Problem: MS-Windows: nsis installer is a bit slow. Solution: Use ReserveFile for vimrc.ini. (closes #2522)
This commit is contained in:
@ -89,6 +89,11 @@ Page instfiles
|
|||||||
UninstPage uninstConfirm
|
UninstPage uninstConfirm
|
||||||
UninstPage instfiles
|
UninstPage instfiles
|
||||||
|
|
||||||
|
# Reserve files
|
||||||
|
# Needed for showing the _vimrc setting page faster.
|
||||||
|
ReserveFile /plugin InstallOptions.dll
|
||||||
|
ReserveFile vimrc.ini
|
||||||
|
|
||||||
##########################################################
|
##########################################################
|
||||||
# Functions
|
# Functions
|
||||||
|
|
||||||
@ -475,15 +480,13 @@ Function SetCustom
|
|||||||
# Display the InstallOptions dialog
|
# Display the InstallOptions dialog
|
||||||
|
|
||||||
# Check if a _vimrc should be created
|
# Check if a _vimrc should be created
|
||||||
SectionGetFlags ${sec_vimrc_id} $0
|
SectionGetFlags ${sec_vimrc_id} $3
|
||||||
IntOp $0 $0 & 1
|
IntOp $3 $3 & 1
|
||||||
StrCmp $0 "1" +2 0
|
StrCmp $3 "1" +2 0
|
||||||
Abort
|
Abort
|
||||||
|
|
||||||
Push $3
|
|
||||||
InstallOptions::dialog "$PLUGINSDIR\vimrc.ini"
|
InstallOptions::dialog "$PLUGINSDIR\vimrc.ini"
|
||||||
Pop $3
|
Pop $3
|
||||||
Pop $3
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
Function ValidateCustom
|
Function ValidateCustom
|
||||||
|
|||||||
@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1472,
|
||||||
/**/
|
/**/
|
||||||
1471,
|
1471,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user