EXE redirection

Man of Honour
Joined
17 Nov 2003
Posts
36,747
Location
Southampton, UK
I have an application that is expecting to find Excel 2003 in it's default path. However, Excel 2007 is installed, not 2003 and so is in a different location. I can't change where the application looks for excel. Is there any way I can create a redirection to 2007? I can't do a shortcut as it is expecting an .exe not an .ink. Is there any easy way around this?

Thanks
 
I don't think that's possible directly.

Is it just a case of you want a .exe to execute excel 2007? Or does the application need to pass arguments to it as well? If you know the arguments and path I would be happy to make you a simple .exe that when executed launches excel 2007 at a path of your choosing, but it wouldn't be a shortcut as such, more an application that launches the new process.

Your other option would be to hack the exe and change the path it has hardcoded for 2003 to 2007 using a hex editor or resource hacker, depends if you want or are allowed to change the application though?

Thanks for the offer, but I don't think either of those are really an option. Do you know if NTFS junction points or symbolic links could work?
 
You could just hex edit with resource hacker replacing the 2003 reference no?

This is for work. I'd never get a change request authorising that.

Hard links seem to work in the way they were designed, but excel is complaining about dependant files. Looks like I will need to point at a directory rather than a single file. Oh well, it's all a learning curve.

Edit: Tried a junction point, but excel complains about dependant libraries all over the place :(
 
Back
Top Bottom