summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2016-01-15 09:35:54 -0800
committerMatt Wrock <matt@mattwrock.com>2016-01-15 09:35:54 -0800
commit37cb1f8fd3eb988fd34d17d94e0d8a9eef05b27b (patch)
treedc14d3de0a3256dd08ba8dc49bb7c2088187eec9
parentc0e4c98ed9630edda0d2285897a7dc6af57e26b7 (diff)
parentfb599d6d6bdb02cb8a9f5905f617ba974e3f39fd (diff)
downloadchef-37cb1f8fd3eb988fd34d17d94e0d8a9eef05b27b.tar.gz
Merge pull request #4413 from chef/svc_location
configure chef client windows service to the correct chef directory
-rw-r--r--omnibus/resources/chef/msi/source.wxs.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/omnibus/resources/chef/msi/source.wxs.erb b/omnibus/resources/chef/msi/source.wxs.erb
index d9c05127ed..f9c2b55cde 100644
--- a/omnibus/resources/chef/msi/source.wxs.erb
+++ b/omnibus/resources/chef/msi/source.wxs.erb
@@ -96,7 +96,7 @@
<File Id="RubyExecutable" Source="$(var.ProjectSourceDir)\embedded\bin\ruby.exe" KeyPath="yes" />
<ServiceInstall Name="chef-client" Type="ownProcess"
Start="auto" Vital="yes" ErrorControl="ignore"
- Arguments="$(var.ProjectSourceDir)\bin\chef-windows-service"
+ Arguments="[PROJECTLOCATION]\bin\chef-windows-service"
DisplayName="!(loc.ServiceDisplayName)"
Description="!(loc.ServiceDescription)">
<ServiceDependency Id="Winmgmt" />