I am trying to create a .bat script that will perform an unattended Cygwin install.
The setup-x86.exe file and package directory are available as a network share mapped to the Z: drive. The script is as follows:
Z:\cygwin\setup-x86.exe --local-install --local-package-dir Z:\cygwin\packages --quiet-mode --no-admin
When I run the script, I get the Cygwin Setup screen and "Checking prerequisites..." and then a popup entitled "mount" with the message "Access is denied."
I tried adding a '--root C:\Users\username\cygwin' to the command line but got exactly the same result. (Note that the C:\Users\username directory exists and can be written by the current user)