aboutsummaryrefslogtreecommitdiff
path: root/windows/dialogs/service-config.nsdinc
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-06-14 12:43:10 +0200
committerDavid <daullmer@gmail.com>2020-06-14 12:43:10 +0200
commitcf3d0f8d519ca1b43c78d5dde9f5b43fec6e3334 (patch)
treee1f83eeb7920f3c68fc3d5f41242e3d24958227d /windows/dialogs/service-config.nsdinc
parentb16da095493bc207f4196b8b61cfc768a237a5bc (diff)
parent0011e8df47380936742302ef40639a4626a780ed (diff)
Merge remote-tracking branch 'remotes/upstream/api-migration' into api-system
Diffstat (limited to 'windows/dialogs/service-config.nsdinc')
-rw-r--r--windows/dialogs/service-config.nsdinc56
1 files changed, 56 insertions, 0 deletions
diff --git a/windows/dialogs/service-config.nsdinc b/windows/dialogs/service-config.nsdinc
new file mode 100644
index 000000000..58c350f2e
--- /dev/null
+++ b/windows/dialogs/service-config.nsdinc
@@ -0,0 +1,56 @@
+; =========================================================
+; This file was generated by NSISDialogDesigner 1.4.4.0
+; http://coolsoft.altervista.org/nsisdialogdesigner
+;
+; Do not edit it manually, use NSISDialogDesigner instead!
+; =========================================================
+
+; handle variables
+Var hCtl_service_config
+Var hCtl_service_config_StartServiceAfterInstall
+Var hCtl_service_config_LocalSystemAccountLabel
+Var hCtl_service_config_NetworkServiceAccountLabel
+Var hCtl_service_config_UseLocalSystemAccount
+Var hCtl_service_config_UseNetworkServiceAccount
+Var hCtl_service_config_Font1
+
+
+; dialog create function
+Function fnc_service_config_Create
+
+ ; custom font definitions
+ CreateFont $hCtl_service_config_Font1 "Microsoft Sans Serif" "8.25" "700"
+
+ ; === service_config (type: Dialog) ===
+ nsDialogs::Create 1018
+ Pop $hCtl_service_config
+ ${If} $hCtl_service_config == error
+ Abort
+ ${EndIf}
+ !insertmacro MUI_HEADER_TEXT "Configure the service" "This controls what type of access the server gets to this system."
+
+ ; === StartServiceAfterInstall (type: Checkbox) ===
+ ${NSD_CreateCheckbox} 8u 118u 280u 15u "Start Service after Install"
+ Pop $hCtl_service_config_StartServiceAfterInstall
+ ${NSD_Check} $hCtl_service_config_StartServiceAfterInstall
+
+ ; === LocalSystemAccountLabel (type: Label) ===
+ ${NSD_CreateLabel} 8u 71u 280u 28u "The Local System account has full access to every resource and file on the system. This can have very real security implications, do not use unless absolutely neseccary."
+ Pop $hCtl_service_config_LocalSystemAccountLabel
+
+ ; === NetworkServiceAccountLabel (type: Label) ===
+ ${NSD_CreateLabel} 8u 24u 280u 28u "The NetworkService account is a predefined local account used by the service control manager. It is the recommended way to install the Jellyfin Server service."
+ Pop $hCtl_service_config_NetworkServiceAccountLabel
+
+ ; === UseLocalSystemAccount (type: RadioButton) ===
+ ${NSD_CreateRadioButton} 8u 54u 280u 15u "Use Local System account"
+ Pop $hCtl_service_config_UseLocalSystemAccount
+ ${NSD_AddStyle} $hCtl_service_config_UseLocalSystemAccount ${WS_GROUP}
+
+ ; === UseNetworkServiceAccount (type: RadioButton) ===
+ ${NSD_CreateRadioButton} 8u 7u 280u 15u "Use Network Service account (Recommended)"
+ Pop $hCtl_service_config_UseNetworkServiceAccount
+ SendMessage $hCtl_service_config_UseNetworkServiceAccount ${WM_SETFONT} $hCtl_service_config_Font1 0
+ ${NSD_Check} $hCtl_service_config_UseNetworkServiceAccount
+
+FunctionEnd