-
-
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
NSIS fails to autoUpdate when launched from app - exe rename necessary? #4711
Comments
Following up on this, here's a very simple repository that will fail to update: https://github.com/gajop/electron-builder-example Steps to reproduce:
I found two different workarounds:
Still searching for a more satisfactory solution. |
I was able to reproduce this different way. 2 use cases:
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
bump |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Still relevant and still affecting a lot of our users... |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
bumping yet again ¯_(ツ)_/¯ |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
bumping yet again ¯_(ツ)_/¯ |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Seeing the same issue with the guided installer, see my comments here: #5573 (comment) |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Relevant package.json versions:
NSIS build seutp:
I'm having trouble with the NSIS build while doing autoUpdates. I'm experiencing the following behavior:
I don't know how to provide more information for step 4: there doesn't seem to be a log available anywhere, and I don't get an error message at any point. The only thing I can note is that successful updates happen with the progress bar "restarting" 2 times (reverting back in progress), while unsuccessful ones seem to freeze during the 1st time and then stop (crash?) without going to the last page.
What seems to work every time is if I manually download the new executable and rename it. I was renaming these files in order to keep some sort of record of various versions. If I run the renamed version (in this case
Chobby-1.36.0.exe
) it will successfully update. If I run it asChobby.exe
it will fail - same like the autoUpdater version.So my conclusion is that for whatever reason the updater executable file name must be different than
App.exe
The text was updated successfully, but these errors were encountered: