wixgem 0.43.0 → 0.44.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.md +6 -3
- data/lib/wixgem.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0633834fc2779a21770a317a81add6df7811980a
|
|
4
|
+
data.tar.gz: f407a17265028f320827c8c367a6377c83ea763c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32c53f543779af8410ec19caccc0ddfeca897f8713172376113093afce533afdcbf280109d1b8a011d127dd6446e7107152ef90a795c27d53df2064a019d69db
|
|
7
|
+
data.tar.gz: eac0fb6f972138328d7dd3d32475a93f8a26c03bea7758063aa4d4c177a6528355db89ecda93f13eb6a87c0a9ff7124dee8378856960ec331e2a14f6e314103e
|
data/README.md
CHANGED
|
@@ -56,11 +56,14 @@ small set of optional arguments allowing the developer to customize the generate
|
|
|
56
56
|
* **remove_existing_products**: A boolean value. If the value is true the installation will remove all existing
|
|
57
57
|
installations of the product before installing the product.
|
|
58
58
|
* **all_users**: String value perUser or perMachine. The default is perUser.
|
|
59
|
-
* **debug**: Boolean value. If debug is true the Product's wxs file and a log file are copied
|
|
60
|
-
to the same directory as the output msi file. This can help trouble shoot the
|
|
61
|
-
installation.
|
|
62
59
|
* **suppress_registry_harvesting** Suppress registry harvesting. Can fix the Runtime Error E6034.
|
|
63
60
|
* **suppress_COM_elements** Suppress COM elements.
|
|
61
|
+
* **installer_version** Represents the minimum version of the Windows installer required to install
|
|
62
|
+
this package. The default version is 4.0. Other valid versions are 2.0,
|
|
63
|
+
3.0, 3.5, 4.0, 4.5.
|
|
64
|
+
* **debug**: Boolean value. If debug is true the Product's wxs file and a log file are copied
|
|
65
|
+
to the same directory as the output msi file. If you are familiar with WiX this can helpful
|
|
66
|
+
if there is a problem.
|
|
64
67
|
|
|
65
68
|
## License
|
|
66
69
|
Copyright 2013-2014 Kevin Marshall
|
data/lib/wixgem.rb
CHANGED
|
@@ -218,7 +218,11 @@ class Wix
|
|
|
218
218
|
|
|
219
219
|
xml_doc = REXML::Document.new(wxs_text)
|
|
220
220
|
packages = REXML::XPath.match(xml_doc, '//Wix/Product/Package')
|
|
221
|
-
packages.each
|
|
221
|
+
packages.each do |package|
|
|
222
|
+
package.add_attribute('InstallScope', 'perMachine') if(input.has_key?(:all_users))
|
|
223
|
+
package.attributes['InstallerVersion'] = 450
|
|
224
|
+
package.attributes['InstallerVersion'] = (input[:installer_version]*100).to_i if(input.has_key?(:installer_version))
|
|
225
|
+
end
|
|
222
226
|
|
|
223
227
|
xml_doc = manage_custom_actions(xml_doc, input)
|
|
224
228
|
xml_doc = manage_upgrade(xml_doc,input)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: wixgem
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.44.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Marshall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|