MSFN Forum: My batch silent installation of software - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

My batch silent installation of software Rate Topic: -----

#1 User is offline   cwyhk 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 11-July 05

Posted 27 October 2005 - 09:02 AM

i-A00-MicrosoftUpdateActiveX-silent.bat

start /wait MicrosoftUpdateActiveX\WindowsUpdateAgent20-x86.exe /wuforce /quiet /norestart

expand MicrosoftUpdateActiveX\LegitCheckControl.cab -F:*.dll %windir%\system32\
regsvr32 /S %windir%\system32\LegitCheckControl.dll

expand MicrosoftUpdateActiveX\wuweb_site.cab -F:*.dll %windir%\system32\
regsvr32 /S %windir%\system32\wuweb.dll

expand MicrosoftUpdateActiveX\opuc3.cab -F:*.dll %windir%\
regsvr32 /S %windir%\opuc.dll

expand MicrosoftUpdateActiveX\muweb_site.cab -F:*.dll %windir%\system32\
regsvr32 /S %windir%\system32\muweb.dll

ping localhost > NUL

---------------------
i-A02-AcrobatReader7-silent.bat

if not (%OS%) == (Windows_NT) goto end

if exist %windir%\TEMP\adberdr\ rmdir /S /Q %windir%\TEMP\adberdr\
start /wait AcrobatReader7\AdbeRdr705_cht_full.exe /S -nos_ne -nos_o%windir%\TEMP\adberdr\
start /wait %windir%\TEMP\adberdr\"Adobe Reader 7.0.5 - Chinese Traditional.msi" /qr REBOOT=ReallySuppress
del /Q "%ALLUSERSPROFILE%\「開始」功能表\程式集\啟動\Adobe Reader Speed Launch.lnk"
del /Q "%ALLUSERSPROFILE%\桌面\Adobe Reader 7.0.lnk"
rmdir /S /Q %windir%\TEMP\adberdr\

:end

---------------------
i-A03-KliteMegaCodec-silent.bat

start /wait KliteMegaCodec\klmcodec136.exe /silent /LoadInf=".\KliteMegaCodec\klmcp.ini"

---------------------
i-A04-WindowsMediaPlayer10-silent.bat

if not (%OS%) == (Windows_NT) goto end

start /wait WindowsMediaPlayer10\MP10SETUP.EXE /Q:A /R:N /c:"SETUP_WM.EXE /Q /R:N /NoPID /DisallowSystemRestore /P:#e"
start /wait WindowsMediaPlayer10\windowsmedia10-kb892313-x86-intl.exe /passive /n /norestart
start WindowsMediaPlayer10\BypassSystemRestoreWarningScript.exe
start /wait WindowsMediaPlayer10\WindowsMedia-KB891122-x86-CHT.exe /passive /n /norestart
start /wait WindowsMediaPlayer10\WindowsMedia10-KB902344-x86-INTL.exe /passive /n /norestart

:end

---------------------
i-A05-MicrosoftNewIME2003-silent.bat

if not (%OS%) == (Windows_NT) goto end

start /wait msiexec /qr /passive /norestart /i MicrosoftNewIME2003\CINTSETP.MSI
start /wait msiexec /qr /passive /norestart /i MicrosoftNewIME2003\TINTSETP.MSI
start /wait msiexec /qr /passive /norestart /i MicrosoftNewIME2003\SINTSETP.MSI
start /wait msiexec /qr /i MicrosoftNewIME2003\EMSetup.msi
start /wait msiexec /qr /passive /norestart /i "MicrosoftNewIME2003\PMingLiU Update Pack.msi"

:end

---------------------
i-A06-FlashShockwave-silent.bat

start /wait FlashShockwave\flashplayer7installer.exe /s
start /wait msiexec /qr /i FlashShockwave\mm_fl_sw_installer.msi

---------------------
i-B13-Office2003-silent.bat

office2003\setup.exe PIDKEY=xxxxxxxxxxxxxxxxxxxx /qr /wait

---------------------
i-B14-Frontpage2003-silent.bat

Frontpage2003\setup.exe PIDKEY=xxxxxxxxxxxxxxxxxxxx /qr /wait

---------------------
i-B15-Office2003Update-silent.bat

Office2003Update\Office2003SP2-KB887616-Client-CHT.exe /r:n /q /c:"msiexec /qr /p MAINSP2op.msp REBOOT=ReallySuppress"
Office2003Update\office2003-KB907417-FullFile-CHT.exe /r:n /q /c:"msiexec /qr /p OTKLOADR.msp REBOOT=ReallySuppress"
Office2003Update\office2003-KB907492-FullFile-ZHH.exe /r:n /q /c:"msiexec /qr /p OUTLFLTR.msp REBOOT=ReallySuppress"


---------------------
i-B16-Project2003-silent.bat

Project2003\setup.exe PIDKEY=xxxxxxxxxxxxxxxxxxxx /qr /wait
Office2003Update\Project2003SP2-KB887620-FullFile-CHT.exe /r:n /q /c:"msiexec /qr /p PROJECTSP2.msp REBOOT=ReallySuppress"

---------------------
i-C22-SevenZip-silent.bat

start /wait Seven-Zip\7z429.exe /S
regedit /s Seven-Zip\7-Zip.reg

---------------------
i-C23-Alibabar-silent.bat

start /wait Aliba510\Alibabar510_Setup.exe /q

---------------------
i-C24-PDFcreator-silent.bat

start /wait PDFCreator\PDFCreator-0_8_1_AFPLGhostscript.exe /silent /norestart /LANG=English /sp-

---------------------
i-C25-EasyCleaner2-silent.bat

start /wait EasyCleaner2\ECLEA2_0.EXE -s -f1"EasyCleaner2\setup.iss" -f2"%TEMP%\EC2setup.log"
if (%OS%) == (Windows_NT) goto WindowsXP
:WindowsMe
xcopy EasyCleaner2\Options.ini "C:\PROGRAM FILES\ToniArts\EasyCleaner\" /Y
goto end
:WindowsXP
xcopy EasyCleaner2\Options.ini "%ProgramFiles%\ToniArts\EasyCleaner\" /Y
:end

---------------------
i-C27-FastStoneImageViewer-silent.bat

start /wait FastStoneImageViewer\FSViewerSetup.exe /S

---------------------
i-C28-WinSCP-silent.bat

start /wait WinSCP\winscp376setup.exe /Silent

---------------------
i-C29-WellGet-silent.bat

start /wait WellGet\wgsetup-en.exe /S

---------------------
i-D30-Nero66Ultra-silent.bat

set serial=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
start /wait Nero6\Nero-6.6.0.16.exe /LANGUAGE=CHT /silent /noreboot /sn=%serial% /write_sn
start /wait Nero6\Nero-6.6.0.16_eng.exe /silent /noreboot
start /wait Nero6\Nero-6.6.0.16_cht.exe /silent /noreboot

---------------------
i-D31-PowerDVD6-silent.bat

start /wait PowerDVD6\PDVD_6_2003e.exe
if not (%OS%) == (Windows_NT) set systemdrive=C:
del "%systemdrive%\Program Files\CyberLink\PowerDVD\OLRSubmission\OLRSubmission.exe"
xcopy PowerDVD6\APREG.url "%systemdrive%\Program Files\CyberLink\PowerDVD\" /Y

---------------------
i-D33-Winamp-silent.bat

if (%OS%) == (Windows_NT) goto WindowsXP
:WindowsMe
XCOPY Winamp\winamp.ini C:\WINDOWS\ /Y
start /wait Winamp\winamp51_lite.exe /S /install=SFQR
goto end
:WindowsXP
XCOPY Winamp\winamp.ini %SYSTEMROOT%\ /Y
start /wait Winamp\winamp51_lite.exe /S /install=SFQR
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v WinampAgent /f
:end

---------------------
i-D37-StarDict-silent.bat

if (%OS%) == (Windows_NT) goto NT_XP
:9x
start /wait Stardict\gtk-runtime-2.6.8-rev-a.exe /S
start /wait Stardict\stardict-2.4.5.exe /S /D="C:\Program Files\StarDict\"
start /wait Stardict\StarDictWav.exe
xcopy StarDict\stardict.cfg "C:\Program Files\StarDict\" /V
goto end
:NT_XP
start /wait Stardict\gtk-runtime-2.6.8-rev-a.exe /L= /S
start /wait Stardict\stardict-2.4.5.exe /S
start /wait Stardict\StarDictWav.exe
xcopy StarDict\stardict.cfg "%ProgramFiles%\StarDict\" /Y
:end

---------------------
i-D38-AutodeskDWFviewer-silent.bat

if not (%OS%) == (Windows_NT) goto end
start /wait AutodeskDWFviewer\DwfViewerSetup_cht.exe /q
:end

---------------------
i-D39-ACAD2002-silent.bat

start /wait ACAD2002\ACAD.MSI /qb ACAD_SILENT_LICENSE=YES ACADSERIALPREFIX=xxx ACADSERIALNUMBER=xxxxxxx ACADSERIALKEY=xxxxxx INSTALLLEVEL=3
start ACAD2002Update\k030rc2_k044_acad_unl_r4.exe /qb- ACAD_SILENT_LICENSE=YES
start /wait ACAD2002Update/WaitACAD.exe
if not (%OS%) == (Windows_NT) set ProgramFiles="C:\Program Files"
xcopy ACAD2002Update\Help\*.* "%ProgramFiles%\AutoCAD 2002\Help\" /Y
xcopy ACAD2002Update\Template\*.* "%ProgramFiles%\AutoCAD 2002\Template\" /Y

---------------------
i-E41-AVG7-silent.bat

start /wait AVG7\avg71free_362a652.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

---------------------
i-E42-MicrosoftAntiSpyware-silent.bat

start /wait MicrosoftAntiSpyware\MicrosoftAntiSpywareInstall.exe /S /v/qr

---------------------
i-E43-Spybotsd-silent.bat

start /wait Spybotsd\spybotsd14.exe /sp- /silent /norestart
regedit /s Spybotsd\spybot-Chi.reg
if (%OS%) == (Windows_NT) goto XP
:9x
start "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoclose /autoupdate /autoimmunize
goto end
:XP
start "" "%ProgramFiles%\Spybot - Search & Destroy\SpybotSD.exe" /taskbarhide /autoclose /autoupdate /autoimmunize
:end

---------------------
i-E45-DaemonTools-silent.bat

start /wait DaemonTools\daemon347.msi /qr /norestart

---------------------
i-G69-RealVNC-silent.bat

start /wait RealVNC\vnc-4_1_1-x86_win32.exe /silent
"%systemdrive%\Program Files\RealVNC\VNC4\winvnc4.exe" -stop
"%systemdrive%\Program Files\RealVNC\VNC4\winvnc4.exe" -unregister
regedit /s RealVNC\winvnc4.reg

---------------------
i-XP-GroupABCDE-silent.bat

start /min taskmgr.exe

for %%U in (i-A*) do call %%U

for %%U in (i-B13*) do call %%U
for %%U in (i-B14*) do call %%U
for %%U in (i-B15*) do call %%U
for %%U in (i-B16*) do call %%U

for %%U in (i-C*) do call %%U

for %%U in (i-D*) do call %%U

for %%U in (i-E*) do call %%U

---------------------

Attached File  proxp.JPG (130.65K)
Number of downloads: 376

This post has been edited by cwyhk: 10 November 2005 - 09:25 AM



#2 User is offline   cwyhk 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 11-July 05

Posted 27 October 2005 - 10:08 AM

---------------------
i-M61-MSNmessenger7-silent.bat
set ver=70
if (%OS%) == (Windows_NT) set ver=75
start /wait msiexec /qr /i MSNmessenger7\MsnMsgs%ver%.msi IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE=""
regedit /s MSNmessenger7\MsnMsgsStartup-Disable.reg

---------------------
i-M62-WindowsJournalViewer-silent.bat

start /wait WindowsJournalViewer\setup.exe /q /c /t:%windir%\temp\journal
start /wait msiexec /qr /i "%windir%\temp\journal\Microsoft Windows Journal Viewer.msi"

---------------------
i-M63-HighMATCDBurning-silent.bat

start /wait HighMATCDBurning\HMTCDWizard_CHT.exe /qr ALLUSERS=1 REBOOT=ReallySuppress

---------------------
i-M64-WindowsMediaEncoder9-silent.bat

start /wait WindowsMediaEncoder9\WMEncoder.exe /Q

---------------------
i-M65-WindowsMediaConnect-silent.bat

@rem Windows Media Connect Ver 2
start /wait WindowsMediaConnect\wmcsetup.exe /q /n /z

---------------------
i-M66-DotNet-silent.bat

start /wait DotNet\dotnetfx.exe /Q /C:"install.exe /q"
start /wait DotNet\langpack.exe /Q /C:"inst.exe /q"
start /wait DotNet\NDP1.1sp1-KB867460-X86.exe /Xp:"%windir%\Temp"
msiexec /qn /p %windir%\Temp\S867460.msp /norestart
start /wait DotNet\NDP1.1sp1-KB886903-X86.exe /Xp:"%windir%\Temp"
msiexec /qn /p %windir%\Temp\M886903.msp /norestart

---------------------
i-M67-WinXpSp2SupportTools-silent.bat

start /wait WinXpSp2SupportTools\WindowsXP-KB838079-SupportTools-ENU.exe /Q /C:"msiexec.exe /qb /i suptools.msi REBOOT=ReallySuppress"

---------------------
i-M68-WindowsScript56-silent.bat

start /wait WindowsScript56\scripcht.exe /q /r:n

---------------------
i-M69-WindowsMessenger51.bat

start /wait msiexec /qr /i WindowsMessenger51\messenger.msi

---------------------
i-M70-WindowsTweakUI-silent.bat

start WindowsTweakUI\TweakUiPowertoySetup.exe
start /wait WindowsTweakUI\TweakUiScript.exe

---------------------
i-M71-MicrosoftPowerToys-silent.bat

start /wait msiexec /qr /i MicrosoftPowerToys\CalcPlus.msi
start /wait MicrosoftPowerToys\ClearTypeTunerSetup.exe /S /v/qr
xcopy MicrosoftPowerToys\"ClearType Tuning.lnk" "%UserProfile%\「開始」功能表\程式集\Powertoys for Windows XP\" /Y
start /wait MicrosoftPowerToys\CmdHerePowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\DeskmanPowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\HTMLSlideShowSetup.exe /q /c:"msiexec /qr /i HTMLSlideShow.msi"
start /wait MicrosoftPowerToys\ImageResizerPowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\MagnifierPowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\PowerCalcPowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\RAWViewerSetupLite.exe /S /v/qr
start /wait MicrosoftPowerToys\SlideshowPowertoySetup.exe /S /v/qr
start /wait msiexec /qr /i MicrosoftPowerToys\SyncToySetup.msi
start /wait MicrosoftPowerToys\TaskswitchPowertoySetup.exe /S /v/qr
start /wait MicrosoftPowerToys\TimershotPowertoySetup.exe /S /v/qr

---------------------
i-M72-MicrosoftAppLocale-silent.bat

start /wait msiexec /qr /i Applocale\apploc.msi

---------------------

Attached File  WinXpMsApplication.JPG (86.42K)
Number of downloads: 145

---------------------
MSNmessenger7\MsnMsgsStartup-Disable.reg

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"msnmsgr"=-

---------------------
WindowsMediaConnect\WindowsMediaConnectScript.au3

WinWaitActive("Windows","System Restore",20)
WinActivate("Windows","System Restore")
If WinActive("Windows","System Restore") Then
send("{enter}")
EndIf



---------------------
WindowsTweakUI\TweakUiScript.au3

WinWaitActive("Microsoft Powertoys","Welcome",10)
WinActivate("Microsoft Powertoys ","")
If WinActive("Microsoft Powertoys","Welcome") Then
send("!n")
EndIf
WinWaitActive("Microsoft Powertoys ","License",10)
WinActivate("Microsoft Powertoys","")
If WinActive("Microsoft Powertoys","License") Then
send("!a" & "!n")
EndIf
WinWaitActive("Microsoft Powertoys","Finish",10)
WinActivate("Microsoft Powertoys","")
If WinActive("Microsoft Powertoys","Finish") Then
send("{enter}")
EndIf

---------------------

This post has been edited by cwyhk: 01 December 2005 - 06:56 AM


#3 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 27 October 2005 - 12:14 PM

I have no idea if there is supposed to be a question, or if you are after comments, however, here's mine.

1. Put in a little error trapping

2. The correct syntax for the START command is
START "title" /WAIT "command or program" /parameters
Even if you're not using a title, you should at least leave it blank

e.g.
start "" /wait FlashShockwave\flashplayer7installer.exe /s


3. Change your file extensions to .cmd instead of .bat

<Edit>
4. Why bother with the .reg file when you could apply the registry settings directly in a batch file using reg.exe
</Edit>

This post has been edited by Yzöwl: 27 October 2005 - 12:17 PM


#4 User is offline   keeka 

  • Group: Members
  • Posts: 1
  • Joined: 21-February 09

Posted 21 February 2009 - 09:52 AM

Thank you cwyhk, years later these silent install parameters are still handy!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy