service-config.nsdinc 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ; =========================================================
  2. ; This file was generated by NSISDialogDesigner 1.4.4.0
  3. ; http://coolsoft.altervista.org/nsisdialogdesigner
  4. ;
  5. ; Do not edit it manually, use NSISDialogDesigner instead!
  6. ; =========================================================
  7. ; handle variables
  8. Var hCtl_service_config
  9. Var hCtl_service_config_StartServiceAfterInstall
  10. Var hCtl_service_config_LocalSystemAccountLabel
  11. Var hCtl_service_config_NetworkServiceAccountLabel
  12. Var hCtl_service_config_UseLocalSystemAccount
  13. Var hCtl_service_config_UseNetworkServiceAccount
  14. Var hCtl_service_config_Font1
  15. ; dialog create function
  16. Function fnc_service_config_Create
  17. ; custom font definitions
  18. CreateFont $hCtl_service_config_Font1 "Microsoft Sans Serif" "8.25" "700"
  19. ; === service_config (type: Dialog) ===
  20. nsDialogs::Create 1018
  21. Pop $hCtl_service_config
  22. ${If} $hCtl_service_config == error
  23. Abort
  24. ${EndIf}
  25. !insertmacro MUI_HEADER_TEXT "Configure the service" "This controls what type of access the server gets to this system."
  26. ; === StartServiceAfterInstall (type: Checkbox) ===
  27. ${NSD_CreateCheckbox} 8u 118u 280u 15u "Start Service after Install"
  28. Pop $hCtl_service_config_StartServiceAfterInstall
  29. ${NSD_Check} $hCtl_service_config_StartServiceAfterInstall
  30. ; === LocalSystemAccountLabel (type: Label) ===
  31. ${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."
  32. Pop $hCtl_service_config_LocalSystemAccountLabel
  33. ; === NetworkServiceAccountLabel (type: Label) ===
  34. ${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."
  35. Pop $hCtl_service_config_NetworkServiceAccountLabel
  36. ; === UseLocalSystemAccount (type: RadioButton) ===
  37. ${NSD_CreateRadioButton} 8u 54u 280u 15u "Use Local System account"
  38. Pop $hCtl_service_config_UseLocalSystemAccount
  39. ${NSD_AddStyle} $hCtl_service_config_UseLocalSystemAccount ${WS_GROUP}
  40. ; === UseNetworkServiceAccount (type: RadioButton) ===
  41. ${NSD_CreateRadioButton} 8u 7u 280u 15u "Use Network Service account (Recommended)"
  42. Pop $hCtl_service_config_UseNetworkServiceAccount
  43. SendMessage $hCtl_service_config_UseNetworkServiceAccount ${WM_SETFONT} $hCtl_service_config_Font1 0
  44. ${NSD_Check} $hCtl_service_config_UseNetworkServiceAccount
  45. FunctionEnd