Error installung Peak CAN Support Package

2 vues (au cours des 30 derniers jours)
Nico
Nico le 21 Oct 2014
Commenté : Jon Boerner le 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?

Réponses (1)

Jon Boerner
Jon Boerner le 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 commentaires
Nico
Nico le 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 le 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:

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by