WixHelper

com.typesafe.sbt.packager.windows.WixHelper
object WixHelper

Helper functions to deal with Wix/CAB craziness.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
WixHelper.type

Members list

Value members

Concrete methods

def cleanFileName(n: String): String

Cleans a file name for the Wix pre-processor. Every $ should be doubled.

Cleans a file name for the Wix pre-processor. Every $ should be doubled.

Attributes

def cleanStringForId(n: String): String

Modifies a string to be Wix ID friendly by removing all the bad characters and replacing with _. Also limits the width to 70 (rather than 72) so we can safely add a few later.

Modifies a string to be Wix ID friendly by removing all the bad characters and replacing with _. Also limits the width to 70 (rather than 72) so we can safely add a few later.

Attributes

def cleanStringWithPostfix(n: String, num: Int, postfix: String): String
def generateComponentsAndDirectoryXml(dir: File, id_prefix: String): (Seq[String], Node)

Constructs a set of componentRefs and the directory/file WIX for all files in a given directory.

Constructs a set of componentRefs and the directory/file WIX for all files in a given directory.

Attributes

Returns

A tuple where the first item is all the Component Ids created, and the second is the Directory/File/Component XML.

Wix namespace changed from major version 3 to 4. TODO: Not sure if schema of 2006 is compatible with major versions < 3

Wix namespace changed from major version 3 to 4. TODO: Not sure if schema of 2006 is compatible with major versions < 3

Attributes

def makeGUID: String

Generates a windows friendly GUID for use in random locations in the build.

Generates a windows friendly GUID for use in random locations in the build.

Attributes

def makeGUID(name: String): String

If the SOURCE_DATE_EPOCH environment variable is defined, create a reproducible name-based UUID using a provided name and the epoch. This assumes that all name passed to this function are unique. If the environment variable is not provided, his returns a random UUID

If the SOURCE_DATE_EPOCH environment variable is defined, create a reproducible name-based UUID using a provided name and the epoch. This assumes that all name passed to this function are unique. If the environment variable is not provided, his returns a random UUID

Attributes

def makeIdFromFile(f: File): String

Takes a file and generates an ID for it.

Takes a file and generates an ID for it.

Attributes

def makeWixConfig(name: String, product: WindowsProductInfo, namespaceDefinitions: NamespaceDefinitions, rest: Node): Node
def makeWixProductConfig(name: String, product: WindowsProductInfo, features: Seq[WindowsFeature], license: Option[File]): Node