WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Miscellaneous

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Wrapper for Office Products Issue

 Keywords: manifest Office Word.EXE Excel.EXE Outlook.exe Wrapper 

Question:

My goal is very simple:
Before running any MS Office applications (such as Excel.exe, Winword.exe,...) I want to run another ABCD.EXE program and then start the MS Office applications as usual.

If I create a test.exe that has:

home = dirscript()
run("%home%ABCD.exe","" )
run("EXCEL.EXE","")
exit
then it runs OK.

But if I try to to replace the original EXCEL.EXE by the one that has a wrapper by: renaming the original EXCEL.EXE to for example EXCEL_ORI.EXE and the test.exe to EXCEL.EXE and change my program to

home = dirscript()
run("%home%ABCD.exe","" )
run("EXCEL_ORI.EXE","")
exit
Put the new EXCEL.EXE in C:\Program Files\Microsoft Office\Office12 folder then I got the "Unable to locate Component message": "This application has failed to start because MSVCR80.dll was not found"

Any suggestion to solve the problem will be very welcome. I really need to get the wrapper for the Microsoft Office products work.

Thanks so much.

Answer:

Unfortunately it would seem the system handles the Office EXCEL.EXE in a special way. You will need to figure out what exactly is happening. Maybe search the registry HKEYCLASSESROOT for EXCEL.EXE. Maybe there is something there you can modify.

A manifest file may be causing the problem. Search for excel.exe.manifest file to the folder where the Excel.exe is located. If it's there rename it also using Filerename. Check out: http://microsoft-personal-applications.hostweb.com/TopicMessages/microsoft.public.outlook.installation/821114/1/Default.aspx


Article ID:   W17984
Filename:   Wrapper for Office Products  Issue.txt
File Created: 2011:08:03:08:32:02
Last Updated: 2011:08:03:08:32:02