7

Whenever it is possible I prefer to use "portable" versions of applications instead of installing them ordinary way. I put them on drive D: and they store all the data inside their directories and don't rely on system registry/directories. As the result I get the most of applications I use safe in case of the system failure/reinstallation: no need to reinstall and reconfigure the apps, no need to restore data.

But there is a problem when using this approach in Windows 7: many portable applications (at least those of portableapps.com) consist of a launcher .exe file separate from the application .exe itself and these 2 are separate applications from the system point of view. As the result a second icon emerges on the taskbar if I use a pinned launcher button to launch (and if I pin that second button then it just launches the application in non-portable mode).

The same problem applies to any application which uses a separate loader to start to separate start-up-time and run-time code.

So the question is how to teach a Windows 7 taskbar to recognize a sub-launched process as the same application and put it into the same button.

5
  • I do remember this effect, but can not reproduce it now with several PortableApps.com apps. Can you give us an example? Dec 9, 2012 at 18:01
  • Portable Mozilla Firefox by portableapps.com is an example. Drag FirefoxPortable.exe to the taskbar, click the second button and see new Firefox button created. Pin the second button, close Firefox, wait a minute, click the second button and see Firefox launched in non-portable mode.
    – Ivan
    Dec 9, 2012 at 20:06
  • Okay I see the problem now. So you should never pin the second button, but you still don't like the fact that you have two icons per portable app. Dec 9, 2012 at 20:41
  • I don't get the 2 icons per portable app problem. When I launch a portable app (from the launcher by potableaps.com), I get two icons- one the Launcher and another the app itself. Are these the 2 icons we are talking about ? Do you want to remove the launcher icon ? An annotated screenshot would be great.
    – Ankit
    Dec 9, 2012 at 21:06
  • I want to pin the launcher and get the instances stacked in the same button.
    – Ivan
    Dec 9, 2012 at 23:59

4 Answers 4

1

The reason Windows won't let you do this is because the AppID of the launcher is different than the AppID of the executable it launches. A 3rd party program is required, like 7 Taskbar Tweaker. Here is a guide explaining how. Not the easiest solution, but it's the only one I know of that keeps the app in it's portable state. N.B. This isn't guaranteed to work for all applications because there are a few with special AppID's.

0

Ivan's suggestion will work.

Unpin your current portable Firefox shortcut. Then, rather than dragging the launcher application on to your taskbar, simply launch it. Once Firefox appears on your taskbar, right-click the lone Firefox icon in your taskbar and select "Pin to taskbar." Then, no matter where you launch portable FF from, it will use the existing taskbar icon.

This will likely work for other portable apps, but I'd need specific examples to test it as I did Firefox.

0

Old question, now, but it still seems to be an issue facing many people, and on later versions of Windows, too. I thought I'd share what works for me ("Pin portables on USB drives to Taskbar, icons grouped").

// For simple apps, navigate to the .exe file on your USB drive (e.g. S:\papps\TedNPad.exe for Ted Notepad, where S:\ is my USB drive and "papps" is what I've named my portable apps folder). Drag the .exe icon to the Start Menu. Open the app from there. Pin the Taskbar icon that then appears.

// For more complicated apps, like Chrome (I'm using portable Version 85.0.4183.102, Official Build, 32-bit), drag the chrome.exe icon from "S:\papps\4\App\Chrome-bin" to the Start Menu, open the app, and pin as above (where "4" is the snappier name I chose for Chrome's app directory, instead of keeping it as "GoogleChromePortableLotsOfDigits" or whatever it was out of the box). Under Chrome's Taskbar icon's Properties' Shortcut tab, make sure that the Target is set as "S:\papps\4\App\Chrome-bin\chrome.exe --profile-directory=Default", and the "Start in" field as "S:\papps\4\App\Chrome-bin".

// (I've then dragged the Chrome icon along the Taskbar to position 4 so that I can open or switch to it conveniently with the keyboard shortcut Win+4.)

// For Firefox, you'll also have to locate the appropriate .exe file. Just dig around in its directories, and try applying the above process to each one by one until you find the one that works. New releases keep moving things around, but there shouldn't be more than two or three.

-1

I have discovered a method that works 100%. Here a illustrated guide

https://drive.google.com/file/d/0B_XQMJ3MrzxlQlloQW5RTnJ6Ymc/view?usp=sharing

Update

A even better method is as described here http://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/

1
  • 1
    Hi fawashah, while this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. Please take a look here: Why and how are some answers deleted?
    – bummi
    May 16, 2015 at 7:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .