Set environment from the GUI at install time.
[nssm.git] / nssm.rc
diff --git a/nssm.rc b/nssm.rc
index f5a5191..f825826 100644 (file)
--- a/nssm.rc
+++ b/nssm.rc
@@ -156,6 +156,16 @@ FONT 8, "MS Sans Serif"
     DEFPUSHBUTTON   "...", IDC_BROWSE_STDERR, 239, 47, 15, 14\r
 }\r
 \r
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL\r
+IDD_ENVIRONMENT DIALOG 9, 20, 261, 75\r
+STYLE DS_SHELLFONT | WS_VISIBLE | WS_CHILD | DS_CONTROL\r
+FONT 8, "MS Sans Serif"\r
+{\r
+    GROUPBOX        "Environment variables", IDC_STATIC, 7, 7, 251, 68\r
+    EDITTEXT        IDC_ENVIRONMENT, 13, 18, 238, 36, ES_AUTOHSCROLL | ES_AUTOVSCROLL | ES_MULTILINE | ES_WANTRETURN\r
+    AUTOCHECKBOX    "Replace default environment (srvany compatible)", IDC_ENVIRONMENT_REPLACE, 13, 60, 238, 8\r
+}\r
+\r
 \r
 /////////////////////////////////////////////////////////////////////////////\r
 //\r