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
The packaged application does not overwrite the previous version when installed and does not automatically uninstall the old version of the application #5573
Comments
i have same problem |
Experiencing the same issue building & installing on Windows 10 Pro with NSIS: electron: 11.2.0 electron-builder.json:
The issue is that the install works fine the first time, but installing subsequent versions fails silently. I read through numerous issues, but none were exactly the same and none provided a working fix. Any help would be much appreciated. |
We're seeing the same issue and it only happens when doing the guided install ( A work-around is to use an archive name with the version number included: FYI, I've gotten logs from NSIS to see what's going on and the last entry in the install log is that it's executing the uninstaller and that the uninstall succeeded but it never actually executes the uninstaller. I've copied the command from the NSIS log and run it manually afterwards and the uninstall succeeds when run manually. |
Also seeing this issue. |
@ejwilburn would you be willing to share your NSIS logs here? I'm not familiar with this topic but I'd like to take a gander. |
@mmaietta here's the relevant portion of the log:
As of 22.10.5 the uninstall does actually run (it didn't in 22.9) but after completion you hear a windows error tone and the installer closes. Full log is attached. |
@ejwilburn How did you manage to get the NSIS logs? There's another issue asking how to do it with electron-builder (#5119), so I think this knowledge would be super helpful! |
@ravicious I responded with instructions in the issue you linked. |
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. |
Has the problem been solved??? |
Do you know what to do? |
still seeing this issue, progress bar silently exits halfway. The uninstall ran, but the new version is not installed (empty folder) edit |
Facing the same issue, can someone please suggest a fix for this issue? |
this problem is still unsolved ... |
I find a way to solve this problem:
these two step fixed my problem. |
Pls see my comment. |
Pls see my comment. |
My comment |
My comment |
Bottom comment |
now i need to uninstall old installed software and reinstall the new version sotfware,it work,i wanna know why this happen |
"electron-updater": "^4.3.5",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
I tried to package the new version of the application, tried to install the application that covered the old version of the original, but the installation failed, the new version was not installed successfully
The text was updated successfully, but these errors were encountered: