aboutsummaryrefslogtreecommitdiff
path: root/windows/dialogs/service-config.nsdinc
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-13 15:20:13 -0600
committercrobibero <cody@robibe.ro>2020-06-13 15:20:13 -0600
commitbcce8190ffe6cf2b4926c64bca98b8266c0937b0 (patch)
tree7008786b1e0631445437f451cc6422b4be9a5f0d /windows/dialogs/service-config.nsdinc
parent88b6c26472ad57822d3ab79a043db259ffcbb0e3 (diff)
parent0011e8df47380936742302ef40639a4626a780ed (diff)
Merge remote-tracking branch 'upstream/api-migration' into api-channel
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