X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=ScTR58utXxuYaq7I7JUKg7YY30k2s uf+IxLITw5OSR+kB0aIxymECY5+7bLvVRRW28jMk/Ke3ZoLycPm6sILvfKtVhBAv qvMzxqFLgC9e4Pkt/bnEZBDlmojwTgcz5bi0WJEtNJxWlbCI/NGv+wgp7EyFisg1 hi4YXbTId+KVas= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=19I5gXvrlm3FETLsOlBWsPiQTdg=; b=fv3 uYiLBOqLcgslA23UQ6xaqowiR/+omjXTBV8YcFuEZoBoNGH0aec2ZX8OrM3vKJvs ZFaW5tcCjOps/6uQrtfxvPfNbKTaf2S3IVIjZvArZ06eJ0VhdQV9DE7Xo0PJixnI z1stqd+DaX18Qy+fmpthPB6Gb8ntRcdicmFnaYB4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.4 required=5.0 tests=BAYES_50,EXECUTABLE_URI,KAM_EXEURI,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=wwwlinkedincom, www.linkedin.com, UD:www.linkedin.com, DOS X-HELO: mail-io0-f170.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=yWoLFpmoNuCBKFDSmVCFWNe6qGwZXu3KPUBud5Zh4/w=; b=BXhlUts3cYkXl7ox2KZVssGbgcuKUJ2EOsr8lN56wjYfZGzeDW9JYT/Kgkfiblc6yi j3nU+jiUoX3suM6CPl20gA8uHqAbBs8+UOyL0e03lVLslDBOfYkRPoOWEimla5SINdjM 3gTzg5yrNin3jTDXYvC3QJDY7/DygH1NAr0c9PLh4016vdBHI4BHEGJo/TcTJuQfxW++ Ivt2fvP74oaYqiWb2fGsc44FAissDYgM/vIXj8F77+Y2LV+0+h4zZcNRAI37QctoRXXU hqTChqsW3XViCvE+8RDbBbW0oYmk/zs8SI0fYDKG/k4g9wYylWVtxvUUkqfOOsaJPEDK XShg== X-Gm-Message-State: AG10YORwgC7y4kVwOzF+mWJcRr02I96cH6/uNzPEAP/2oP8dWy2zsyxp19UtLkiseRQB6lPNc0WFW4HRq/lsBw== X-Received: by 10.107.131.66 with SMTP id f63mr26016640iod.91.1453838161642; Tue, 26 Jan 2016 11:56:01 -0800 (PST) MIME-Version: 1.0 From: Matthew Adams Date: Tue, 26 Jan 2016 13:55:42 -0600 Message-ID: Subject: Unattended setup succeeding but not really To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Hi all, I posted question http://superuser.com/questions/1031675/why-is-this-dos-batch-file-that-installs-cygwin-unattended-failing on superuser.com, then realized I should've asked on this first. The text of the question is copied below (in case you don't want to head over to superuser.com). Any advice? After assembling information from all over the Internet, I've managed to come up with a DOS batch script that should be working AFAICT, but after the Cygwin setup executable finishes (seemingly successfully), there is no bin directory in the Cygwin root folder. Why is it failing? Fixes welcome! :) NB: It attempts to cleanly install in a directory called cyg64 in the current user's home directory. setlocal if exist %HOMEDRIVE%%HOMEPATH%\cyg64 rmdir /s /q %HOMEDRIVE%%HOMEPATH%\cyg64 mkdir %HOMEDRIVE%%HOMEPATH%\cyg64 set CYGSETUP=%HOMEDRIVE%%HOMEPATH%\cyg64\cygsetup64.exe for /f "tokens=4-7 delims=[.] " %%i in ('ver') do (if %%i==Version (set v=%%j.%%k) else (set v=%%i.%%j)) if %v%==6.1 ( bitsadmin /transfer "CygwinDownload" https://www.cygwin.com/setup-x86_64.exe %CYGSETUP% ) else ( powershell -command "& { iwr https://www.cygwin.com/setup-x86_64.exe -OutFile $env:CYGSETUP } " ) %CYGSETUP% -D -q -R %HOMEDRIVE%%HOMEPATH%\cyg64 -a x86_64 -l %HOMEDRIVE%%HOMEPATH%\cyg64 -s http://cygwin.mirror.constant.com -P openssh,autossh,nano,vim,git endlocal TIA, Matthew -- mailto:matthew AT matthewadams DOT me skype:matthewadams12 googletalk:matthew AT matthewadams DOT me http://matthewadams.me http://www.linkedin.com/in/matthewadams -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple