diff --git a/website/docs/guides/windows-installer.mdx b/website/docs/guides/windows-installer.mdx index eaeae01e..2767a93b 100644 --- a/website/docs/guides/windows-installer.mdx +++ b/website/docs/guides/windows-installer.mdx @@ -2,10 +2,16 @@ Wails supports generating Windows installers using the [NSIS installer](https://nsis.sourceforge.io/). +

+
+

+ ## Installing NSIS ### Windows +The installer is available on the [NSIS Download](https://nsis.sourceforge.io/Download) page. + If you use the chocolatey package manager, run the following script: ``` choco install nsis @@ -23,11 +29,23 @@ NSIS is available to install through homebrew: `brew install nsis`. ## Generating the installer -When a new project is created, Wails generates a `.nsi` installer script in `build/windows/installer`. +When a new project is created, Wails generates a `.nsi` installer script in `build/windows/installer`. The config +data is read from the project's `wails.json` so you can use this to configure the installer: + +```json +// ... + "Info": { + "companyName": "wailsvite", + "productName": "wailsvite", + "productVersion": "1.0.0", + "copyright": "Copyright.........", + "comments": "Built using Wails (https://wails.app)" + }, +``` To generate an installer for your application, use the `-nsis` flag with `wails build`: ``` wails build -nsis ``` - +The installer will now be available in the `build/bin` directory. diff --git a/website/static/img/nsis.png b/website/static/img/nsis.png new file mode 100644 index 00000000..366d2d54 Binary files /dev/null and b/website/static/img/nsis.png differ