| Summary: | update nsis package to 3.x to support cross compiling Windows installer compatible with Windows 10 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Gilles Caulier <caulier.gilles> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | geiger.david68210, herman.viaene, marja11, sysadmin-bugs |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-32-OK | ||
| Source RPM: | mingw-nsis-2.50-2.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Gilles Caulier
2017-10-07 07:05:34 CEST
Assigning to the registered maintainer of mingw-nsis, CC'ing daviddavid Assignee:
bugsquad =>
mageia Done! mingw-nsis updated to 3.01 release on Cauldron and also on mga6/Core/Updates_testing repo. Please test it, thanks in advance. Excelent. I will test this tomorrow morning. Thanks Gilles Caulier Your new NSIS 3.01 package work as expected : ---------- Strip symbols in binary files ---------- Build NSIS installer Command line defined: "VERSION=5.8.0" Command line defined: "BUNDLEPATH=/home/gilles/Documents/GIT/5.x/project/bundles/mxe/temp" Command line defined: "TARGETARCH=32" Command line defined: "OUTPUT=/home/gilles/Documents/GIT/5.x/project/bundles/mxe/bundle/digiKam-5.8.0-01-Win32.exe" Processing config: /etc/nsisconf.nsh Processing script file: "./digikam.nsi" (UTF8) Processed 1 file, writing output (x86-ansi): Output: "/home/gilles/Documents/GIT/5.x/project/bundles/mxe/bundle/digiKam-5.8.0-01-Win32.exe" Install: 7 pages (448 bytes), 1 section (32792 bytes), 5887 instructions (164836 bytes), 6078 strings (200622 bytes), 56 language tables (18928 bytes). Uninstall: 4 pages (320 bytes), 1 section (32792 bytes), 228 instructions (6384 bytes), 2622 strings (77087 bytes), 56 language tables (14896 bytes). Datablock optimizer saved 18362 KiB (~1.5%). Using lzma (compress whole) compression. EXE header size: 197632 / 76288 bytes Install code: (393514 bytes) Install data: (1222732454 bytes) Uninstall code+data: (522493 bytes) Compressed data: 275742873 / 1223648461 bytes CRC (0x34DE2D41): 4 / 4 bytes Total size: 275940509 / 1223724753 bytes (22.5%) Gilles Caulier Assigning to QA, Advisory: ======================== Current NSIS Windows installer is 2.50 under Mageia6. This Windows installer can be use with MinGW cross compiler to build Windows installer under Linux. for example digiKam is fully cross compiled under Linux with MXE and at end an installer is build with NSIS from the host system. The current NSIS version provided by Mageia is an older one (2.5.x) which crash violently Windows 10 when installer is executer on target computer. This do not happen with Windows 7 or 8. https://bugs.kde.org/show_bug.cgi?id=385368 Since NSIS 3.xx, Windows 10 is fully supported as explained in release notes : http://nsis.sourceforge.net/News ======================== Packages in 6/core/updates_testing: ======================== mingw32-nsis-3.01-1.mga6.i586.rpm mingw32-nsis-3.01-1.mga6.x86_64.rpm Source RPM: ======================== mingw-nsis-3.01-1.mga6.src.rpm Source RPM:
mingw-nsis =>
mingw-nsis-2.50-2.mga6.src.rpm MGA6-32 on Asus A6000VM MATE No installation issues. Copied example1.nsi from /usr/share/doc/Examples to own home and at CLI: $ makensis example1.nsi Processing config: /etc/nsisconf.nsh Processing script file: "example1.nsi" (UTF8) Processed 1 file, writing output (x86-ansi): Output: "example1.exe" Install: 2 pages (128 bytes), 1 section (32792 bytes), 3 instructions (84 bytes), 44 strings (865 bytes), 1 language table (230 bytes). Using zlib compression. EXE header size: 75264 / 76288 bytes Install code: 864 / 9915 bytes Install data: 428 / 872 bytes CRC (0x66CD8748): 4 / 4 bytes Total size: 76560 / 87079 bytes (87.9%) I don't have Windows on this tiny laptop, but output looks OK. CC:
(none) =>
herman.viaene I package digiKam windows installer with this NSIS version now 1.4M lines of code cross compiled for windows 32/64 bits with MXE. Installer work perfectly under Windows 7 and Windows 10. Gilles Caulier Advisoried. Validating thanks to Herman's & Gilles' tests. Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0099.html Status:
NEW =>
RESOLVED |