Function tugger_wix::run_light

source ·
pub fn run_light<P1: AsRef<Path>, P2: AsRef<Path>, P3: AsRef<Path>, P4: AsRef<Path>, S: AsRef<str>>(
    wix_toolset_path: P1,
    build_path: P2,
    wixobjs: impl Iterator<Item = P3>,
    variables: impl Iterator<Item = (S, Option<S>)>,
    output_path: P4
) -> Result<()>
Expand description

Run light.exe against multiple .wixobj files to link them together.

wix_toolset_path is the directory where light is located.

build_path is the current working directory of the invoked process.

wixobjs is an iterable of paths defining .wixobj files to link together.

variables are extra variables to define via -d<k>[=<v>].