Skip to content

Commit

Permalink
Fix uninstaller silent mode issue
Browse files Browse the repository at this point in the history
Remove also unecessary files
  • Loading branch information
donho committed Oct 30, 2016
1 parent 2897dee commit c58043e
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 67 deletions.
6 changes: 0 additions & 6 deletions PowerEditor/installer/configModel.xml

This file was deleted.

6 changes: 0 additions & 6 deletions PowerEditor/installer/langsModel.xml

This file was deleted.

13 changes: 0 additions & 13 deletions PowerEditor/installer/nsisInclude/mainSectionFuncs.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,6 @@ Function setPathAndOptions
FunctionEnd

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
SetOutPath "$UPDATE_PATH\"
File "..\bin\contextMenu.xml"
Expand All @@ -72,7 +60,6 @@ Function copyCommonFiles
SetOverwrite on
SetOutPath "$INSTDIR\"
File "..\bin\langs.model.xml"
File "..\bin\config.model.xml"
File "..\bin\stylers.model.xml"
File "..\bin\contextMenu.xml"
File "..\bin\functionList.xml"
Expand Down
2 changes: 1 addition & 1 deletion PowerEditor/installer/nsisInclude/uninstall.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ SectionEnd
Var keepUserData
Function un.doYouReallyWantToKeepData
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:
StrCpy $keepUserData "true"
removeUserData:
Expand Down
8 changes: 0 additions & 8 deletions PowerEditor/installer/packageAll.bat
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ copy /Y ..\bin\readme.txt .\minimalist\
If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\minimalist\
If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\minimalist\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\minimalist\
If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\minimalist\
Expand All @@ -99,8 +97,6 @@ copy /Y ..\bin\readme.txt .\minimalist64\
If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\minimalist64\
If ErrorLevel 1 goto End
copy /Y ..\src\config.model.xml .\minimalist64\
If ErrorLevel 1 goto End
copy /Y ..\src\langs.model.xml .\minimalist64\
If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\minimalist64\
Expand Down Expand Up @@ -146,8 +142,6 @@ copy /Y ..\bin\readme.txt .\zipped.package.release\
If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\zipped.package.release\
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\
If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\zipped.package.release\
Expand Down Expand Up @@ -240,8 +234,6 @@ copy /Y ..\bin\readme.txt .\zipped.package.release64\
If ErrorLevel 1 goto End
copy /Y ..\bin\change.log .\zipped.package.release64\
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\
If ErrorLevel 1 goto End
copy /Y ..\src\stylers.model.xml .\zipped.package.release64\
Expand Down
17 changes: 0 additions & 17 deletions PowerEditor/installer/stylers_remove.xml

This file was deleted.

7 changes: 0 additions & 7 deletions PowerEditor/installer/stylesGlobalModel.xml

This file was deleted.

9 changes: 0 additions & 9 deletions PowerEditor/installer/stylesLexerModel.xml

This file was deleted.

0 comments on commit c58043e

Please sign in to comment.