Error installung Peak CAN Support Package
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
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?
댓글 수: 0
답변 (1개)
  Jon Boerner
    
 2014년 10월 22일
        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
  Jon Boerner
    
 2014년 10월 23일
				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:

참고 항목
카테고리
				Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

