Skip to content

Commit

Permalink
added servicename/displayname to SCM image path
Browse files Browse the repository at this point in the history
  • Loading branch information
drusellers committed May 27, 2011
1 parent 4a2f1cc commit 0772a8c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Topshelf/Hosts/AbstractInstallerHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ Installer CreateInstaller()
if (_description.InstanceName.IsNotEmpty())
arguments += " -instance:{0}".FormatWith(_description.InstanceName);

if (_description.DisplayName.IsNotEmpty())
arguments += " -displayname:{0}".FormatWith(_description.DisplayName);

if (_description.Name.IsNotEmpty())
arguments += " -servicename:{0}".FormatWith(_description.Name);

var installer = new HostInstaller(_description, arguments, installers);

return installer;
Expand Down

0 comments on commit 0772a8c

Please sign in to comment.