Class: Wix

Inherits:
Object
  • Object
show all
Defined in:
lib/wixgem.rb

Class Method Summary collapse

Class Method Details

.debugObject



21
22
23
# File 'lib/wixgem.rb', line 21

def self.debug
  return @debug
end

.debug=(bool) ⇒ Object



18
19
20
# File 'lib/wixgem.rb', line 18

def self.debug=(bool)
  @debug = bool
end

.initializeObject



7
8
9
10
# File 'lib/wixgem.rb', line 7

def self.initialize
  @install_path = ''
	@debug = false
end

.install_pathObject



14
15
16
# File 'lib/wixgem.rb', line 14

def self.install_path
  return @install_path
end

.install_path=(path) ⇒ Object



11
12
13
# File 'lib/wixgem.rb', line 11

def self.install_path=(path)
  @install_path = path
end

.make_installation(output_file, input) ⇒ Object



30
31
32
33
# File 'lib/wixgem.rb', line 30

def self.make_installation(output_file, input)
  gem_dir = File.dirname(__FILE__)
  apply_wix_template(output_file, input, "#{gem_dir}/templates/Install.wxs")
end

.make_mergemodule(output_file, input) ⇒ Object



25
26
27
28
# File 'lib/wixgem.rb', line 25

def self.make_mergemodule(output_file, input)
  gem_dir = File.dirname(__FILE__)
  apply_wix_template(output_file, input, "#{gem_dir}/templates/mergemodule.wxs")
end