我有一個安裝C#windows服務的WIX。一切都很好。如果我以某種方式能夠在Windows任務管理器中顯示時更改該進程的描述字段,情況會更好。我想在此元素的說明會做,但顯然它不是:WIX XML中的哪個元素設置Windows任務管理器中顯示的進程的描述字段?
<Component Id="MyWindowsServiceExeComponent" Guid="*">
<File Id="MyWindowsServiceExe"
Name=".My.WindowsService.exe"
KeyPath="yes"
DiskId="1"
Source="$(var.SourceFileDir)My.WindowsService.exe" />
<ServiceInstall
Id="MyServiceInstaller"
Name="MyServiceInstaller"
DisplayName="My Service"
Type="ownProcess"
Start="auto"
ErrorControl="normal"
Vital="yes"
Account="LocalSystem"
Description="Provides services for all components." />