@cryptotaxi247 / netdata-1 / commits / f68837883

Windows installer (Change descriptions add helping) (#18711)

* address_installer_issues: Modify lables on screen * adjust_lable: Add Help * Update packaging/windows/installer.nsi * Update packaging/windows/installer.nsi Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * Update packaging/windows/installer.nsi Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * adjust_lable: Fix text. * adjust_lable: Don't split lines --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

thiagoftsm committed Oct 8, 2024 at 20:36 UTC f688378837512f1bc67995d1f4c2b64ea45dea21
1 file changed +20 -8
packaging/windows/installer.nsi
+20 -8
@@ -62,6 +62,7 @@ Page Custom NetdataConfigPage NetdataConfigLeave
62 launch:
63 !macroend
64
65 +var hCtrlButton
66 var hStartMsys
67 var startMsys
68
@@ -145,8 +146,14 @@ Function un.onInit
146 !insertmacro SingleInstanceFile
147 FunctionEnd
148
149 +Function ShowHelp
150 +Pop $0
151 + MessageBox MB_ICONQUESTION|MB_OK "$\"Proxy URL$\" set the proxy server address to use if your network requires one.$\n$\n$\"Insecure connection$\" disable verification of the server's certificate chain and host name.$\n$\n$\"Open Terminal$\" open MSYS2 terminal to run additional commands after installation." IDOK endHelp
152 + endHelp:
153 +FunctionEnd
154 +
155 Function NetdataConfigPage
149 - !insertmacro MUI_HEADER_TEXT "Netdata configuration" "Claim your agent on Netdata Cloud"
156 + !insertmacro MUI_HEADER_TEXT "Netdata configuration" "Connect your Agent to your Netdata Cloud Space"
157
158 nsDialogs::Create 1018
159 Pop $0
@@ -156,29 +163,34 @@ Function NetdataConfigPage
163
164 IfFileExists "$INSTDIR\etc\netdata\claim.conf" NotNeeded
165
159 - ${NSD_CreateLabel} 0 0 100% 12u "Enter your Token and Cloud Room(s)."
160 - ${NSD_CreateLabel} 0 15% 100% 12u "Optionally, you can open a terminal to execute additional commands."
166 + ${NSD_CreateLabel} 0 0 100% 12u "Enter your Space's Claim Token and the Room IDs where you want to add the Agent."
167 + ${NSD_CreateLabel} 0 12% 100% 12u "If no Room IDs are specified, the Agent will be added to the $\"All nodes$\" Room."
168
162 - ${NSD_CreateLabel} 0 30% 20% 10% "Token"
169 + ${NSD_CreateLabel} 0 30% 20% 10% "Claim Token"
170 Pop $0
171 ${NSD_CreateText} 21% 30% 79% 10% ""
172 Pop $hCloudToken
173
167 - ${NSD_CreateLabel} 0 45% 20% 10% "Room(s)"
174 + ${NSD_CreateLabel} 0 45% 20% 10% "Room ID(s)"
175 Pop $0
176 ${NSD_CreateText} 21% 45% 79% 10% ""
177 Pop $hCloudRooms
178
172 - ${NSD_CreateLabel} 0 60% 20% 10% "Proxy"
179 + ${NSD_CreateLabel} 0 60% 20% 10% "Proxy URL"
180 Pop $0
181 ${NSD_CreateText} 21% 60% 79% 10% ""
182 Pop $hProxy
183
177 - ${NSD_CreateCheckbox} 0 75% 100% 10u "Insecure connection"
184 + ${NSD_CreateCheckbox} 0 75% 50% 10u "Insecure connection"
185 Pop $hInsecure
186
180 - ${NSD_CreateCheckbox} 0 90% 100% 10u "Open terminal"
187 + ${NSD_CreateCheckbox} 0 90% 50% 10u "Open terminal"
188 Pop $hStartMsys
189 +
190 + ${NSD_CreateButton} 80% 90% 30u 15u "&Help"
191 + Pop $hCtrlButton
192 + ${NSD_OnClick} $hCtrlButton ShowHelp
193 +
194 Goto EndDialogDraw
195
196 NotNeeded: