Error installung Peak CAN Support Package

2 views (last 30 days)
Nico
Nico on 21 Oct 2014
Commented: Jon Boerner on 23 Oct 2014
While installing I get the following error:
Error installing third party software PEAK-System PCAN-Basic:
Error executing command
"vnt.supportpackages.peaksystem.setup.installdll('C:\MATLAB\SupportPackages\R2014a\downloads\peaksystem_download', 'pcan-basic', 'pcan-basic.zip')"
Access denied
And on the matlab console
Warning: File 'C:\Windows\SysWOW64\PCANBasic.dll' not found.
> In C:\MATLAB\SupportPackages\R2014a\peaksystem\+vnt\+supportpackages\+peaksystem\+setup\removedll.p>removedll at 12
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\evaluateCmd.p>evaluateCmd at 58
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallThirdPartyPackage at 2125
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallTpPkgs at 1433
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.install at 1176
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursiveImp at 742
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursive at 599
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installFromFolder at 278
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installWorkflow at 204
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>executeConfirm at 68
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\Step.p>Step.next at 169
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>@(varargin)hStep.next(varargin{:}) at 35
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.fireMethod at 388
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.initCallback/serviceCallback at 363
In hgfeval at 62
In uitools\private\javaaddlistener>cbBridge at 52
In uitools\private\javaaddlistener>@(o,e)cbBridge(o,e,response) at 47
Warning: File 'C:\Windows\System32\PCANBasic.dll' not found.
> In C:\MATLAB\SupportPackages\R2014a\peaksystem\+vnt\+supportpackages\+peaksystem\+setup\removedll.p>removedll at 14
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\evaluateCmd.p>evaluateCmd at 58
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallThirdPartyPackage at 2125
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallTpPkgs at 1433
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.install at 1176
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursiveImp at 742
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursive at 599
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installFromFolder at 278
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installWorkflow at 204
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>executeConfirm at 68
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\Step.p>Step.next at 169
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>@(varargin)hStep.next(varargin{:}) at 35
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.fireMethod at 388
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.initCallback/serviceCallback at 363
In hgfeval at 62
In uitools\private\javaaddlistener>cbBridge at 52
In uitools\private\javaaddlistener>@(o,e)cbBridge(o,e,response) at 47
How do I fix this?

Answers (1)

Jon Boerner
Jon Boerner on 22 Oct 2014
The first error looks like it may have caused the second. And the first error looks like a permissions issue. Maybe try starting MATLAB in admin mode and doing the support package installer again?
  2 Comments
Nico
Nico on 23 Oct 2014
Starting Matlab with admin rights doesn't change anything, but I don't know whether the support package installer gets also started with admin rights 0 Comments
Jon Boerner
Jon Boerner on 23 Oct 2014
Interesting. What version of MATLAB are you using?
Running MATLAB in administrator mode did resolve the issue for me. The other thing you can try is to install the support package to a different folder that you have write permissions for:

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!