Electron-builder: nsis-web: Windows 7 and above is required when installing on Windows 7

Created on 29 Dec 2017  路  11Comments  路  Source: electron-userland/electron-builder


  • Electron-builder Version: 19.49.0

  • Target: Windows

When try to install in some Windows 7 systems it returns Windows 7 and above is required

image

infsistema.zip
nfo-system.txt


bug nsis

Most helpful comment

any update on this? some of our users have been facing the same issue!

All 11 comments

Seems that version 6.1.7601 don't match any in WinVer.nsh specification

having this same issue is there a solution. @marceloavf

No solution yet @tance77

any update on this? some of our users have been facing the same issue!

@tance77 some of our users did some testing and it seems as if running the app in compatible mode as windows server 2008 solves the issue. It isn't really a fix but just thought I should let you know

@WesamMikhail Thank you I will let our users know this too.

Id also like to point out that maybe this has to do with the version of windows not being valid.

I had this issue when running the .exe after
npm run dist:win32

but if i then run the installer to install the .exe the resulting .exe runs fine

same problem when one user install electron app on windows 10 馃槬

As a workaround, I patched files before build phase:

// node_modules/app-builder-lib/templates/nsis/common.nsh
content = content.replace(/\$\{AtLeastWin7\}/g, '1 == 1');

// node_modules/app-builder-lib/templates/msi/template.xml
content = content.replace(/.*Windows 7 and above is required.*/g, '');

I still have this problem. Is there any solution?

Was this page helpful?
0 / 5 - 0 ratings