trietptm / win7appid

Automatically exported from code.google.com/p/win7appid
3 stars 0 forks source link

This doesn't seem to work in FF4b2pre anymore.. #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. update to Firefox 4.0b2pre
2. execute Firefox portable 4.0pre2 from the pinned shortcut on the taskbar
3. Firefox will open in a new icon on the taskbar

What is the expected output? What do you see instead?
Firefox portable should work as the regular one and not create another icon in 
the taskbar when the program launches

Will you be fixing this add on to work also on Firefox 4? Hope you do! Best 
addon ever!

Original issue reported on code.google.com by dpcdp...@gmail.com on 3 Jul 2010 at 12:16

GoogleCodeExporter commented 8 years ago
Are you still experiencing this issue with the latest Firefox? If so I will 
look into it. Could you explain what the issue is with respect to Win7AppId? 
ie. How are you trying to use the tool?

Original comment by did...@gmail.com on 27 Oct 2010 at 2:26

GoogleCodeExporter commented 8 years ago
Yes.. still experiencing this problem... does it work for you? try it with the 
latest Firefox 4 beta 8 nightly build and with the Windows 7 AppID 1.0 addon 
installed... Maybe the addons doesn't work.. I dunno..

Original comment by dpcdp...@gmail.com on 27 Oct 2010 at 3:58

GoogleCodeExporter commented 8 years ago
I've even tried setting firefox ID: ec8030f7-c20a-464f-9b0e-13a3a9e97384 to the 
firefox portable link: FirefoxPortable.lnk ...doesn't work!

Original comment by dpcdp...@gmail.com on 27 Oct 2010 at 4:03

GoogleCodeExporter commented 8 years ago
I downloaded 4 Beta from here 
http://portableapps.com/apps/internet/firefox_portable and had no issue pinning 
it. Didn't need to use the tool.

Can you tell me where you got your copy of FF? Also, what is the target of the 
shortcut? ie. the command it runs.

Original comment by did...@gmail.com on 27 Oct 2010 at 6:58

GoogleCodeExporter commented 8 years ago
you can pin it but it will open another icon on the taskbar when I launch it.
got the same FF as you did.
It's impossible to pin the right way a portable app because it launches 2 
instances of 2 different processes with different IDs: firefox.exe and 
firefoxportable.exe.
the target of the shortcut is E:\FirefoxPortableTest\FirefoxPortable.exe
did you add some command line after the path in the shortcut?
Or what exactly did you managed to accomplish?

Original comment by dpcdp...@gmail.com on 27 Oct 2010 at 11:22

GoogleCodeExporter commented 8 years ago
Sorry I was just being stupid and pinning the running firefox.exe.

The issue is that you need to set the app id of both the launcher and Firefox 
itself. My tool only works with shortcuts; it's easy to set up the launcher via 
a shortcut but it calls firefox.exe explicitly so you can't set a custom app id 
for it. There doesn't appear to be any way  

I've tried various other ways of making it work including installing a Firefox 
extension someone has developed to set the app id but it didn't work.

I think your only option now is to hope the Portable Firefox developers will 
fix it by launching Firefox via a shortcut or setting the app id when they 
launch the Firefox process.

I'm marking this bug as invalid because what you need to do is outside of the 
scope of my tool. I hope you manage to get it sorted eventually.

Original comment by did...@gmail.com on 28 Oct 2010 at 12:36

GoogleCodeExporter commented 8 years ago
Thanks for your putting your into this time my friend!

On FF 3.6 portable your little program works along with the Windows7 AppID 
Addon, but now in FF4 the addon doesn't work anymore.
I'm trying to get to the guy that created this addon and ask him to upgrade it 
for FF4, but had no luck.
Here's the whole discussion on Portableapps.com 
http://portableapps.com/node/20322#comment-160246

You being a developer and all I bet you like solving problems like this... 
would you care to jump into this? I know it's possible somehow to mask the 2 
exe (firefox.exe and afirefoxportable.exe) as one. Damn the windows taskbar 
which can't handle multiple exe's!

Thanks anyway for your quick replies!

Original comment by dpcdp...@gmail.com on 28 Oct 2010 at 10:21

GoogleCodeExporter commented 8 years ago
Ok, so I got bored and had a stab at this. Download the attached zip and 
extract it to your profile's extensions dir (Data/profile/extensions in FF 
portable). Then create a shortcut to FirefoxPortable.exe and use my tool on it 
to set the AppId to "Mozilla.Firefox". Pin the shortcut...tada.

Let me know if it works.

Original comment by did...@gmail.com on 1 Nov 2010 at 9:27

Attachments:

GoogleCodeExporter commented 8 years ago
Hahaha... I knew you were my kind of people bro! Works like a charm!
I knew I could count on you my friend!

Did you had to modify a lot in that Firefox addon to make it work with FF4?
The version I had was working fine with FF3.6 and since I'm not really a 
software dev I had no idea where to start and modify this addon... but you came 
through and made my day!
THANKKKKK YOUUUUUUU!

Oh, one more think.... been having the same problem with X-Chromium, portable 
version of Chromium... here it is: 
http://www.winpenpack.com/en/download.php?view.1082 .I'm using this with the 
latest Chromium nightly build... download here: 
http://build.chromium.org/f/chromium/snapshots/Win/

Maybe you get bored again... who knows... would be awesome!

Best,
Cristian

Original comment by dpcdp...@gmail.com on 1 Nov 2010 at 9:50

GoogleCodeExporter commented 8 years ago
While I was looking into updating it for FF4 I noticed there was a much easier 
way to do it anyway so I ended up re-writing the whole thing.

Ok, Chrome. Looking at their source code, it looks like they are setting the 
AppId based on the application name and profile. If you set your shortcut to 
"Chromium.Chrome.Default" it should work.

Original comment by did...@gmail.com on 1 Nov 2010 at 10:32

GoogleCodeExporter commented 8 years ago
Thanks for the info... another win! x-chromium works perfectly!

Original comment by dpcdp...@gmail.com on 2 Nov 2010 at 1:21