basically I put all the EXE or MSI files in one folder..
IE on usb stick, F:\Installers\
Then I google "silent install 'programName'"
It'll tell you the switches you need
Then you open Notepad, type in the code, save it as 'installer.bat' (not .bat.txt), then double click the bat file to test it.
echo Insatlling CCleaner
ccsetup325_slim.exe /S
echo Installing Flash IE
install_flash_player_11_active_x.exe -install
echo Installing Flash Mozilla
install_flash_player_11_plugin.exe -install
That would install CCleaner, Flash for IE, Flash for Firefox
Each type of installer has it's own 'switches'
For Ccleaner, the
/S makes it a 'silent' install
For flash it uses
-install as a silent install
I also use a few other cleanup things at the end to delete shortcuts that I don't want etc..
if exist "%public%\Desktop\CCleaner.lnk" del /Q "%public%\Desktop\CCleaner.lnk"
if exist "%allusersprofile%\Desktop\CCleaner.lnk" del /Q "%allusersprofile%\Desktop\CCleaner.lnk"
if exist "%programdata%\Microsoft\Windows\Start Menu\Programs\ccleaner" rd /S /Q "%programdata%\Microsoft\Windows\Start Menu\Programs\ccleaner"
if exist "%allusersprofile%\Start Menu\Programs\CCleaner" rd /S /Q "%allusersprofile%\Start Menu\Programs\CCleaner"
reg delete "HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\Run CCleaner" /f
That removes the shortcuts for ccleaner, and the 'run' shortcut from the recycle bin
So my two methods of running ccleaner are..
right click recycle bin, click 'open ccleaner'
start, run, ccleaner