Skip to content

Commit dc2bf92

Browse files
committed
fix: Fix service name when installed on windows via MSI packaging
1 parent 86fe63a commit dc2bf92

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/windows/packaging/MSI_strings.wxl.tt

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
<String Id="WolDescription">All the necessary files to wake up equipements in your network.</String>
3636

3737
<!-- custom text for service registration -->
38-
<String Id="ServiceDisplayName">[AgentName]</String>
39-
<String Id="ServiceDescription">[AgentName] is an inventory agent. It is intended to upload system inventory toward a GLPI server on a regular basis.</String>
38+
<String Id="ServiceDisplayName">[%agent_fullname%]</String>
39+
<String Id="ServiceDescription">[%agent_fullname%] is an inventory agent. It is intended to upload system inventory toward a GLPI server on a regular basis.</String>
4040

4141
<!-- custom text for target setup dialog -->
4242
<String Id="TargetSetupDlg_Title">[ProductName] Target Setup</String>
@@ -77,7 +77,7 @@
7777
<!-- custom text for execution mode setup dialog -->
7878
<String Id="ExecModeDlgTitle">[ProductName] Setup</String>
7979
<String Id="ExecModeDlg_Title">{\WixUI_Font_Title}Choose an Execution Mode</String>
80-
<String Id="ExecModeDlgDescription">Choose which way you want [AgentName] to be executed.</String>
80+
<String Id="ExecModeDlgDescription">Choose which way you want [%agent_fullname%] to be executed.</String>
8181
<String Id="ExecModeDlgGroup">Execution Mode</String>
8282
<String Id="ExecModeDlgService">As a Windows Service</String>
8383
<String Id="ExecModeDlgTaskScheduler">As a Windows Task</String>

0 commit comments

Comments
 (0)