Hi all,
Thanks for the Pash Project, it is an amazing project.
However I am trying to install Chocolatey (
https://github.com/chocolatey/chocolatey/wiki/Installation ) using Pash, but I didn't have any good progress.
Chocolatey is a package manager for Windows users. The installation of Chocolatey heavily depends on Power Shell. I want to run Chocolatey on Wine on Linux to test thousands of Windows software installers, one way is to support Microsoft Power Shell + Microsoft .Net Framework on Wine first, which would be quite hard, the other way is using Pash + Mono on Wine, which I'm not sure how hard is it yet.
I tried the command line in chocolatey wiki, but nothing works so far. For example:
PASH Z:\home\fracting\src\Pash\Source\PashConsole\bin\Debug> (iex ((new-object net.webclient).DownloadString('
https://chocolatey.org/install.ps1')))>$null 2>&1
Parse error: The parser internally crashed and gets reinitialized.
Although this shouldn't happen, it's likel...
+CategoryInfo: ParserError, Reason: ParseException
+FullyQualifiedErrorId: Parse
PASH Z:\home\fracting\src\Pash\Source\PashConsole\bin\Debug> Set-ExecutionPolicy Unrestricted
Command 'Set-ExecutionPolicy' not found.
+CategoryInfo: ObjectNotFound, Reason: ParentContainsErrorRecordException
+FullyQualifiedErrorId: CommandNotFoundException
PASH Z:\home\fracting\src\Pash\Source\PashConsole\bin\Debug> iex
Command 'Invoke-Expression' not found.
+CategoryInfo: ObjectNotFound, Reason: ParentContainsErrorRecordException
+FullyQualifiedErrorId: CommandNotFoundException
Anyone has idea what's wrong here? Is Pash complete enough to install Chocolatey itself and even support packages installation from Chocolatey repository?
If not, how hard is it to support Chocolatey and how could I start from hacking Pash?
Thank you for any advice, running Chocolatey using Pash on Wine will be very very useful for me. Thanks again for the great job!
--
Regards,
Qian Hong
-
http://www.winehq.org