WindowsInstaller 0.1.17 → 0.1.20
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b7903375aebbbda81cb7ee7e36822c95e78c8f9
|
4
|
+
data.tar.gz: 7c6506d8d6a72ba761679d3b55195314ffe7d82d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c2f12f8016b470773db8fbc177a08145861b54e9962a051b3823e3a35221129e58cb2c386c8dcb98c5676d0d4d92dfbd96743bb1acdbc0ed28fec9eb7fabef1
|
7
|
+
data.tar.gz: 0af26f48d67f769c441ed05f93bf14f121aa4abd2f39443c2d2007f5d2925b70e0b8116541a07a320a617cbbf47fcdf83d48c5af5c6aaa4fa16751e8bfc923c9
|
data/lib/WindowsInstaller.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'win32ole'
|
2
|
-
require '
|
2
|
+
require 'execute'
|
3
3
|
require 'sys/proctable'
|
4
4
|
|
5
5
|
class WindowsInstaller < Hash
|
@@ -189,14 +189,14 @@ class WindowsInstaller < Hash
|
|
189
189
|
if(self.has_key?(:administrative_user))
|
190
190
|
msiexec_admin(cmd, cmd_options)
|
191
191
|
else
|
192
|
-
command =
|
192
|
+
command = Execute.new(cmd, cmd_options)
|
193
193
|
command.execute
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
197
197
|
def msiexec_admin(cmd, options)
|
198
198
|
cmd = "runas /noprofile /savecred /user:#{self[:administrative_user]} \"#{cmd}\""
|
199
|
-
command =
|
199
|
+
command = Execute.new(cmd, options)
|
200
200
|
wait_on_spawned(cmd) { cmd.execute }
|
201
201
|
end
|
202
202
|
|
metadata
CHANGED
@@ -1,31 +1,31 @@
|
|
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.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: execute
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :
|
19
|
+
version: 0.1.63
|
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:
|
26
|
+
version: 0.1.63
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: dev
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|