-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Update is downloaded but not installed, if application was installed for all users (in Program Files) on Windows #4474
Comments
Indeed very strange. Can you try to start your exe from command line and see what happen in the console? Did you already try on another PC? |
@kzimny What exe and when exactly? The main app exe? Or the app installer exe? It installs totally fine to any location, when installed manually. |
Probably worth mentioning, the app-updater folder (in C:/Users/User/AppData/Local/app-updater/pending/update-info.json) has the property "isAdminRightsRequired": false, shouldn't it be set to true, actually, if the app is installed in the Program Files for all users? |
The exe file launch in step 5 from |
@DominikLevitsky did you solve this? Not sure is related but my NSIS installer just dies in the middle of installation progress, no matter if I run it as administrator. NB: it starts installing. How can I debug the NSIS installer created by electron-builder?
|
@damianobarbati We solved the install issue using this:
But it seems like a temporary solution only, because now, it always asks for admin permission on every app opening, which is not acceptable. I wish someone could help to fix this. |
@DominikLevitsky thanks for helping. Unfortunately that's not working for me, the installer keep just dying. |
解决了吗? |
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. |
We also have this problem. |
some infos @adambailey- ? @damianobarbati |
Same issue here. Anyone willing to work on this? Any useful pointers? PS: I'm using |
I had the same issue when calling the updater with silent option: using https://github.com/ironSource/node-regedit
package.json:
then call |
Hi, I have Electron-updater on 4.3.8 (last version), electron builder on 22.10.5 (last version) and I still have exactly the same problem as the OP. Any pointers would be much appreciated. Best Regards, |
Should be solved in electron-updater v4.6.5 by #6450 |
Oh my godness, you saved me! It took me a whole day to find a solution until I saw your reply. |
i got the same issue as yours. how did you manage to fix it? |
Anyone using nx and / or nx-electron. always check the package.json version inside dist folder. |
22.1.0
4.2.0
nsis
Settings:
Steps to reproduce:
But if the app was installed for all users (to C:/Program Files/...) the UAC dialog launches, asking for permission (as expected), the app is uninstalled (as expected), but then it is not installed again (totally unexpected). No errors, no warning, no nothing.
I will be happy to provide any other info if needed.
The text was updated successfully, but these errors were encountered: