nwixtoolset
Version:
Node module wrapper around the WIX Toolset executables.
50 lines (49 loc) • 2.21 kB
TypeScript
import { RunResult } from "./run";
import { CommonWIXOptions } from "./util";
/**
* Takes an XML output patch file (.wixmsp) and one or more XML transform files (.wixmst) and produces an .msp file.
*
* @param src The wixmsp file to process.
* @param dest Specify output file.
* @param [options] Options for the compiler.
*/
export declare function pyro(src: string, dest: string, options?: PyroOptions): Promise<RunResult>;
/** Options for the Pyro executable. */
export interface PyroOptions extends CommonWIXOptions {
/** Allow patches to be created with one or more empty product transforms. */
allowEmptyPatch?: boolean;
/**
* New bind path to replace the original target path.
* It accepts two formats matching the exact light behavior.
* (example: name1=c:\feature1\component1 or c:\feature2)
*/
newBindPath?: string;
/**
* New bind paths to replace the bind paths for the updated input.
* It accepts two formats matching the exact light behavior.
* (example: name1=c:\feature1\component1 or c:\feature2)
*/
updateBindPath?: string;
/** Path to cache built cabinets. */
cacheCabs?: string;
/** Create binary delta patch (instead of whole file patch). */
delta?: boolean;
/** Update 'fileVersion' entries in the MsiAssemblyName table. */
fileVersion?: boolean;
/** Do not delete temporary files (useful for debugging). */
notidy?: boolean;
/** Save the WixPdb to a specific file (default: same name as output with wixpdb extension). */
pdbout?: string;
/** Reuse cabinets from cabinet cache. */
reuseCab?: boolean;
/** Suppress assemblies: do not get assembly name information for assemblies. */
suppressAssemblies?: boolean;
/** Suppress files: do not get any file information (equivalent to `suppressAssemblies` and `suppressFileInfo`). */
suppressFiles?: boolean;
/** Suppress file info: do not get hash, version, language, etc. */
supressFileInfo?: boolean;
/** Suppress outputting the WixPdb. */
suppressPdb?: boolean;
/** Transform one or more wix transforms and its baseline. */
transform?: string | string[];
}