diff --git a/appveyor.yml b/appveyor.yml
index 0fea9399c..6dfb3b224 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -113,8 +113,8 @@ install:
       {
         if ($env:platform -eq "Win32")
         {
-          $env:PATH = "c:\cygwin\bin;" + $env:PATH
-          $cmd = 'setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel';
+          $env:PATH = "C:\cygwin\bin;" + $env:PATH
+          $cmd = 'C:\cygwin\bin\setup-x86.exe -qnNdO -R C:/cygwin -s http://cygwin.mirror.constant.com -l C:/cygwin/var/cache/setup -P openssl-devel';
           iex "& $cmd"
         }
         if ($env:platform -eq "x64")