
에도 불구하고WineHQ의 나쁜 평가Debian Jessie에서 wine 1.7을 사용하여 Powershell 2.0을 설치하려고 시도했는데 레지스트리 "수정" 후에 이전 시작 오류 없이 실행됩니다.
나는 위 페이지의 지침을 따랐고, 많은 오류와 설치 프로그램 충돌이 있는 winetricks의 난제를 뛰어넘었고(up2date가 되기를 바라면서) 실행되고 버전 2.0으로 표시되지만 화면 가득 찬 화면을 제공했습니다. 나에게 메시지를 보내기 전에 오류가 발생했습니다.
이러한 시작 오류 는 로 %SystemRoot%
대체 하여 "수정"했습니다 . 이것은 단지 "깨진" 설치 증상을 해결하는 것처럼 보이므로 더 나은 솔루션이 없는지 확인하고 싶었습니다. 아마도 설치를 최신 상태로 유지하는 것일까요? Windows가 각 Windows 업데이트 후에 설치 가능한 패키지를 생성하기 위해 파일을 가져오는 스크립트는 무엇입니까 ? PowerShell 2.0 설치를 위해 2015+에 맞게 조정된 "winetricks recipe"c:\windows
wine regedit
wine bottle
바르게? 나는 무엇이든 가져갈 것이다.
나는 또한 터미널 문제에 직면합니다 (별도의 질문)-completion을 비활성화 TAB하고 하드 래핑을 도입합니다.
레지스트리 수정 전의 출력은 다음과 같습니다.
$ /usr/lib/wine-development/wine powershell.exe
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
The following error occurred while loading the extended type data file:
Cannot find the path "%SystemRoot%\system32\WindowsPowerShell\v1.0" specified in the registry key: "SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell\Path". Using "C:\windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35" to load the configuration files.
Microsoft.PowerShell.Diagnostics, C:\windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\%SystemRoot%\system32\WindowsPowerShell\v1.0\GetEvent.types.ps1xml : File not found.
Microsoft.PowerShell.Core, C:\windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\%SystemRoot%\system32\WindowsPowerShell\v1.0\types.ps1xml : File not found.
... More followup errors ...
PS Z:\home\alex> $psversiontable.psversion
Major : 2
Minor : 0
Build : -1
Revision : -1
MajorRevision : -1
MinorRevision : -1
-completion 없이는 약간 지루하기 때문에 모든 기능이 작동하는지 아직 테스트하지 않았습니다 TAB. 이와 같이 Powershell을 실행하고 성공/제한/설치_개선 사항을 보고할 수 있는 사람이 있습니까?
나는 사용하지 않은 Windows Pro 라이센스를 가지고 있으므로, 나는 wrt 라이센스가 적용된다고 생각합니다. 내가해야합니까?
전에저것코멘트가 나타납니다: 이것의 주요 목적은 내 tmux 탭 중 하나에서 powershell을 실행하여 Windows 시스템에 대한 PS-Remote-Session을 실행하는 것입니다. 두 번째 목적은 객체 지향 셸 패러다임과 기존 Windows 관리 라이브러리에 대한 관심입니다. Powershell에 사용할 수 있는 도구입니다.