wixgem 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README +30 -34
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74a0f7ea89cc7c20ddb6a316599916676a162895
|
4
|
+
data.tar.gz: e1af9838863762efcd109eb24256f47edfb32d1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6793aa6eccf6dab2721d427e744089d63cdd07169667642031a820167add09e4c34146d2f9566044e7519acaf953638fd7a08eec24fd8f23dbae7a201b2231
|
7
|
+
data.tar.gz: e500b29820ec4aaf2acb847560e757f260fa9011b951e7dd37b9d83fe83efc98d3c0d442fe62cd777d53acc079b799050a0777e9b5a0c164930170b1e4b29657
|
data/README
CHANGED
@@ -7,44 +7,44 @@ wixgem can be installed by the single command
|
|
7
7
|
gem install wixgem
|
8
8
|
|
9
9
|
==Usage
|
10
|
-
The wix toolset must be installed
|
10
|
+
The wix toolset must be installed.
|
11
11
|
|
12
12
|
In a rakefile define an installation task:
|
13
|
+
require 'wixgem'
|
14
|
+
|
15
|
+
WIX_TOOLSET_ROOT='path to root of Wix toolset'
|
13
16
|
|
14
|
-
|
17
|
+
task :create_installation_files do
|
18
|
+
FileUtils.mkpath('./install_files/directory')
|
19
|
+
sleep(1)
|
20
|
+
File.open('./install_files/file1.txt', 'w') { |f| f.write('Hello World') }
|
21
|
+
File.open('./install_files/directory/file2.txt', 'w') { |f| f.write('Hello World') }
|
22
|
+
end
|
15
23
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
FileUtils.mkpath('./install_files/directory')
|
20
|
-
sleep(1)
|
21
|
-
File.open('./install_files/file1.txt', 'w') { |f| f.write('Hello World') }
|
22
|
-
File.open('./install_files/directory/file2.txt', 'w') { |f| f.write('Hello World') }
|
23
|
-
end
|
24
|
-
|
25
|
-
desc "Generate an installation msi file"
|
26
|
-
task :installation => [:create_installation_files] do
|
27
|
-
Wix.install_path = WIX_TOOLSET_ROOT
|
24
|
+
desc "Generate an installation msi file"
|
25
|
+
task :installation => [:create_installation_files] do
|
26
|
+
Wix.install_path = WIX_TOOLSET_ROOT
|
28
27
|
|
29
|
-
|
30
|
-
|
28
|
+
installation_files = Dir.glob('./install_files/**/*')
|
29
|
+
Wix.make_installation("./example.msi",
|
31
30
|
{
|
32
31
|
manufacturer: 'Company', version: "1.0.0",
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
32
|
+
product_code: '{69d12c6c-63be-43e4-92ff-e31ec3c86dc0}',
|
33
|
+
upgrade_code: '{a62c35a7-6a6d-4392-822b-f6aca7eef88b}',
|
34
|
+
files: installation_files
|
35
|
+
}
|
36
|
+
)
|
37
|
+
end
|
38
|
+
|
39
|
+
task :mergemodule => [:create_installation_files] do
|
40
|
+
installation_files = Dir.glob('./install_files/**/*')
|
41
|
+
|
42
|
+
Wix.install_path = WIX_TOOLSET_ROOT
|
43
|
+
Wix.make_mergemodule('./example.msm', installation_files)
|
44
|
+
end
|
45
|
+
|
46
|
+
task :default => [:create_installation]
|
38
47
|
|
39
|
-
task :mergemodule => [:create_installation_files] do
|
40
|
-
installation_files = Dir.glob('./install_files/**/*')
|
41
|
-
|
42
|
-
Wix.install_path = WIX_TOOLSET_ROOT
|
43
|
-
Wix.make_mergemodule('./example.msm', installation_files)
|
44
|
-
end
|
45
|
-
|
46
|
-
task :default => [:create_installation]
|
47
|
-
|
48
48
|
==License
|
49
49
|
Copyright 2013-2014 Kevin Marshall
|
50
50
|
|
@@ -60,7 +60,3 @@ Copyright 2013-2014 Kevin Marshall
|
|
60
60
|
See the License for the specific language governing permissions and
|
61
61
|
limitations under the License.
|
62
62
|
|
63
|
-
===Simplest usage
|
64
|
-
|
65
|
-
==Reference
|
66
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wixgem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Marshall
|
@@ -148,3 +148,4 @@ signing_key:
|
|
148
148
|
specification_version: 4
|
149
149
|
summary: Simple Ruby interface to facilitate working with Wix Toolset
|
150
150
|
test_files: []
|
151
|
+
has_rdoc:
|