setup: Execute postinstall batch with /d to prevent AutoRun
Mon Aug 12 12:18:00 GMT 2013
I am experiencing issues with autorebase.bat during setup. The call to
autorebase.bat simply fails.
I use a registry key  to execute a batch file before opening cmd to
setup my cmd environment with doskey . I guess that doskey tries to
access something that simply does not exist in the noninteractive
shell and therefore fails. Since I could not find a way to detect a
noninteractive shell in cmd I was thinking one could change the call
to cmd in script.cc to include the /d parameter  to prevent running
the AutoRun registry keys.
Does that make sense?
Arlo O'Keeffe | Skype: arlolok
More information about the Cygwin-apps