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

Include or use NSIS function inside custom script #3871

Closed
agjs opened this issue May 3, 2019 · 1 comment
Closed

Include or use NSIS function inside custom script #3871

agjs opened this issue May 3, 2019 · 1 comment
Labels

Comments

@agjs
Copy link

agjs commented May 3, 2019

This issue has been closed in #1122 but it has not been fixed.

I can't seem to be able to use a function inside the custom script at all. Doesn't matter if I include it or declare it inside of the custom script.

I have tried wrapping a function inside of a section, no luck. Tried calling it inside of a macro, no luck either. Am I doing something wrong or is this simply an issue with electron-builder?

Here is the error:

warning 6010: install function "functionName" not referenced - zeroing code (21-51) out

Note: you may have one or two (large) stale temporary file(s) left in your temporary directory (Generally this only happens on Windows 9x).

Error output:
Error: warning treated as error

   at ChildProcess.childProcess.once.code (C:\Users\User\Desktop\xxxxxx\node_modules\electron-builder\node_modules\builder-util\src\util.ts:244:14)
   at Object.onceWrapper (events.js:273:13)
   at ChildProcess.emit (events.js:182:13)
   at maybeClose (internal/child_process.js:961:16)
   at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)```
@stale
Copy link

stale bot commented Jul 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant