Updating the Installer for ReportService

This commit is contained in:
Daniel Schick 2021-11-25 16:44:50 +01:00
parent ba518e2b10
commit fdef1c9c18
2 changed files with 17 additions and 17 deletions

View File

@ -28,32 +28,32 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller(); this.serviceProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller(); this.serviceInstaller = new System.ServiceProcess.ServiceInstaller();
// //
// serviceProcessInstaller1 // serviceProcessInstaller
// //
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem; this.serviceProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
this.serviceProcessInstaller1.Password = null; this.serviceProcessInstaller.Password = null;
this.serviceProcessInstaller1.Username = null; this.serviceProcessInstaller.Username = null;
// //
// serviceInstaller1 // serviceInstaller
// //
this.serviceInstaller1.Description = "Creates reports from NSW message traffice"; this.serviceInstaller.Description = "Creates PDF reports from NSW classes (TEST version)";
this.serviceInstaller1.DisplayName = "NSW Report Generator"; this.serviceInstaller.DisplayName = "NSW Report Generator TEST";
this.serviceInstaller1.ServiceName = "NSW Report Generator"; this.serviceInstaller.ServiceName = "NSW Report Generator TEST";
// //
// ProjectInstaller // ProjectInstaller
// //
this.Installers.AddRange(new System.Configuration.Install.Installer[] { this.Installers.AddRange(new System.Configuration.Install.Installer[] {
this.serviceProcessInstaller1, this.serviceProcessInstaller,
this.serviceInstaller1}); this.serviceInstaller});
} }
#endregion #endregion
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1; private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller;
private System.ServiceProcess.ServiceInstaller serviceInstaller1; private System.ServiceProcess.ServiceInstaller serviceInstaller;
} }
} }

View File

@ -117,10 +117,10 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="serviceProcessInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="serviceProcessInstaller.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 56</value>
</metadata> </metadata>
<metadata name="serviceInstaller1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="serviceInstaller.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>196, 17</value> <value>196, 17</value>
</metadata> </metadata>
<metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">