You are here

Change into application directory before running apps

3 posts / 0 new
Last post
askwar
Offline
Last seen: 17 years 1 month ago
Joined: 2007-02-13 01:39
Change into application directory before running apps

Hi!

It would be nice, if PAM would change the current working directory to the directory of the application in a future release, as I'm unable to start certain apps the way it is right now. Let me explain:

I'm using PAM 1.0.1 on Windows 2000. One of the applications on the stick is the portable Thunderbird 2.0 Beta from Coschy (ie. not from this site). I unpacked the file to <Stick>:\PortableApps\Thunderbird 2.0 Beta 2 Deutsch. In this directory, there's a file called ThunderbirdLoader.exe, which is used to start the application.

But when I use PAM to start the application, I get an error message. I uploaded a screenshot to http://www.myimg.de/?img=ThunderbirdbeendenThund09b.gif. The error message is, that Thunderbird cannot be started, because it's already running. That's wrong.

The reason for this error message seems to be, that PAM doesn't change the current working directory to the application directory (ie. "<Stick>:\PortableApps\Thunderbird 2.0 Beta 2 Deutsch", in this case). I think so, because I get the same error message, when I run "<Stick>:\PortableApps\Thunderbird 2.0 Beta 2 Deutsch\ThunderbirdLoader.exe" from a cmd window where the CWD is %USERPROFILE%, ie. C:\Documents and Settings\askwar. When I change the current working directory to "<Stick>:\PortableApps\Thunderbird 2.0 Beta 2 Deutsch", I can start the application just fine.

Thanks,
Alexander

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 51 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
It does

In 1.0.2 Beta 2. It regressed in Beta 3. But it will again in Beta 4.

BTW - You should let Coschy know he needs Mozilla's permission before distributing a portable version. To my knowledge, he doesn't have it, making his package illegal.

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

caschy
Offline
Last seen: 16 years 2 months ago
Joined: 2007-02-14 17:29
Permission

Hi John, i am caschy,

i don*t know that i must have a permission from Mozilla. The only thing i do, is creating a portable launcher (compiled batch) to start a profile within a folder.

Can u give me some infos, where i can get permission from Mozilla?

Thanks and greetings from Germany Smile

Topic locked