Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building an installer using nsis #3692

Open
Nightsee opened this issue Aug 19, 2024 · 1 comment
Open

building an installer using nsis #3692

Nightsee opened this issue Aug 19, 2024 · 1 comment
Labels
awaiting feedback More information is required from the requestor Bug Something isn't working

Comments

@Nightsee
Copy link

Description

when i try building an installer for the app, using : # wails build -nsis i get the following error.

Creating NSIS installer

  • Building 'amd64' installer: Command line defined: "ARG_WAILS_AMD64_BINARY=C:\Users\pc\Desktop\GO\GO GUI\SecretKee\testingwails\build\bin\testingwails.exe"
    Processing config: C:\Program Files (x86)\NSIS\nsisconf.nsh
    Processing script file: "project.nsi" (ACP)

!insertmacro: macro "_If" requires 4 parameter(s), passed 2!
Error in macro wails.checkArchitecture on macroline 11
Error in script "project.nsi" on line 79 -- aborting creation process

ERROR Error during creation of the installer: exit status 1

To Reproduce

open the default template project in wailsjs. then try building it using nsis: wails build -nsis

Expected behaviour

it should work

Screenshots

No response

Attempted Fixes

No response

System Details

i am on the latest version of wails and nsis, and im on windows 11

Additional context

No response

@Nightsee Nightsee added the Bug Something isn't working label Aug 19, 2024
@leaanthony
Copy link
Member

First hit on google: https://nsis-dev.github.io/NSIS-Forums/html/t-361280.html - does that work for you?

@leaanthony leaanthony added the awaiting feedback More information is required from the requestor label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting feedback More information is required from the requestor Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants