windows installer fixes
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
!include "MUI2.nsh"
|
!include "MUI2.nsh"
|
||||||
!include "LogicLib.nsh"
|
!include "LogicLib.nsh"
|
||||||
|
!include "nsDialogs.nsh"
|
||||||
|
|
||||||
Name "LOGAR Client"
|
Name "LOGAR Client"
|
||||||
OutFile "../dist/LOGAR-Client-Setup.exe"
|
OutFile "../dist/LOGAR-Client-Setup.exe"
|
||||||
@@ -87,7 +88,7 @@ Function ConfigPageCreate
|
|||||||
${NSD_OnClick} $CfgBrowseBtn OnBrowseCfg
|
${NSD_OnClick} $CfgBrowseBtn OnBrowseCfg
|
||||||
|
|
||||||
nsDialogs::Show
|
nsDialogs::Show
|
||||||
Function
|
FunctionEnd
|
||||||
|
|
||||||
Function OnBrowseCfg
|
Function OnBrowseCfg
|
||||||
nsDialogs::SelectFileDialog open "" "LOGAR Client Profiles (*.json)|*.json|All Files (*.*)|*.*"
|
nsDialogs::SelectFileDialog open "" "LOGAR Client Profiles (*.json)|*.json|All Files (*.*)|*.*"
|
||||||
@@ -96,11 +97,11 @@ Function OnBrowseCfg
|
|||||||
StrCpy $CFGFILE $0
|
StrCpy $CFGFILE $0
|
||||||
${NSD_SetText} $CfgFileInput $CFGFILE
|
${NSD_SetText} $CfgFileInput $CFGFILE
|
||||||
${EndIf}
|
${EndIf}
|
||||||
Function
|
FunctionEnd
|
||||||
|
|
||||||
Function ConfigPageLeave
|
Function ConfigPageLeave
|
||||||
${NSD_GetText} $CfgFileInput $CFGFILE
|
${NSD_GetText} $CfgFileInput $CFGFILE
|
||||||
Function
|
FunctionEnd
|
||||||
|
|
||||||
Section "Install"
|
Section "Install"
|
||||||
SetShellVarContext all
|
SetShellVarContext all
|
||||||
|
|||||||
Reference in New Issue
Block a user