-
-
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
Universal NSIS setup file for x64+arm64 (WoA) is broken #5461
Comments
Current electron-builder/packages/app-builder-lib/templates/nsis/include/extractAppPackage.nsh Lines 8 to 13 in aa3625d
Only one of This also casues Also this part: electron-builder/packages/app-builder-lib/templates/nsis/include/extractAppPackage.nsh Lines 49 to 53 in aa3625d
|
@mmaietta @lutzroeder @develar -- Are the any ideas here on how to fix this? Since we recently recently got universal builds for Apple Silicon working, this has become an issue on the Windows end. Thanks! |
@eengoron @quanglam2807 can you have a look at #4416 and #4228 which included changes to these files. The commit was reverted as it included an NSIS version change that regressed other scenarios. @dangeredwolf might have some insights as well. |
@lutzroeder #4416 was not merged so #4228 changes remain intact and not reverted. I think we should try to fix |
@quanglam2807 makes sense and agree that fixing |
@lutzroeder What I did is a workaround for this situation so that we can have |
@gnattu yes, context was replying to @quanglam2807 relating to Mac support. For Mac |
@lutzroeder @gnattu @quanglam2807 Can you try using this script instead?
|
@mmaietta can you Zip and share |
@lutzroeder updated the comment to be the exact script instead of a patch. |
@mmaietta can make use of that script via some options (nsis/script or include) instead of patching electron-builder ? |
@matthiasg you can include custom scripts via EB config:
|
@mmaietta I tried that but it didn't work. It complained about duplicate macros. Also tried with |
@develar could you execute another pre-release cut to catch up with the latest changes on master please? 🙂 |
Merged in #5558 in v22.10.5 . Closing issue |
Universal NSIS setup file for x64+arm64 (Windows on ARM) is broken. Instead of installing the app, it wipes out the whole program directory, and copies only the
Uninstall ....exe
file (tested on x64 devices).Originally posted by @quanglam2807 in #4228 (comment)
The text was updated successfully, but these errors were encountered: