summaryrefslogtreecommitdiff
path: root/omnibus/resources
diff options
context:
space:
mode:
authorStuart Preston <stuart@chef.io>2018-03-03 16:49:20 -0800
committerStuart Preston <stuart@chef.io>2018-03-03 16:49:20 -0800
commit611c9cbb8e9cba16e6e6d85edcadde7e78349ea0 (patch)
tree686936de28788dc048eaa1d7a72204b86fa2dbc7 /omnibus/resources
parent599f0dfec0c8c2b0d6d6eaf2a594abeebf40ff66 (diff)
downloadchef-611c9cbb8e9cba16e6e6d85edcadde7e78349ea0.tar.gz
Initial commit of new Chef PowerShell support
Signed-off-by: Stuart Preston <stuart@chef.io>
Diffstat (limited to 'omnibus/resources')
-rw-r--r--omnibus/resources/chef/msi/source.wxs.erb30
1 files changed, 30 insertions, 0 deletions
diff --git a/omnibus/resources/chef/msi/source.wxs.erb b/omnibus/resources/chef/msi/source.wxs.erb
index 2249262b1f..7402007257 100644
--- a/omnibus/resources/chef/msi/source.wxs.erb
+++ b/omnibus/resources/chef/msi/source.wxs.erb
@@ -151,6 +151,35 @@
<Environment Id="ChefPSModulePathEnvironment"
Name="PSModulePath" Action="set" Part="last" System="yes" Value="[PSMODULES]" />
</Component>
+ <Component Id="ChefPowerShellRegistryEntries" Guid="{3715B7AB-C3CA-4C69-8FAF-79C8CF58FD89}">
+ <RegistryKey Root="HKCR" Key="Chef.PowerShell">
+ <RegistryValue Type="string" Value="Chef.PowerShell" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="Chef.PowerShell\CLSID">
+ <RegistryValue Type="string" Value="{9008CA83-83E4-41FF-9C07-696E2CC47B52}" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="CLSID\{9008CA83-83E4-41FF-9C07-696E2CC47B52}">
+ <RegistryValue Type="string" Value="Chef.PowerShell" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="CLSID\{9008CA83-83E4-41FF-9C07-696E2CC47B52}\InprocServer32">
+ <RegistryValue Type="string" Value="[System64Folder]mscoree.dll" />
+ <RegistryValue Type="string" Name="ThreadingModel" Value="Both" />
+ <RegistryValue Type="string" Name="Class" Value="Chef.PowerShell" />
+ <RegistryValue Type="string" Name="Assembly" Value="Chef.PowerShell, Version=1.0.12.0, Culture=neutral, PublicKeyToken=7def9f799d039a95" />
+ <RegistryValue Type="string" Name="RuntimeVersion" Value="v4.0.30319" />
+ <RegistryValue Type="string" Name="CodeBase" Value="[PSMODULES]chef\Chef.PowerShell.dll" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="CLSID\{9008CA83-83E4-41FF-9C07-696E2CC47B52}\InprocServer32\1.0.0.0">
+ <RegistryValue Type="string" Name="Class" Value="Chef.PowerShell" />
+ <RegistryValue Type="string" Name="Assembly" Value="Chef.PowerShell, Version=1.0.12.0, Culture=neutral, PublicKeyToken=7def9f799d039a95" />
+ <RegistryValue Type="string" Name="RuntimeVersion" Value="v4.0.30319" />
+ <RegistryValue Type="string" Name="CodeBase" Value="[PSMODULES]chef\Chef.PowerShell.dll" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="CLSID\{9008CA83-83E4-41FF-9C07-696E2CC47B52}\ProgId">
+ <RegistryValue Type="string" Value="Chef.PowerShell" />
+ </RegistryKey>
+ <RegistryKey Root="HKCR" Key="CLSID\{9008CA83-83E4-41FF-9C07-696E2CC47B52}\Implemented Categories\{62C8FE65-4EBB-45E7-B440-6E39B2CDBF29}" />
+ </Component>
</Directory>
<Directory Id="EMBEDDED" Name="embedded" >
<Directory Id="EMBEDDEDBIN" Name="bin" >
@@ -197,6 +226,7 @@
<ComponentRef Id="ChefClientPath" />
<ComponentRef Id="CONFIGLOCATIONDIR" />
<ComponentRef Id="ChefClientLog" />
+ <ComponentRef Id="ChefPowerShellRegistryEntries" />
</Feature>
<Feature Id="ChefPSModuleFeature" Title="!(loc.FeaturePSModuleName)" Level="1000" AllowAdvertise="no">