Windows: Auto-Update creates new folder so existing shortcuts still point to old version
- Electron-Builder Version 24.6.4:
- Node Version 18.16.0:
- Electron Version 25.0.1:
- Electron Type: current:
- electron-updater 6.1.6
- Target : Angular - Windows:
The initial install puts the application in the folder
C:\Users\[username]\AppData\Local\Programs\electron-application
After installing an update the new version is installed to
C:\Users\[username]\AppData\Local\Programs\Electron Application
This version is then run if you were to do quit and install. However no menu shortcuts are updated. If you then close the application and restart it from the shortcut - it runs the old version.
There is also a new entry added to the "Add/Remove Programs" in Windows
Update: Looks like the MSI file installs to "electron-application" and the EXE installs to "Electron Application" but should you use the MSI initially to install the application - the updater downloads the EXE and then installs the application to the other/different location
Other than avoiding this naming clash what options are there ? I ask because we already have an established product which is suffering with this issue as we didn't know of this scenaria
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.