Fix uninstaller silent mode issue

Remove also unecessary files
This commit is contained in:
Don Ho 2016-10-30 13:38:42 +01:00
parent 2897dee54a
commit c58043ea0d
8 changed files with 1 additions and 67 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<Node nodeName="NotepadPlus">
<Node nodeName="GUIConfigs" name="">
<Node nodeName="GUIConfig" name="name"/>
</Node>
</Node>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<Node nodeName="NotepadPlus">
<Node nodeName="Languages" name="">
<Node nodeName="Language" name="name"/>
</Node>
</Node>

View File

@ -52,18 +52,6 @@ Function setPathAndOptions
FunctionEnd FunctionEnd
Function copyCommonFiles Function copyCommonFiles
SetOverwrite on
SetOutPath "$TEMP\"
File "langsModel.xml"
File "configModel.xml"
File "stylesGlobalModel.xml"
File "stylesLexerModel.xml"
File "stylers_remove.xml"
File "..\bin\langs.model.xml"
File "..\bin\config.model.xml"
File "..\bin\stylers.model.xml"
SetOverwrite off SetOverwrite off
SetOutPath "$UPDATE_PATH\" SetOutPath "$UPDATE_PATH\"
File "..\bin\contextMenu.xml" File "..\bin\contextMenu.xml"
@ -72,7 +60,6 @@ Function copyCommonFiles
SetOverwrite on SetOverwrite on
SetOutPath "$INSTDIR\" SetOutPath "$INSTDIR\"
File "..\bin\langs.model.xml" File "..\bin\langs.model.xml"
File "..\bin\config.model.xml"
File "..\bin\stylers.model.xml" File "..\bin\stylers.model.xml"
File "..\bin\contextMenu.xml" File "..\bin\contextMenu.xml"
File "..\bin\functionList.xml" File "..\bin\functionList.xml"

View File

@ -119,7 +119,7 @@ SectionEnd
Var keepUserData Var keepUserData
Function un.doYouReallyWantToKeepData Function un.doYouReallyWantToKeepData
StrCpy $keepUserData "false" StrCpy $keepUserData "false"
MessageBox MB_YESNO "Would you like to keep your custom settings?" IDYES skipRemoveUserData IDNO removeUserData MessageBox MB_YESNO "Would you like to keep your custom settings?" /SD IDNO IDYES skipRemoveUserData IDNO removeUserData
skipRemoveUserData: skipRemoveUserData:
StrCpy $keepUserData "true" StrCpy $keepUserData "true"
removeUserData: removeUserData:

View File

@ -73,8 +73,6 @@ copy /Y ..\bin\readme.txt .\minimalist\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\minimalist\ copy /Y ..\bin\change.log .\minimalist\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\minimalist\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\minimalist\ copy /Y ..\src\langs.model.xml .\minimalist\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\minimalist\ copy /Y ..\src\stylers.model.xml .\minimalist\
@ -99,8 +97,6 @@ copy /Y ..\bin\readme.txt .\minimalist64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\minimalist64\ copy /Y ..\bin\change.log .\minimalist64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\minimalist64\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\minimalist64\ copy /Y ..\src\langs.model.xml .\minimalist64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\minimalist64\ copy /Y ..\src\stylers.model.xml .\minimalist64\
@ -146,8 +142,6 @@ copy /Y ..\bin\readme.txt .\zipped.package.release\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\zipped.package.release\ copy /Y ..\bin\change.log .\zipped.package.release\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\zipped.package.release\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\zipped.package.release\ copy /Y ..\src\langs.model.xml .\zipped.package.release\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\zipped.package.release\ copy /Y ..\src\stylers.model.xml .\zipped.package.release\
@ -240,8 +234,6 @@ copy /Y ..\bin\readme.txt .\zipped.package.release64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\zipped.package.release64\ copy /Y ..\bin\change.log .\zipped.package.release64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\zipped.package.release64\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\zipped.package.release64\ copy /Y ..\src\langs.model.xml .\zipped.package.release64\
If ErrorLevel 1 goto End If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\zipped.package.release64\ copy /Y ..\src\stylers.model.xml .\zipped.package.release64\

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<LexerStyles>
<LexerType name="searchResult" desc="Search result" ext="">
<WordsStyle name="DEFAULT" action="remove" />
<WordsStyle name="HEARDER" action="remove" />
<WordsStyle name="NUMBER" action="remove" />
<WordsStyle name="HIT WORD" action="remove" />
<WordsStyle name="KEYWORD1" action="remove" />
<WordsStyle name="KEYWORD2" action="remove" />
<WordsStyle name="SEARCH HEADER" action="remove" />
<WordsStyle name="FILE HEADER" action="remove" />
<WordsStyle name="LINE NUMBER" action="remove" />
<WordsStyle name="SELECTED LINE" action="remove" />
</LexerType>
</LexerStyles>
</NotepadPlus>

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<Node nodeName="NotepadPlus">
<Node nodeName="GlobalStyles">
<Node nodeName="WidgetStyle" name="name" />
</Node>
</Node>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="Windows-1252" ?>
<Node nodeName="NotepadPlus">
<Node nodeName="LexerStyles">
<Node nodeName="LexerType" name="name">
<Node nodeName="WordsStyle" name="name"/>
</Node>
</Node>
</Node>