WindowsInstaller 0.1.26 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/WindowsInstaller.rb +3 -3
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9921e2472c23fd4886a164740d681855777d6591367de36f696bf56b5248a22
|
4
|
+
data.tar.gz: 7115cffd2462c008c2902a1681aacbe53c643d9fe2b40083d6e54a55bbb42739
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8f5d9a9c419520e07aeda3badff66b776618511ade0441cf8438ee1347dea8d5dc2e8cf707f6713f81fc4a79a9785c372e07db0646586ba4f91ec826bfb9004
|
7
|
+
data.tar.gz: 90f89fe1b66ab41cbcb541cfa5f5206122b7da9d51073e3e9540cf563e69b48c9c8803c65e8b1475a2419cd73d2c82b23e1a8a14dcd67fe231a78e908a5678c1
|
data/lib/WindowsInstaller.rb
CHANGED
@@ -34,7 +34,7 @@ class WindowsInstaller < Hash
|
|
34
34
|
end
|
35
35
|
|
36
36
|
def install_msi(msi_file)
|
37
|
-
raise "#{msi_file} does not exist!" unless(File.
|
37
|
+
raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
|
38
38
|
|
39
39
|
msi_file = File.absolute_path(msi_file).gsub(/\//, '\\')
|
40
40
|
|
@@ -47,7 +47,7 @@ class WindowsInstaller < Hash
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def uninstall_msi(msi_file)
|
50
|
-
raise "#{msi_file} does not exist!" unless(File.
|
50
|
+
raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
|
51
51
|
info = msi_properties(msi_file)
|
52
52
|
uninstall_product_code(info['ProductCode'])
|
53
53
|
end
|
@@ -72,7 +72,7 @@ class WindowsInstaller < Hash
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def msi_properties(msi_file)
|
75
|
-
raise "#{msi_file} does not exist!" unless(File.
|
75
|
+
raise "#{msi_file} does not exist!" unless(File.exist?(msi_file))
|
76
76
|
|
77
77
|
properties = {}
|
78
78
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: WindowsInstaller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execute
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.79
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.79
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
description: Class wrapper for Microsoft Windows WindowsInstaller object
|
84
|
-
email:
|
84
|
+
email:
|
85
85
|
executables: []
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
@@ -92,7 +92,7 @@ homepage: http://rubygems.org/gems/WindowsExecute
|
|
92
92
|
licenses:
|
93
93
|
- Apache 2.0
|
94
94
|
metadata: {}
|
95
|
-
post_install_message:
|
95
|
+
post_install_message:
|
96
96
|
rdoc_options: []
|
97
97
|
require_paths:
|
98
98
|
- lib
|
@@ -100,15 +100,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 3.0.0
|
104
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubygems_version: 3.
|
111
|
-
signing_key:
|
110
|
+
rubygems_version: 3.2.15
|
111
|
+
signing_key:
|
112
112
|
specification_version: 4
|
113
113
|
summary: Class wrapper for Microsoft Windows WindowsInstaller object
|
114
114
|
test_files: []
|