electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

Windows: Auto-Update creates new folder so existing shortcuts still point to old version

Open MadEddieFFS opened this issue 2 years ago • 2 comments

  • 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

MadEddieFFS avatar Oct 25 '23 10:10 MadEddieFFS

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

MadEddieFFS avatar Mar 14 '24 11:03 MadEddieFFS

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.

github-actions[bot] avatar May 14 '24 00:05 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Jun 13 '24 00:06 github-actions[bot]