Add Screen to Windows installer (#20593)
thiagoftsm committed
Jul 8, 2025 at 14:06 UTC
39d0d382ab28dd9e4f5929fc06e6e7d103f41ecc
1 file changed
+27
-2
packaging/windows/netdata.wxs.in
+27
-2
@@ -243,10 +243,13 @@
243
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999" />
244
<Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication" Condition="WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed" />
245
246
- <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="ViewLicenseDlg" Condition="NOT Installed" />
246
+ <Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="NDWarningDialog" Condition="NOT Installed" />
247
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Condition="Installed AND PATCH" />
248
249
- <Publish Dialog="ViewLicenseDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
249
+ <Publish Dialog="NDWarningDialog" Control="Back" Event="NewDialog" Value="WelcomeDlg" />
250
+ <Publish Dialog="NDWarningDialog" Control="Next" Event="NewDialog" Value="ViewLicenseDlg" />
251
+
252
+ <Publish Dialog="ViewLicenseDlg" Control="Back" Event="NewDialog" Value="NDWarningDialog" />
253
<Publish Dialog="ViewLicenseDlg" Control="Next" Event="NewDialog" Value="NDConfigDialog" />
254
255
<!-- We are hidden for while the directory to install netdata and forcing a default, because it is still necessary adjusts to test claim.conf in different directories -->
@@ -341,5 +344,27 @@
344
</Control>
345
</Dialog>
346
</UI>
347
+
348
+ <UI>
349
+ <Dialog Id="NDWarningDialog" Width="370" Height="270" Title="Netdata on Windows">
350
+ <Control Id="BannerBitmap" Type="Bitmap" X="0" Y="0" Width="370" Height="44" TabSkip="no" Text="!(loc.LicenseAgreementDlgBannerBitmap)" />
351
+ <Control Id="BannerLine" Type="Line" X="0" Y="44" Width="370" Height="0" />
352
+ <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370" Height="0" />
353
+
354
+ <Control Id="Title" Type="Text" X="15" Y="6" Width="200" Height="15" Transparent="yes" NoPrefix="yes" Text="Restrictions" />
355
+
356
+ <Control Id="WarningLabel1" Type="Text" X="10" Y="60" Width="350" Height="15" Text="The Windows Agent is available for users with paid Netdata subscriptions." />
357
+ <Control Id="WarningLabel2" Type="Text" X="10" Y="75" Width="350" Height="15" Text="Limitations for Free Users:" />
358
+ <Control Id="WarningLabel3" Type="Text" X="18" Y="90" Width="350" Height="15" Text="- Standalone Agent: UI is locked — No local monitoring." />
359
+ <Control Id="WarningLabel4" Type="Text" X="18" Y="105" Width="350" Height="15" Text="- Child Agent: No monitoring data in parent dashboard when streaming to a Linux-based" />
360
+ <Control Id="WarningLabel5" Type="Text" X="23" Y="120" Width="350" Height="15" Text="Netdata parent." />
361
+
362
+ <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56" Height="17" Text="!(loc.WixUIBack)" />
363
+ <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56" Height="17" Default="yes" Text="!(loc.WixUINext)" />
364
+ <Control Id="Cancel" Type="PushButton" X="304" Y="243" Width="56" Height="17" Cancel="yes" Text="!(loc.WixUICancel)">
365
+ <Publish Event="SpawnDialog" Value="CancelDlg" />
366
+ </Control>
367
+ </Dialog>
368
+ </UI>
369
</Fragment>
370
</Wix>