[Home](./index.md) > [@keymanapp/kmc-package](./kmc-package.md) > [WindowsPackageInstallerCompiler](./kmc-package.windowspackageinstallercompiler.md) > [write](./kmc-package.windowspackageinstallercompiler.write.md) ## WindowsPackageInstallerCompiler.write() method Write artifacts from a successful compile to disk, via callbacks methods. The artifacts written may include: - .exe file - binary Windows package installer executable file **Signature:** ```typescript write(artifacts: WindowsPackageInstallerCompilerArtifacts): Promise; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | artifacts | [WindowsPackageInstallerCompilerArtifacts](./kmc-package.windowspackageinstallercompilerartifacts.md) | object containing artifact binary data to write out | **Returns:** Promise<boolean> true on success