10 Nov 2009 @ 11:42 PM 

Today at a customer I wanted to show shims of the microsoft application compatibility toolkit (ACT5.5) with a redirectEXE shim. The redirectEXE shim kills the original exe and launches another executable (or better should). Here are some screenshots how to make your colleague mad by redirecting notepad.exe to regedit.exe :-)

Add a new fix in compatibility Administrator

Create a new fix

Define a name of the fix and search for the executable

Define a name for the fix and browse for the executable

choose none

Choose “none” because we want to define a special fix

RedirectEXE

Choose the redirectEXE shim and then press the Button parameters or ALT+P

new executable

Define the new executable (here regedit.exe, so if somebody wants to launch Notepad.exe regedit will be started)

Finish

Finish defining the shim – in the next steps you save the shim database and install it…

Shim Database name

Save the database

Database Name

Give the database a name

Path to database

Define the path to the database

Install database

And finally install database. From now on you cannot launch notepad.exe anymore. Well at least this I thought but at my showcase it did not work. Why – I assume because my OS is Windows7. The exact same way works on Windows XP. So Probably the used ACT version 5.5 does not work with all shims on Windows7 yet.

Another point is for what you can use the redirectExe shim. A colleague of mine used it in former times for online patching of Terminal Servers. We had a customer with a very “update friendly” application. Every wednesday a new version came out and on thursday the emergency update. With the redirectEXE shim you could justr copy the new EXE on the server and redirect all new launches of the EXE to the new version. Doing this you dont need to kick the users….

—-

Some days ago a colleague showed me that redirectexe also works on Windows 7. And he figured out, that it is a problem with notepad – so it seems that redirectexe has a problem only with notepad   – thanks to Michael

Posted By: Matthias
Last Edit: 23 Dec 2009 @ 09:14 PM

EmailPermalink
Tags
Tags: , ,
Categories: shims


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Change Theme...
  • Users » 1
  • Posts/Pages » 22
  • Comments » 6
Change Theme...
  • VoidVoid
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater « Default
  • FireFire
  • LightLight