You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and it was installed under C:\Program Files\Messenger, which is expected since I want the app at system level
But As I can see I have another folder at C:\Users\Ismoil\AppData\Local\messenger-updater looks like that's where electron updater keeps updates with some files in that folder
installer.exe
pending/Messenger-some-version-number.exe
pending/update-info.json
and once the app is updated, I end up seeing 2 apps on my Desktop screen bcs the new updated install is located at user level under C:\Users\Ismoil\AppData\Local\Programs\Messenger
How can I resolve it?
Ideally, I want to control the update folder depending on the MSIINSTALLPERUSER="" (system level) MSIINSTALLPERUSER="1" (user level)
If it is not possible, I want to keep my app only under system level, but looks like electron-updater keeps updates only at user level
The text was updated successfully, but these errors were encountered:
Update: Electron doesn't support MSI system level upgrades. You can go with EXE version, however doing system level upgrades will require a password everytime the new version of the app is released.
What I have done is I disabled auto upgrade for the MSI apps installed at system level.
If clients would like to have the app at system level they have to take the responsibility of having latest versions.
I install my electron app (msi build for Windows) with the following script:
msiexec /i "https://URL_TO_MY_APP_Messenger.msi" MSIINSTALLPERUSER=""
and it was installed under C:\Program Files\Messenger, which is expected since I want the app at system level
But As I can see I have another folder at C:\Users\Ismoil\AppData\Local\messenger-updater looks like that's where electron updater keeps updates with some files in that folder
and once the app is updated, I end up seeing 2 apps on my Desktop screen bcs the new updated install is located at user level under C:\Users\Ismoil\AppData\Local\Programs\Messenger
How can I resolve it?
Ideally, I want to control the update folder depending on the MSIINSTALLPERUSER="" (system level) MSIINSTALLPERUSER="1" (user level)
If it is not possible, I want to keep my app only under system level, but looks like electron-updater keeps updates only at user level
The text was updated successfully, but these errors were encountered: