You are here

Miranda: Two processes instead of one?

5 posts / 0 new
Last post
janek.sid
Offline
Last seen: 11 years 9 months ago
Joined: 2010-12-12 13:50
Miranda: Two processes instead of one?

When I switched from ordinary portable Miranda instalation to PortableApps Miranda, I have noticed, there are two Miranda processes instead of one. I am curious what is causing this? Why standard portable Miranda needs just one process, and PortabeApps Miranda needs two processes?
Here is screenshot of these processes:

http://img839.imageshack.us/img839/6672/portableappsmiranda.jpg

Best regards.
John

PS.
I prefer PortableApps Miranda any way, but I wanted to hear some comments about this.

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 1 year 5 months ago
Developer
Joined: 2006-05-26 12:08
MirandaPortable.exe is just

MirandaPortable.exe is just the launcher for the miranda exe, and it's the one that keeps all your data stored properly in the data folder

your friendly neighbourhood moderator Zach Thibeau

janek.sid
Offline
Last seen: 11 years 9 months ago
Joined: 2010-12-12 13:50
But why PortableApps Miranda

But why PortableApps Miranda needs a launcher, and standard portable Miranda doesn't? What is the difference? They are both running after using a shortcut, but for standard Miranda the shortcut is on the Desktop or on some drive, and PortableApps has its own menu for icons. So, where is the difference?
And why this launcher needs to be running all the time, not just while starting application?

John T. Haller
John T. Haller's picture
Online
Last seen: 21 min 29 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Start and Exit

When you run the launcher, it does several things (ensures it isn't already running, copies the default settings in if they don't exist) and then copies the settings from Data to App. It then runs Miranda.

The launcher then waits for Miranda to exit. Once Miranda closes, it moves the settings files back from App to Data (so they can be properly backed up and so they are preserved on upgrades) and then cleans up the registry keys that Miranda leaves behind.

Short answer: The launcher sticks around to clean up the bits that make Miranda not really portable on its own and move files around so they stick to being compatible with the PA.c Format.

Sometimes, the impossible can become possible, if you're awesome!

janek.sid
Offline
Last seen: 11 years 9 months ago
Joined: 2010-12-12 13:50
Thanks! That explains

Thanks! That explains everything.
Keep up the good work Smile

Log in or register to post comments