summaryrefslogtreecommitdiff
path: root/DOC_CHANGES.md
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2014-02-27 13:50:40 -0800
committerBryan McLellan <btm@loftninjas.org>2014-03-27 19:19:34 -0400
commit9e9cab6a89d9dab4ddf852b88eb522610d89f2d8 (patch)
treee5799c600477a37331f66e618201a042413e60e1 /DOC_CHANGES.md
parentdf07eaf9e8905ca1fce72cf3186b30c600fd7251 (diff)
downloadchef-9e9cab6a89d9dab4ddf852b88eb522610d89f2d8.tar.gz
CHEF-5087: Add a Windows Installer package provider
Adds the framework for a windows package provider, which must determine the correct provider by examining metadata about the source file, or the source file itself. Provides FFI based access to the Windows Installer functions to retrieve metadata from the MSI files and from the Windows product database. Combines both of these into an MSI package provider. Continues to work alongside the windows_package LWRP.
Diffstat (limited to 'DOC_CHANGES.md')
-rw-r--r--DOC_CHANGES.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md
index f29af23d30..e5f1c2a481 100644
--- a/DOC_CHANGES.md
+++ b/DOC_CHANGES.md
@@ -140,3 +140,32 @@ The default value of this setting is `false`
feature. Enabling this on a client that connects to a 10.X API server
will cause client registration to silently fail. Don't do it.
+### Windows Installer (MSI) Package Provider
+
+The windows_package provider installs and removes Windows Installer (MSI) packages.
+This provider utilizies the ProductCode extracted from the MSI package to determine
+if the package is currently installed.
+
+You may use the ```package``` resource to use this provider, and you must use the
+```package``` resource if you are also using the windows cookbook, which contains
+the windows_package LWRP.
+
+#### Example
+
+```
+package "7zip" do
+ action :install
+ source 'C:\7z920.msi'
+end
+```
+
+#### Actions
+* :install
+* :remove
+
+#### Attributes
+* source - The location of the package to install. Default value: the ```name``` of the resource.
+* options - Additional options that are passed to msiexec.
+* installer_type - The type of package being installed. Can be auto-detected. Currently only :msi is supported.
+* timeout - The time in seconds allowed for the package to successfully be installed. Defaults to 600 seconds.
+* returns - Return codes that signal a successful installation. Defaults to 0.