Bug #69279 MySQL Notifier: Does not start with Windows, incorrect setting within register..
Submitted: 19 May 2013 19:35 Modified: 12 Jun 2013 19:01
Reporter: André verwijs Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL for Windows: MySQL Notifier Severity:S3 (Non-critical)
Version:5.6.11.0 OS:Windows (8 Pro)
Assigned to: CPU Architecture:Any
Tags: installer, MySQL Notifier, register, windows 8

[19 May 2013 19:35] André verwijs
Description:
MySQL Notifier does not start with Windows (if you set this within MySQL Notifier options)
it has a incorrect setting within register. 

within windows register key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Windows installer sets: 
"file://C:/Program Files (x86)/MySQL/MySQL Notifier 1.0.3/MySQL.Utility.dll"

this should be:
"C:\Program Files (x86)\MySQL\MySQL Notifier 1.0.3\MySQLNotifier.exe" 

How to repeat:
 
- instal mysql with windows installer on windows
- check regiter key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

 

Suggested fix:
change register key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 
and how it is set by windows installer..
[19 May 2013 19:35] André verwijs
..
[20 May 2013 6:35] MySQL Verification Team
Verified...

Part of procmon registry outputs:

08:33:24.4734138 AM	MySQLNotifier.exe	3416	RegOpenKey	HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run	SUCCESS	Desired Access: Read/Write
08:33:24.4734397 AM	MySQLNotifier.exe	3416	RegSetInfoKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
08:33:24.4735338 AM	MySQLNotifier.exe	3416	RegQueryValue	HKCU\Software\Microsoft\Windows\CurrentVersion\Run\mysqlnotifier	NAME NOT FOUND	Length: 144
08:33:24.4735808 AM	MySQLNotifier.exe	3416	RegQueryKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	Query: HandleTags, HandleTags: 0x400
08:33:24.4736373 AM	MySQLNotifier.exe	3416	RegOpenKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	Desired Access: Read, Maximum Allowed
08:33:24.4736572 AM	MySQLNotifier.exe	3416	RegCloseKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	
08:33:24.4736695 AM	MySQLNotifier.exe	3416	RegOpenKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	Desired Access: All Access
08:33:24.4736837 AM	MySQLNotifier.exe	3416	RegQueryValue	HKCU\Software\Microsoft\Windows\CurrentVersion\Run\mysqlnotifier	NAME NOT FOUND	Length: 16
08:33:24.4736939 AM	MySQLNotifier.exe	3416	RegCloseKey	HKCU\Software\Microsoft\Windows\CurrentVersion\Run	SUCCESS	
08:33:24.4737062 AM	MySQLNotifier.exe	3416	RegSetValue	HKCU\Software\Microsoft\Windows\CurrentVersion\Run\mysqlnotifier	SUCCESS	Type: REG_SZ, Length: 108, Data: file:///H:/tmp/MySQL Notifier 1.0.3/MySQL.Utility.DLL
08:33:24.5262491 AM	MySQLNotifier.exe	3416	RegQueryKey	HKLM	SUCCESS	Query: HandleTags, HandleTags: 0x0
[20 May 2013 6:50] André verwijs
True, you have the same... as far as i know you can't load a dll file directly within Windows 8, so this should be fixed... 

thank for verification...
[12 Jun 2013 7:52] Philip Olson
Fixed as of the upcoming MySQL Notifier 1.1.4 release, and here's the changelog entry:

On Microsoft Windows 8, the "autostart registry entry" was not created
properly, therefore the Notifier would not start after the user logged in.

Thank you for the bug report.
[12 Jun 2013 19:01] André verwijs
ok thank for the fix :)