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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README +30 -34
  3. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 123f64908ff26917e1e170bb4d8977a46d877722
4
- data.tar.gz: dac590a5d7a447cc5e48355cd82a8ada0c5ecf9f
3
+ metadata.gz: 74a0f7ea89cc7c20ddb6a316599916676a162895
4
+ data.tar.gz: e1af9838863762efcd109eb24256f47edfb32d1a
5
5
  SHA512:
6
- metadata.gz: 229ff61e59db6603725f03bf39ab390922476ff1eac3956bb5126fb5a5114715d64dc8b9454d763f6246f6523a455174b669e77354e5ce665895ee3312630726
7
- data.tar.gz: 419a8b924e3e434fef496dbde732bc900a5e1bb57c9abaaa948147fc2bc160bd0f5857e46f2290112132698a0650a831a6bf9454279e01dcf6e829d2148f9b40
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
- require 'wixgem'
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
- WIX_TOOLSET_ROOT='C:/Development/dep/OpenSource/WixToolset/3.8'
17
-
18
- task :create_installation_files do
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
- installation_files = Dir.glob('./install_files/**/*')
30
- Wix.make_installation("./example.msi",
28
+ installation_files = Dir.glob('./install_files/**/*')
29
+ Wix.make_installation("./example.msi",
31
30
  {
32
31
  manufacturer: 'Company', version: "1.0.0",
33
- product_code: '{69d12c6c-63be-43e4-92ff-e31ec3c86dc0}',
34
- upgrade_code: '{a62c35a7-6a6d-4392-822b-f6aca7eef88b}',
35
- files: installation_files
36
- } )
37
- end
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.9.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: