mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-27 07:44:24 +02:00
parent
b3110cdccf
commit
4972dcf4b3
@ -283,6 +283,11 @@ FunctionEnd
|
|||||||
|
|
||||||
|
|
||||||
Section -"Notepad++" mainSection
|
Section -"Notepad++" mainSection
|
||||||
|
${If} $showDetailsChecked == ${BST_CHECKED}
|
||||||
|
SetDetailsView show
|
||||||
|
SetAutoClose false
|
||||||
|
${endIf}
|
||||||
|
|
||||||
${If} $diffArchDir2Remove != ""
|
${If} $diffArchDir2Remove != ""
|
||||||
!insertmacro uninstallRegKey
|
!insertmacro uninstallRegKey
|
||||||
!insertmacro uninstallDir $diffArchDir2Remove
|
!insertmacro uninstallDir $diffArchDir2Remove
|
||||||
|
@ -72,9 +72,11 @@ FunctionEnd
|
|||||||
Var Dialog
|
Var Dialog
|
||||||
Var NoUserDataCheckboxHandle
|
Var NoUserDataCheckboxHandle
|
||||||
Var ShortcutCheckboxHandle
|
Var ShortcutCheckboxHandle
|
||||||
|
Var ShowDetailsCheckboxHandle
|
||||||
Var WinVer
|
Var WinVer
|
||||||
Var noUserDataChecked
|
Var noUserDataChecked
|
||||||
Var createShortcutChecked
|
Var createShortcutChecked
|
||||||
|
Var showDetailsChecked
|
||||||
|
|
||||||
; The definition of "OnChange" event for checkbox
|
; The definition of "OnChange" event for checkbox
|
||||||
Function OnChange_NoUserDataCheckBox
|
Function OnChange_NoUserDataCheckBox
|
||||||
@ -85,6 +87,10 @@ Function OnChange_ShortcutCheckBox
|
|||||||
${NSD_GetState} $ShortcutCheckboxHandle $createShortcutChecked
|
${NSD_GetState} $ShortcutCheckboxHandle $createShortcutChecked
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
Function OnChange_ShowDetailsCheckbox
|
||||||
|
${NSD_GetState} $ShowDetailsCheckboxHandle $showDetailsChecked
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
Function ExtraOptions
|
Function ExtraOptions
|
||||||
nsDialogs::Create 1018
|
nsDialogs::Create 1018
|
||||||
Pop $Dialog
|
Pop $Dialog
|
||||||
@ -99,7 +105,7 @@ Function ExtraOptions
|
|||||||
${NSD_Check} $ShortcutCheckboxHandle
|
${NSD_Check} $ShortcutCheckboxHandle
|
||||||
${NSD_OnClick} $ShortcutCheckboxHandle OnChange_ShortcutCheckBox
|
${NSD_OnClick} $ShortcutCheckboxHandle OnChange_ShortcutCheckBox
|
||||||
|
|
||||||
${NSD_CreateCheckbox} 0 120 100% 30u "Don't use %APPDATA%$\nEnable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in a USB device."
|
${NSD_CreateCheckbox} 0 80 100% 30u "Don't use %APPDATA%$\nEnable this option to make Notepad++ load/write the configuration files from/to its install directory. Check it if you use Notepad++ in a USB device."
|
||||||
Pop $NoUserDataCheckboxHandle
|
Pop $NoUserDataCheckboxHandle
|
||||||
IfFileExists $INSTDIR\doLocalConf.xml doLocalConfExists doLocalConfDoesNotExists
|
IfFileExists $INSTDIR\doLocalConf.xml doLocalConfExists doLocalConfDoesNotExists
|
||||||
doLocalConfExists:
|
doLocalConfExists:
|
||||||
@ -109,6 +115,10 @@ Function ExtraOptions
|
|||||||
doLocalConfDoesNotExists:
|
doLocalConfDoesNotExists:
|
||||||
${NSD_OnClick} $NoUserDataCheckboxHandle OnChange_NoUserDataCheckBox
|
${NSD_OnClick} $NoUserDataCheckboxHandle OnChange_NoUserDataCheckBox
|
||||||
|
|
||||||
|
${NSD_CreateCheckbox} 0 160 100% 30u "Show installation details"
|
||||||
|
Pop $ShowDetailsCheckboxHandle
|
||||||
|
${NSD_OnClick} $ShowDetailsCheckboxHandle OnChange_ShowDetailsCheckbox
|
||||||
|
|
||||||
StrLen $0 $PROGRAMFILES
|
StrLen $0 $PROGRAMFILES
|
||||||
StrCpy $1 $InstDir $0
|
StrCpy $1 $InstDir $0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user