-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Windows 10 build Error (NSIS) #1850
Comments
|
Thanks for quick reply. |
Is your windows 64bit? |
Yes it is |
Well... something broken on your machine. Could you please try to reboot (sorry)? And provide result of command Is windows 10 updated to latest version and not updates to install? |
I checked the updates for the Win 10. There was only one .NET Framework update. I did the update and deleted the
|
Feel free to contact me directly using slack. Please check that there is dir |
yes there is a
|
So, I see Please set env PS. If you just want to work — may be copying |
Slack FTW :) Yes, privacy :) In the future, please, please inform in advance if you modify any line due to security reasons — we are opensorce project and it will save our time. Problem — username contains unicode symbols. |
FYI: Deleting Using: "electron-builder": "^19.49.2", |
Hi Has this error been resolved? Error:
Any help would be appreciated. Regards Mark |
copy all plugins from nsis-resources to nsis-3.0.1.13 |
Hi @develar ! Is there a solution/workaround for this issue? |
@clusterberries Please provide actual error output via Slack DM. |
I have found the same problem when buliding exe file on win10 |
The windows setup installer can't install |
Same here |
Same here. Win10 + electron-builder v21.2.0. The Setup.exe hangs halfway through its progress bar. |
Fixed by following suggestions from #4057, #4443, and https://www.howtogeek.com/314734/how-to-manually-remove-programs-from-the-windows-uninstall-program-list/ |
@MBetters did you solve this locally just for your installation? |
@damianobarbati All I did was...
So really I should say that I just followed https://www.howtogeek.com/314734/how-to-manually-remove-programs-from-the-windows-uninstall-program-list/, which I discovered via #4057. |
Same error w. 20.39.0 version. My application consists in a React main process that launch 2 python processes (with large .WAV file), since I remove both of them the build is succesful. Maybe you should try a build without large files that may be present in your source code ! |
Same error with electron-builder 22.3.2 building windows nsis, nsis-exe and portable on a windows 10. The build is successful when deleting large files (~4GB total), but electron-builder gives this error when I attempt to build with them:
The solutions above were not helpful for my case. Is there a known work around? eg can I build and paste the large files in after the fact? Thanks! |
Yes you can build and paste the large files after the operation ! I'm currently doing that for my project that includes 3Gb of audio files. But before you should try asarUnpack option in your package.json build section, can also work for some medium-sized files that might not be compiled or optimized.
|
I got the same error as the issue creator. None of the suggestions above solved it. It turned out that Windows Security was blocking it; It's categorizing the uninstaller as a trojan. Version info:
The project is a minimal hello world project. |
I'm on 22.6.0 now and it's still happening, but not because of a Trojan. It seems to only happen when building two different apps one after the other. I worked around it by using a different cache directory per app, i.e. setting |
I renoved this part from my "contributors": [
"Name1 Last1 <name1@gmail.com>",
"Name2 Last2 <name2@gmail.com>"
], See also here: electron-userland/electron-builder-binaries#38 (comment) |
This worked for me! #3243 (comment) |
First download zip by this URL: https://github.com/electron-userland/electron-builder-binaries/releases/download/nsis-resources-3.4.1/nsis-resources-3.4.1.7z Copy this zip file here : C:\Users\Benny\AppData\Local\electron-builder\cache\nsis\nsis-3.0.4.1 Extract zip here: : C:\Users\Benny\AppData\Local\electron-builder\cache\nsis\nsis-3.0.4.1 Now add these line in package.json file. create new folder (Folder name: build) in your project directory. !macro customInstall Now run again build command. electron-builder --win Now its working properly. |
I was having the same problem. |
Error in macro x64_app_files on macroline 1 Randomly started happening... |
Version: 19.8.0
Target: Windows
Hi;
When I run npm run dev my app works fine. When I try to build app with npm run package I get an error while NSIS packaging stage.
Can someone direct me to the right way please. I'm pretty lost for now.
The text was updated successfully, but these errors were encountered: