Jump to content

Easy unattended install via script


Recommended Posts

Hi all,

there are some categories of sw to install unattended with the same switches ( WISE NULLSOFT MSI INNOSETUP ). Therefore I wrote a cript to do this automatically. You don't have to put an entry in the runonceex.cmd for each "standard" program - just place it in the folder and rename it (like _WI_ for WISE or _NS_ for NULLSOFT etc.) and my script INSTALL.CMD will install it automatically:

ECHO Installiere Programme - Bitte warten...
REM = Installation mit /silent (klein geschrieben!)
FOR %%i IN (_SI_*.exe) DO start /wait %%i /silent
del /F /Q _SI_*.exe

REM = Installation mit MSI /qr
FOR %%i IN (*.msi) DO start /wait %%i /qr /norestart
move /Y TweakUI.exe %windir%\system32
del /F /Q *.msi

REM = Installation mit Nullsoft Silent Installer /S
FOR %%i IN (_NS_*.exe) DO start /wait %%i /S
taskkill /IM EvilLyrics.exe /F
taskkill /IM QCDPlayer.exe /F
del /F /Q _NS_*.exe

REM = Installation mit INNOSETUP /VERYSILENT /SP- /NORESTART
FOR %%i IN (_IS_*.exe) DO start /wait %%i /VERYSILENT /SP- /NORESTART
taskkill /IM ConTEXT.exe /F
copy /y ger.lng %ProgramFiles%\Free Download Manager\Language\
del /F /Q _IS_*.exe

REM = Installation mit WISE SETUP /s
FOR %%i IN (_WI_*.exe) DO start /wait %%i /s
taskkill /IM stardown.exe /f
del /F /Q _WI_*.exe

And here is my file list:

_IS_asciiartmachine.exe

_IS_dvdshrink32setup.exe

_IS_dvdbuilder.exe

_IS_everesthome151.exe

_IS_fdminst.exe

_IS_idoswin.exe

_IS_mpth_15.exe

_IS_netmeter.exe

_IS_pdfcreator_080_afpl_ghostscript.exe

_IS_regcleaner.exe

_IS_spybotsd13.exe

_IS_VCDEasy1152.exe

_IS_xnview174.exe

_IS_ZContextsetup.exe

_NS_evillyrics.exe

_NS_installspeedfan417.exe

_NS_qcd451.exe

_NS_tgf_065.exe

_SI_iview395.exe

_WI_flashplayer7installer.exe

_WI_rjhext13.exe

_WI_stardownloaderfree_143.exe

AdobeReader602update.msi

CalcPlus.msi

CDBurnerXPPro3.msi

cladDVDNET_350.msi

FindJunkFiles.msi

ger.lng

JournalViewer.msi

mbsasetup-de.msi

powertoys_Powercalc.msi

powertoys_TweakUI.msi

powertoys_Timershot.msi

powertoys_SlideshowGenerator.msi

powertoys_Taskswitch.msi

powertoys_DeskMan.msi

powertoys_HTMLSlideShow.msi

powertoys_ImageResizer.msi

powertoys_Magnifier.msi

TweakUI.exe

Does anybody use the same way?

Grtz!

vondaher

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...