diff options
author | Matt Wrock <matt@mattwrock.com> | 2015-12-07 21:17:03 -0800 |
---|---|---|
committer | Matt Wrock <matt@mattwrock.com> | 2015-12-07 21:17:03 -0800 |
commit | 3e704d162e3ef5dff9e929eca7c82b48c4d66305 (patch) | |
tree | 8b2532bd8208edc62b86ca9ef3ddaf5dc443f9ab /lib/chef/win32/file.rb | |
parent | dc98ac77aafe4676a45eb16a991f982d20130ed2 (diff) | |
download | chef-3e704d162e3ef5dff9e929eca7c82b48c4d66305.tar.gz |
adds support to installer types inno, nsis, wise and installshield top the windows_package resource
Diffstat (limited to 'lib/chef/win32/file.rb')
-rw-r--r-- | lib/chef/win32/file.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/win32/file.rb b/lib/chef/win32/file.rb index 700ddb24d3..abfad91fdb 100644 --- a/lib/chef/win32/file.rb +++ b/lib/chef/win32/file.rb @@ -150,6 +150,10 @@ class Chef Info.new(file_name) end + def self.version_info(file_name) + VersionInfo.new(file_name) + end + def self.verify_links_supported! begin CreateSymbolicLinkW(nil) @@ -211,3 +215,4 @@ class Chef end require 'chef/win32/file/info' +require 'chef/win32/file/version_info' |