jellyfin-server/deployment/windows/dialogs/service-config.nsdinc
Erwin de Haan 2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00

57 lines
2.5 KiB
Plaintext

; =========================================================
; 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