Updating the Installer for ExcelReadService

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

View File

@ -28,31 +28,32 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.serviceProcessInstallerTestExcel = new System.ServiceProcess.ServiceProcessInstaller(); this.serviceProcessInstallerExcel = new System.ServiceProcess.ServiceProcessInstaller();
this.serviceInstallerTestExcel = new System.ServiceProcess.ServiceInstaller(); this.serviceInstallerExcel = new System.ServiceProcess.ServiceInstaller();
// //
// serviceProcessInstallerTestExcel // serviceProcessInstallerExcel
// //
this.serviceProcessInstallerTestExcel.Password = null; this.serviceProcessInstallerExcel.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
this.serviceProcessInstallerTestExcel.Username = null; this.serviceProcessInstallerExcel.Password = null;
this.serviceProcessInstallerExcel.Username = null;
// //
// serviceInstallerTestExcel // serviceInstallerExcel
// //
this.serviceInstallerTestExcel.Description = "Test-Instance: Receives and processes Excel reports send via e-mail"; this.serviceInstallerExcel.Description = "Receives and processes Excel reports send via e-mail";
this.serviceInstallerTestExcel.DisplayName = "NSW Excel Report Test-Service "; this.serviceInstallerExcel.DisplayName = "NSW Excel Report Service ";
this.serviceInstallerTestExcel.ServiceName = "ExcelReadTestService"; this.serviceInstallerExcel.ServiceName = "ExcelReadService";
// //
// ProjectInstaller // ProjectInstaller
// //
this.Installers.AddRange(new System.Configuration.Install.Installer[] { this.Installers.AddRange(new System.Configuration.Install.Installer[] {
this.serviceInstallerTestExcel, this.serviceInstallerExcel,
this.serviceProcessInstallerTestExcel}); this.serviceProcessInstallerExcel});
} }
#endregion #endregion
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstallerTestExcel; private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstallerExcel;
private System.ServiceProcess.ServiceInstaller serviceInstallerTestExcel; private System.ServiceProcess.ServiceInstaller serviceInstallerExcel;
} }
} }

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="serviceProcessInstallerTestExcel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="serviceProcessInstallerExcel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value> <value>17, 52</value>
</metadata> </metadata>
<metadata name="serviceInstallerTestExcel.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="serviceInstallerExcel.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">