Problem Deploying Excel Add-in using Builder EX: missing DLL files.
조회 수: 2 (최근 30일)
이전 댓글 표시
I'm very new to using the Builder EX toolbox and I'm finding the deployment not to be as straightforward as the User Guide suggests.
I can build, package and deploy on my own MATLAB PC, no problem. When I deploy to another non-MATLAB PC, I include the MCR installer and everything works fine until I get the following error:
"Source: VBA Project Message: Automation error. The specified module could not be found."
The troubleshooting notes talk about path settings, but that's not it. I found, using www.dependencywalker.com that the following DLL files were missing:
MSVCP100.DLL MSVCR100.DLL DWMAPI.DLL
Having specified the free version of MS visual C++ as the compiler for the Compiler toolbox, I found that installing the MS Visual C++ 2010 Redistributable Package (x86) vcredist_x86.exe seemed to solve the issue - although it appears it must be installed after the MCR installer, otherwise it doesn't work.
Okay, so to the question: Why is all this necessary; why are the DLLs missing in the first place; how can the vcredist file be packaged AND automatically executed AFTER the MCR? In fact, if all this is not in the documentation - that is to say I couldn't find it - is there not perhaps another way that avoids all this hassle? Your help and advice is very much appreciated!
댓글 수: 0
답변 (2개)
Aurelien Queffurust
2011년 2월 8일
You could read that first installing MCR is required and then you need to run vcredist_x86.exe on for 32-bit clients
댓글 수: 0
Richard de Garis
2011년 2월 8일
댓글 수: 1
fabien hubans
2011년 7월 19일
Next time , think about calling TMW technical support, they would have helped you by phone and given the same answer ;)
Sometimes I've noticed that a reboot is required , my answer would be "just try !"... in the worst case you lose 5 minutes to reboot
참고 항목
카테고리
Help Center 및 File Exchange에서 COM Component Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!