You are here

Conflict with the launcher

6 posts / 0 new
Last post
kudanai
Offline
Last seen: 17 years 8 months ago
Joined: 2006-09-23 06:11
Conflict with the launcher

I wasn't sure if i should post this on the "running multiple instances" thread.

so apparently if both the launcher and the firefox (also thunderbird) main executable have the same file name, firefox (thunderbird) assumes another instance is running and refuses to run (if the multiple instances option is set to false).

I'm thinking this is a problem with how firefox and thunderbird detects other running instances and not with the launcher itself, but thought it should be brought to light here in case somebody else has the same issue. Right now, the only way to avoid this is to NOT rename the launcher.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Actually

Firefox and Thunderbird use the MOZ_NO_REMOTE environmental variable to check if another instance is running.
The launcher sets this to 1, which stops Firefox and Thunderbird (I think) from latching on to it.
When an instance of Firefox or Thunderbird (I think) starts up, it sets the variable to 0.
----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk

"If you're not part of the solution, you're part of the precipitate."

kudanai
Offline
Last seen: 17 years 8 months ago
Joined: 2006-09-23 06:11
But

If this is the root of the issue, then why does it only occur when the launcher is renamed (to Thunderbird.exe) and not when it is left alone or named something else?

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
Because

the launcher checks first for any processes named firefox.exe or thunderbird.exe (depending on which you are using). MOZ_NO_REMOTE is used to tell Firefox or Thunderbird to latch onto the current process.
----
Ryan McCue
Cube Games
There are only two states in Australia: Queensland and Drunk

"If you're not part of the solution, you're part of the precipitate."

obenhodc
Offline
Last seen: 17 years 7 months ago
Joined: 2006-03-13 19:20
why would you need the

why would you need the launcher named firefox.exe?

Your signature will be publicly displayed at the end of your comments.

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 22 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
The way it is...

That's the way it's supposed to work:
https://portableapps.com/support/firefox_portable#known_issues

You've never been able to rename it to firefox.exe since it added in the ability to check if FF was running. You can't rename FirefoxPortable.exe to firefox.exe. That's just the way it is.

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

Log in or register to post comments