Windows – Is it possible to set a Windows 7 taskbar button to accept a different application as a child

taskbarwindows 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.

Best Answer

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.