Error downloading and installing Calabash sandbox on Windows

Hello,
I also encounter difficulty installing Calabash sandbox on Windows. See Mari Thorsteinsen message on January 25
While launching the command PS C:> (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/master/install-windows.ps1") | iex on PowerShell, I had the following message.

For information, I change the Powershell execution policy to Yes before.
I tried the new script mentionned in the discussion i.e (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/windows/donet_unzip/install-windows.ps1") | iex but it's KO.

Here's my PowerShell :

PS C:\Ruby23-x64\bin> (New-Object System.Net.WebClient).DownloadString("https://raw.githubusercontent.com/calabash/install/master/install-windows.ps1") | iex

Add-Type : Impossible d’ajouter un type. L’assembly « System.IO.Compression.FileSystem » est introuvable.
Au niveau de ligne : 1 Caractère : 9

  • Add-Type <<<< -AssemblyName System.IO.Compression.FileSystem :String
    • CategoryInfo : ObjectNotFound: (System.IO.Compression.FileSystem:String) [Add-Type], Exception
    • FullyQualifiedErrorId : ASSEMBLY_NOT_FOUND,Microsoft.PowerShell.Commands.AddTypeCommand

Add-Type : Impossible d’ajouter un type. Un ou plusieurs assemblys requis sont manquants.
Au niveau de la ligne : 1 Caractère : 9

  • Add-Type <<<< -AssemblyName System.IO.Compression.FileSystem :String
    • CategoryInfo : InvalidData: (:) [Add-Type], InvalidOperationException
    • FullyQualifiedErrorId : ASSEMBLY_LOAD_ERRORS,Microsoft.PowerShell.Commands.AddTypeCommand

Overwrite Sandbox
Sandbox already exists! Do you want to overwrite? (Any gems you’ve installed will be removed)
[Y] Yes [N] No [?] Aide (La valeur par défaut est « N ») : Y
Preparing Ruby ruby-2.1.6-p336...
Invoke –Expression : Le terme « wget » n’est pas reconnu comme no d’applet de commande, fonction, fichier de script, ou programme exécutable. Vérifier l’orthographe du nom, ou si un chemin d’accès existe, vérifier que le chemin d’accès est correct et réessayez.
Au niveau de la ligne : 1 Caractère 136

Thanks a lot for your help, I don't know if Calabash sandbox is correctly install and if I can install gems. Have a nice day.
Nathalie

Posts

  • RisheetThankiRisheetThanki USMember

    I am also having the same issue when trying to install the calabash-sandbox on my Windows 7 x64 enterprise machine.

  • nblittenblitte USMember

    I'm also on Windows 7 Entreprise SP1

  • nblittenblitte USMember

    I don't know if it's an important parameter but my Powershell version is 2.0

  • Chris.FuentesChris.Fuentes Xamurai USXamarin Team Xamurai

    Hi All,

    Per the README (https://github.com/calabash/install), the calabash-sandbox for Windows is only officially supported on Windows 10 (though it also seems to work in Windows 8). It is not tested or scripted for Windows 7.

    That said, I'll see if there isn't some workaround and report back.

    Best,

    • Chris
  • nblittenblitte USMember

    Thanks a lot for your answer Chris.
    I didn't see this recommandation.

  • Chris.FuentesChris.Fuentes Xamurai USXamarin Team Xamurai

    Hi All,

    Full Windows 7 support for the sandbox does not seem likely in the near future, but there is a chance that using a newer version of PowerShell will work ( https://blogs.technet.microsoft.com/heyscriptingguy/2013/06/02/weekend-scripter-install-powershell-3-0-on-windows-7/ ), but this hasn't been verified by anyone on our team.

    If you download a newer PowerShell and find that it solves your issue, please let me know!

    Best,

    • Chris
  • nblittenblitte USMember

    Thanks a lot Chris. I'll try to upgrade my version of Powershell when I have a few moment.

  • shawnwongshawnwong USMember

    Hi Chris,

    Do you mean that it's impossible to run calabash at Win7? I might need to find a Win10 machine.

Sign In or Register to comment.