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

NSIS installer crashes on Windows 7 x64 #3545

Closed
joeyer opened this issue Dec 14, 2018 · 7 comments
Closed

NSIS installer crashes on Windows 7 x64 #3545

joeyer opened this issue Dec 14, 2018 · 7 comments
Labels

Comments

@joeyer
Copy link

joeyer commented Dec 14, 2018

electron-builder Version: 20.38.3:
Target Platform : x32:

NSIS generated by electron-builder crashes in most of the time in Windows 7. Crash Report given below.

Problem Event Name: APPCRASH
Application Name: Linkus-1.2.23-win-setup.exe
Application Version: 1.2.23.0
Application Timestamp: 5a6fed7c
Fault Module Name: System.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 5a6fed15
Exception Code: c0000005
Exception Offset: 00001581
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2052
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Click on the installation package, then cancel, and it will appear several times.But if you have already installed this program before, then you will not crash when you perform this operation.

@yangbo1983
Copy link

it is exeactly what i occured

@qmphan
Copy link

qmphan commented Feb 15, 2019

I am experiencing the same problem on a freshly installed windows 7. The same installer is working fine on an other windows 7 PC.

It only bug when choosing "Anyone who uses this computer (all users)" and when there is no previous version of the application installed on the PC.

If I choose the option "Only for me", the app is installed correctly. Then, if I launch the installer again and choose "Anyone who uses this computer (all users)", it will work correctly this time.

If I uninstall the app then try to install it again by choosing "Anyone who uses this computer (all users)" , it will crash.

As the two mode install the application in two different directories, I guess that the crash may have something to do with the windows registry (?).

@stale
Copy link

stale bot commented Jul 1, 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.

@stale stale bot added the backlog label Jul 1, 2019
@stale stale bot closed this as completed Jul 8, 2019
@julianhille
Copy link
Contributor

i\ve seen this too on windows 8

@xiajingren
Copy link

hi. What is the final solution? I have a similar problem.

@Yoryky
Copy link

Yoryky commented Oct 16, 2020

I have been troubled by this problem for a long time. then I solve this problem by adding 'portable' config such as below
"win": {
"target": [
"nsis",
"portable",
"zip"
],
"icon": "resources/icon.ico"
},

hope that someone can be helped.

@leandrogianotti
Copy link

I have the same problem. My installer crash sometimes and I found that it's crashing when It tries to execute this line https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/nsis/multiUser.nsh#L35

I did a temporary fix removing from line 33 to line 38 and my installer doesn’t crash anymore and It looks like it works fine, but I'm not sure about why it's crashing in this line.

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

7 participants