The GNU Aspell installer for Win32 supports a simple silent installation swtich "/silent".
In addition to the Aspell installer, you will need to install at least one language dictionary. These are provided as ".exe" installers at http://www.aspell.net/win32
. Unfortunately, the installer wrappers do not support a silent mode. However, the contained setup files so support silent installation. Just extract files from the dictionary installer using WinRAR, 7-zip, or something similar, then copy all files in the "TmpInstall" subdirectory to your distribution point. The contained .exe also also uses a simple "silent" switch.
Here is a two line batch to accomplish the install:
REM Installs GNU ASpell Win32 silently
REM Requires standard GNU ASpell installer and extracted dictionary installer
REM (dictionary installer distributed from http://www.ASpell.net/win32 site does not support switches, but setup file contained within the archive does. Just download the disctionary, and extract using 7-zip, WinRAR, etc.)
Echo installing ASpell binaries:
Echo installing English dictionaries: