You are here

Is there any way I can disable the "error on startup" message when I open apps that werent closed correctly?

5 posts / 0 new
Last post
Lord_Theren
Lord_Theren's picture
Offline
Last seen: 3 years 1 month ago
Joined: 2013-10-24 16:11
Is there any way I can disable the "error on startup" message when I open apps that werent closed correctly?

This is a pretty significant problem for me as I have many apps that I make launch when the Platform starts and sometimes I need to leave in a hurry (I have a program that closes all my running apps from my flash drive and ejects it) but whenever I restart said apps, I get error messages. Is there any way I can turn these off and make the apps just restart automatically?

John T. Haller
John T. Haller's picture
Offline
Last seen: 14 hours 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Killing

Whatever tool you're using is closing the launchers before they have a chance to shut down. This can result in data loss if its moving things into and out of the registry or to and from the local machine. The PortableApps.com Launcher needs to restore the app to a workable condition before it can be started. It does this by skipping the startup and run portions of the app and just running the cleanup directly. As the PortableApps.com Launcher can't then restart itself (causes issues with passing environment variables around and the like), it then exits.

An upcoming release of the platform will include code to properly close apps understanding when there is a launcher and a launched app working together. We got permission to relicense the source libraries last year and it will debut in an upcoming beta. I'll actually be hacking a bit on this tomorrow during a platform coding session.

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

Lord_Theren
Lord_Theren's picture
Offline
Last seen: 3 years 1 month ago
Joined: 2013-10-24 16:11
Okay, I get it

But even if I close all of the apps that are running from my flash drive beforehand, If I try to eject it normally, it says the drive is still busy. Is there any way to fix that?

The two most important days of your life are the day you are born and the day you find out why.

John T. Haller
John T. Haller's picture
Offline
Last seen: 14 hours 42 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Unlocker

You need to determine which app is causing that. It's something still running. You can use an Unlocker tool like the one in our app directory.

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

Lord_Theren
Lord_Theren's picture
Offline
Last seen: 3 years 1 month ago
Joined: 2013-10-24 16:11
Okay

I'll check it out.

The two most important days of your life are the day you are born and the day you find out why.

Log in or register to post comments