Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Miranda NG general talk => Topic started by: Whiplash on 09 07 2014, 09:29:32

Title: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 09:29:32
Whenever I do the update, Autorun plugin unchecks its only option: "Launch Miranda NG at system startup".
So, I always have to keep in mind to check it after each update.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 09 07 2014, 14:15:39
Could you check if the registry key HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "MirandaNG" exists? Which value does it have?
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 14:32:05
I see only these 2 lines:
Name                              Type                            Data
(Default)                      REG.SZ                          (value not set)
ctfmon.exe                   REG.SZ                          C:\Windows\system32\ctfmon.exe
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 09 07 2014, 14:33:50
I see only these 2 lines:
Name                              Type                            Data
(Default)                      REG.SZ                          (value not set)
ctfmon.exe                   REG.SZ                          C:\Windows\system32\ctfmon.exe
And after you enable Autorun, does it change anything?
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 14:39:18
After I enable Autorun, it works normally until the next update. I already enabled (checked) it.
Updating un-checks the the Autorun, that's what I'm saying.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 09 07 2014, 14:45:49
After I enable Autorun, it works normally until the next update. I already enabled (checked) it.
Updating un-checks the the Autorun, that's what I'm saying.
But it is remembered if you exit Miranda NG normally, and autostart works?
Does Autostart not work after you restart after an update or is just that option unchecked?
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 14:54:12
Sorry for misunderstanding. After I check it back manually, it's working normally whole the next time with every next restart. It only doesn't autorun my Miranda first time after the update.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 09 07 2014, 15:03:09
It only doesn't autorun my Miranda first time after the update.
What does that mean? It will only autostart Miranda NG after you restart Windows, obviously.
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 15:09:08
O boy.
Yes, that's correct. But it will not do it when I restart the windows first time after I updated Miranda to the new  version. Because the update unchecks that option.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 09 07 2014, 15:14:17
Yes, that's correct. But it will not do it when I restart the windows first time after I updated Miranda to the new  version. Because the update unchecks that option.
Could you test it? Update Miranda to a new version, and if the checkbox is unchecked, do not touch it and restart Windows. Does it autostart Miranda?

The plugin should create the registry key I posted above in order to do autostart, could you check again if it exists after you enabled that option?
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 09 07 2014, 15:23:27
I can't update already updated version. I'm not gonna do new install just to test it. I'm sure bug will happen again. It already did to me every time as I noticed even with the development version (I'm just not sure if it happened with every single update there).
Not I'm using stable version and I'm not going to move to development again.

Post Merge: 10 07 2014, 10:08:26
O.K., it happened this morning again. My Miranda NG didn't autorun. Now I don't know if there was any updates for stable version yesterday since I used that new "silent update" option. I checked the registry again and there were again the same two lines.
I checked the Autorun again and restarted my PC to see if it will work - and it does, as expected.
So, if there was any update yesterday, then I'm right - the reason is update.
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 12 07 2014, 10:13:28
Hmm, after the last update this morning, I didn't experience the same problem. Let's hope it will stay like that.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 12 07 2014, 15:42:32
Hmm, after the last update this morning, I didn't experience the same problem. Let's hope it will stay like that.
Well, I looked at it. All what the plugin does is creating a registry key at  HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, Name "MirandaNG", Value e.g. "C:\Program Files\Miranda NG\Miranda64.exe" "/profile:blaa". The dialog just checks if that key exists. Pretty simple, if you create the key by hand, you don't even need the plugin.

So, if it happens again for you, please check if that key exists.
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 20 07 2014, 20:16:09
Damn, seems I was an amateur at this part. I just noticed that the reason for this problem is actually my favourite security software named 360 Total Security (http://360safe.com/totalsecurity.html). By one of it's features it's blocking all "unnecessary" programs to start-up automatically with the system. Pfff, I didn't analyze its quarantine at the beginning.
Anyway, I contacted them by Facebook asking to make their softare "smarter" at that part even it already allows setting Miranda NG to trusted list.
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 21 07 2014, 11:21:31
Thats quite interesting, because this plugin just creates that registry entry above, which is a standard way to make autostart since the very early windows versions.
Do you have a link to that Facebook discussion or could you post about the results?
Title: Re: Autorun plugin - bug?
Post by: Whiplash on 21 07 2014, 11:47:16
Well, 360 Total Security is an advanced software that contains a SpeedUp tool for making your PC have a shorter Boot up time. That one probably decided to stop Miranda NG's auto-run in order to make PC start faster. Luckily I have option to exclude Miranda from that, but it would be better if 360 Total Security could do that by default.
Btw, there was no any big discussion. I just made a post on their Facebook page and they made some replies. I guess you can see it HERE (https://www.facebook.com/360safecenter/posts/653696221393563?comment_id=653953844701134&offset=0&total_comments=2&notif_t=feed_comment).
Title: Re: Autorun plugin - bug?
Post by: Wishmaster on 21 07 2014, 11:54:11
I replied there, let's see what comes out :)