Excel Add-in Deployment Problem

3 次查看(过去 30 天)
Adam
Adam 2011-6-6
I created the filename_pkg.exe file using MATLAB EX (selecteing Excel Add-in from the dropdown menu on the GUI) and loaded the file onto a computer without Matlab to deploy it.
A command window appeared and I followed the on screen instructions to install the MRCInstaller.
After clicking finish on the installer a dialog box titled RegSvr32 displays:
The module "filename_1_0.dll" failed to load.
Make sure the binary is stored at the specified path or debug it to check for problems with the binary or dependent .DLL files.
The specified module could not be found.
I have struggled with this issue all day and have tried various web searches including vcredist_x86.exe and mwregsvr projectdll.dll in the cmd window to try and remedy another error i am getting in Excel (ActiveX component can't create object).
Any help would be very much appreciated!
  2 个评论
Kaustubha Govind
Kaustubha Govind 2011-6-7
You might find it useful to use Dependency Walker to chase down any missing dependencies.
Mark
Mark 2011-7-15
I had this or related problem, issue seemed to be caused by missing dependencies from files that were a part of the visual studio installation msvcp100.dll,msvcr100.dll and msvcr90.dll. If those files are next to the deployment dll when the dll is registered the error goes away

请先登录,再进行评论。

回答(1 个)

Laura Proctor
Laura Proctor 2011-6-6
There are so many reasons why this could be happening ... you may have better luck by contacting technical support.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by