You are here

[Fixed] Firefox 3.6 Portable + uTorrent 1.8.5 Portable

10 posts / 0 new
Last post
HeavilyInfested
HeavilyInfested's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2010-03-01 18:10
[Fixed] Firefox 3.6 Portable + uTorrent 1.8.5 Portable

Hello! My questions are rather theoretical than practical, as it is possible to make things work without solving the following 2 problems, but still...

I have 2 questions:
1) Related to Firefox 3.6 Portable (Sorry if it was discussed earlier, but I failed to find any solution...)

I am trying to make Firefox pass *.torrent files, that I download, directly to uTorrent Portable. I can configure it through "Helper App menu" (Tools->Options->Applications->...), but the path to the executable ("uTorrent Portable.exe") is absolute (like "E:\PortableAppsSuite\uTottentPortable\uTorrentPortable.exe") and I need something relative (like "%PORTABLE_APPS_FOLDER%\uTorrentPortable\uTorrentPortable.exe"). I understand that Firefox of course can not know where the %PORTABLE_APPS_FOLDER% is, so I mean here any possible sequence like "..\..\uTorrentPortable\uTorrentPortable.exe". I also tried altering "mimeTypes.rdf" in the user profile folder, but it resulted in nothing (Firefox simply switched file association to default settings; I tried "..\..\etc." in hope that it will lead to upper folders (worked fine in uTorrent and Total Commander) but Firefox seems to understand only absolute paths or I simply do not know global variables for Firefox if they exist(like %WINDIR% for windows or %COMMANDER_PATH% for Total Commander)). So, is there any possible solution?

2) Related to uTorrent Portable 1.8.5 (maybe I was supposed to create another topic...)

uTorrentPortable launches nicely, works fine, and I noticed nothing bad except one thing: when uTorrentPortable is NOT launched and when I use Firefox to pass newly downloaded torrent file via "Helper Apps Association" targeted to IMPORTANT!!! "uTorrentPortable.exe", uTorrentPortable launches, takes the torrent and asks me to choose saving location, so it has to work in this way... BUT when I download another torrent file, Firefox passes it to "uTorrentPortable.exe" and uTorrentPortable is ALREADY launched... nothing happens. This problem is not encountered in case I pass torrent file to "uTorrent.exe" but not "uTorrentPortable.exe". (uTorrent.exe asks to choose saving location in both cases: when Firefox launches it, and when it is already launched). So, I guess it is some kind of a bug... (sorry if it is not). Any ideas?

ps sorry for possible structural/punctuational mistakes - English is not my native

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
#1 Helper Apps

For helper apps, read here:
https://portableapps.com/support/firefox_portable#helper_apps

The launcher handles the path change for you as you move drives.

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

dboki89
Offline
Last seen: 9 years 10 months ago
Joined: 2009-11-30 20:44
@JTH: Didn't (carefully) read through his post

Hi.

@ HeavilyInfested: I don't know the solution to your problem. And your English is good Smile

@ JTH:

While the answer to his 1) part of the question is covered by your post, please take a look at these parts:

uTorrentPortable launches nicely, works fine, | ........... | when uTorrentPortable is NOT launched and when I use Firefox to pass newly downloaded torrent file via "Helper Apps Association"

BUT when I download another torrent file, Firefox passes it to "uTorrentPortable.exe" and uTorrentPortable is ALREADY launched... nothing happens.

I don't know how to help, if you John would be kind enough to help him again with taking these particular quoted parts in consideration while answering...

I'm not scolding you or anything Smile I know you're busy and don't have a lot of time to answer lot's of different questions and stuff... Also, I noticed 1 typo on the page you linked in your post. (Under "Improving Firefox Portable's Performance")

Disable Anti-Phishing - Firefox comes bundled with an anti-phishing filter that warns you of fake sites pretending to be things like ebay and bank login pages. As with the ression restore

It should be

As with the session restore

...
Anyway, thanks for the release of TBP, John Smile
Keep up the good work!

My posts are old and likely no longer relevant.

HeavilyInfested
HeavilyInfested's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2010-03-01 18:10
#1 Helper Apps - Solved!

Thank you John!

I must say launcher ROCKS! Everything works greatly! Drive Letter changes automatically and I am sorry for not trying this easy check by myself and for lack of attention while I was reading the article Smile

But I do not know how to solve the 2nd issue with uTorrentPortable... Pardon

Mark Sikkema
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-07-20 14:55
I believe this due to the

I believe this due to the uTorrentPortable.nsi script, not containing the LaunchAndExit part.
It seems to just Goto TheEnd, whenever uTorrentPortable started while already running.

If you include the following in the script, it should behave better!

	;=== Check if already running
	System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${NAME}") i .r1 ?e'
	Pop $0
	StrCmp $0 0 "" LaunchAndExit
...
	LaunchNow:
		${GetParameters} $0
		SetOutPath "$PROGRAMDIRECTORY"
		ExecWait '"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0'
		
		;=== Move settings back
		${MoveFiles} "FORCE" "*.dat" "$PROGRAMDIRECTORY" "$SETTINGSDIRECTORY"
		${MoveFiles} "FORCE" "*.old" "$PROGRAMDIRECTORY" "$SETTINGSDIRECTORY"
			Goto TheEnd

	LaunchAndExit:
		${GetParameters} $0
		SetOutPath "$PROGRAMDIRECTORY"
		Exec '"$PROGRAMDIRECTORY\$PROGRAMEXECUTABLE" $0'

	TheEnd:

[edit: forgot to add 'Goto TheEnd', in LaunchNow]

Formerly Gringoloco
Windows XP Pro sp3 x32

HeavilyInfested
HeavilyInfested's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2010-03-01 18:10
uTorrentPortable.nsi fix did not work

Well, I changed uTorrentPortable.nsi in the way you suggested, but it did not work for me... uTorrentPortable still accepts torrent files from Firefox only when it is not launched...

Maybe I did something wrong, and in case you managed to fix the problem and successfully tested uTorrentPortable, you could send your version of modified uTorrentPortable.nsi on my e-mail?(HeavilyInfested@gmail.com)

I would really appreciate it Smile

Mark Sikkema
Offline
Last seen: 13 years 2 months ago
Developer
Joined: 2009-07-20 14:55
It has to be (re)compiled

A .nsi script has to be (re)compiled, in order it to be run !

Anyway here is a link: http://www.mediafire.com/?mzy1tn2nzy2
All you really need is the executable, the rest is the source code.
I gave it a small test and should work better

For the rest it's up to Wraightdu or JTH to decide they want to address this problem. Really this should be fixed in the official release !

Ps.: Did you check your email ???

Formerly Gringoloco
Windows XP Pro sp3 x32

HeavilyInfested
HeavilyInfested's picture
Offline
Last seen: 14 years 9 months ago
Joined: 2010-03-01 18:10
#2 uTorrentPortable - Solved!

Gringoloco, thank you very much!

Your newly compiled uTorrentPortable.exe works right as I wanted it to!

Now there is one more very happy Portable Apps user Smile

p.s. yes, I checked my e-mail

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fix Coming

I'm packaging up the new uTorrent release and this will be fixed in it.

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 4 hours 8 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Fixed in uTorrent Portable 2.0

The ability to pass in torrents after uTorrent Portable is already running has been added in the 2.0 release just posted.

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

Log in or register to post comments