Bug #86147 Windows Desktop Icon links to temporary installation path
Submitted: 1 May 2017 13:01 Modified: 2 May 2017 15:10
Reporter: Martin Fabricius Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.9 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: icon, installation, workbench

[1 May 2017 13:01] Martin Fabricius
Description:
When opening the MySQL Workbench 6.3.9 on Windows 7 after Installation the taskbar icon refers to the Path
%SystemRoot%\Installer\{0D901124-B910-4985-9D4F-AC5C2FEF7493}\WBIcon.exe
which is not existent on my machines. Icons are located instead under the Path
%SystemRoot%\Installer\{CD8C5EC0-56A3-4F6E-BB22-E230059DF1F2}\WBIcon.exe
or under the installation path in the MySQLWorkbench.exe.
The icon is replaced by a standard (shell32.dll) windows icon.
This happend on at least 4 different machines, all running Windows 7.

How to repeat:
Install MySQL Workbench 6.3.9 and run the programme from the start menu.
All tested machines had older versions of the workbench installed before the istallation of 6.3.9.

Suggested fix:
Use the icon provided in the %Installationpath%\MySQLWorkbench.exe.
Hotfix: Manually link the symbol of the shortcut in the preferences to the MySQLWorkbench.exe icon.
[1 May 2017 13:24] Lee Butler
I experienced a similar issue when upgrading from 6.3.8 to 6.3.9 :- MI had 2 workbench shortcuts. The installer had added a shortcut to "MySQLWorkbench.X.exe" called "MySQL Workbench.X". The file did not exist, so I deleted it and used the old shortcut which worked fine.

I think the 6.3.9 installer is borked.
[1 May 2017 15:49] MySQL Verification Team
shortcut wrong path

Attachment: file_x.png (image/png, text), 68.90 KiB.

[1 May 2017 15:50] MySQL Verification Team
Thank you for the bug report.
[2 May 2017 13:24] Chiranjeevi Battula
Hello Martin Fabricius,

Thank you for the bug report.
This is most likely duplicate of Bug #85083, please see Bug #85083.

Thanks,
Chiranjeevi.
[2 May 2017 15:10] Martin Fabricius
I investigated a little further and the problem is, that I had the workbench attached to the taskbar, which creates a shortcut in
C:\Users\[Username]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
The symbol of this shortcut symbol referred to the symbolfile in %systemroot%\{UUID}\WBIcon.exe, which was not present anymore after update, since the UUID had changed.
This seems to be a strange behaviour of Windows when attaching a program to the taskbar. If the program is not attached, the declared icon of the program will be used. When youn attach the program to the taskbar, Windows will instead use the icon of the shortcut you have used to launch the program (which is normally the shortcut in C:\ProgramData\Microsoft\Windows\Start Menu\Programs or C:\Users\[Username]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs) and even show this icon in the taskbar during runtime.
So to avoid this bug, the created startmenu shortcut should link its symbol to the MySQLWorkbench.exe in the Program files.

I had no problems with a missing MySQLWorkbench.X.exe so I am not sure if it is really a duplicate.