Class: Releasy::Builders::WindowsInstaller

Inherits:
OcraBuilder show all
Defined in:
lib/releasy/builders/windows_installer.rb

Overview

Builds a win32 installer for the application.

Constant Summary collapse

TYPE =
:windows_installer
INSTALLER_SCRIPT =
"windows_installer.iss"
DEFAULT_FOLDER_SUFFIX =
"WIN32_INSTALLER"

Constants inherited from OcraBuilder

OcraBuilder::ICON_EXTENSION, OcraBuilder::OCRA_COMMAND

Constants inherited from WindowsBuilder

Releasy::Builders::WindowsBuilder::EXECUTABLE_TYPES

Constants included from Mixins::Log

Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS

Instance Attribute Summary collapse

Attributes inherited from OcraBuilder

#icon, #ocra_parameters

Attributes inherited from WindowsBuilder

#executable_type, #icon

Attributes inherited from Builder

#project, #suffix

Method Summary

Methods inherited from OcraBuilder

#valid_for_platform?

Methods inherited from WindowsBuilder

#effective_executable_type

Methods included from Mixins::CanExcludeEncoding

#exclude_encoding

Methods inherited from Builder

#initialize, #type, #valid_for_platform?

Methods included from Mixins::Log

log_level, log_level=

Methods included from Mixins::HasPackagers

#add_package

Constructor Details

This class inherits a constructor from Releasy::Builders::Builder

Instance Attribute Details

#licenseString

Returns Filename of license file - Must be .txt or .rtf file, which will be shown to user who will be requested to accept it (Windows installer only).

Returns:

  • (String)

    Filename of license file - Must be .txt or .rtf file, which will be shown to user who will be requested to accept it (Windows installer only).



19
20
21
# File 'lib/releasy/builders/windows_installer.rb', line 19

def license
  @license
end

#readmeString

Returns File name of readme file - End user will have the option to view this after the Windows installer has installed, recommended to be .txt, .rtf or .html.

Returns:

  • (String)

    File name of readme file - End user will have the option to view this after the Windows installer has installed, recommended to be .txt, .rtf or .html.



17
18
19
# File 'lib/releasy/builders/windows_installer.rb', line 17

def readme
  @readme
end

#start_menu_groupString

Returns Optional start-menu grouping of the application when installed (if name == “app” and installer_group == “frog”, then it will get put into ‘frog/app’ in the start menu).

Returns:

  • (String)

    Optional start-menu grouping of the application when installed (if name == “app” and installer_group == “frog”, then it will get put into ‘frog/app’ in the start menu).



14
15
16
# File 'lib/releasy/builders/windows_installer.rb', line 14

def start_menu_group
  @start_menu_group
end