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
When you are doing an update the NSIS system seems to remove the pinned icon (if you pinned it) on your task bar (bottom of screen). Is there some way to make it so when upgrading this icon is not removed?
Well, in general, it was fixed. I mean — if some configuration is not changed, shortcuts will be not recreated and so, pinned icon remains. In your case, it seems, shortcut related configuration detected as changed and it leads to icon reregistration. Please provide your NSIS config.
The problem is the pinned icon is being removed from the task bar. The icon appears on the desktop again...but it's just removed from the bottom bar in windows.
Any chance of getting this resolved soonish @develar? If not can you point me to where you think the issue is happening so I can try to take a crack at it. Don't have an environment at the moment but I will in a few days.
allowToChangeInstallationDirectory: true
Looking at the code, it looks like when enabling this setting, keepShortcuts bool is automatically set to false.
I don't think this is not how it should be working, if the installation path, app args etc didn't change between old and new shortcut, it shouldn't recreate it. It's just missing a shortcut "content" check around here.
Activity
develar commentedon Jan 23, 2018
Well, in general, it was fixed. I mean — if some configuration is not changed, shortcuts will be not recreated and so, pinned icon remains. In your case, it seems, shortcut related configuration detected as changed and it leads to icon reregistration. Please provide your NSIS config.
mastergberry commentedon Jan 23, 2018
The problem is the pinned icon is being removed from the task bar. The icon appears on the desktop again...but it's just removed from the bottom bar in windows.
mastergberry commentedon Jan 24, 2018
Just for further clarification @develar in case something wasn't clear with the way windows words things:
Before Upgrading to 1.1:
After Upgrading from 1.0 to 1.1:
In the first part of the upgrade it seems to remove the existing icon from the task bar.
develar commentedon Jan 30, 2018
Reproduced.
mastergberry commentedon Feb 20, 2018
Any chance of getting this resolved soonish @develar? If not can you point me to where you think the issue is happening so I can try to take a crack at it. Don't have an environment at the moment but I will in a few days.
Rigner commentedon May 17, 2018
allowToChangeInstallationDirectory: true
Looking at the code, it looks like when enabling this setting,
keepShortcuts
bool is automatically set to false.electron-builder/packages/electron-builder-lib/templates/nsis/include/installer.nsh
Line 251 in 2dda5fc
I don't think this is not how it should be working, if the installation path, app args etc didn't change between old and new shortcut, it shouldn't recreate it. It's just missing a shortcut "content" check around here.
electron-builder/packages/electron-builder-lib/templates/nsis/include/installer.nsh
Line 222 in 2dda5fc
(might need to check other installers for similar mistakes ?)
(I have no knowledge about NSIS, i don't know how to make these changes myself)
Jandou6 commentedon Jul 5, 2018
The Bug is also in Latest(Version 20.19.x)
tobiasmuecksch commentedon Sep 12, 2018
This bug is still present.
45 remaining items