|
| |||||||||
| Tags: batch file, cmd file, multiple gdi, reg add, security updates, silent installation |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| Batch File for doing the Silent Installation.
Can I create a batch file or .cmd file which can enter into a registry file without being asked if it's okay/continue, etc.? I want to create a Batch File for doing the Silent Installation. Is it possible..?? I think that you all have understood my point.! Also is there any way to create and use a batch file to silently install multiple GDI+ security updates..?? Please help me by providing the useful instructions. ![]()
__________________ Do not email me asking for tech support. Any private support is billable at $50 an hour. |
|
#2
| ||||
| ||||
| Re: Batch File for doing the Silent Installation.
You can use the REG ADD for adding anything in the registry. Further you have said that you want to do it silently without any prompts. For that you can use the key name /f, which is used to do the force overwriting the existing registry entry without prompt. So you can use the following command for adding the registries without any prompts : Code: reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Test /v silent /f |
|
#3
| ||||
| ||||
| Re: Batch File for doing the Silent Installation.
You will have to use different approach, if you are looking to import a file with a ".reg" extension. You can use the following code for that purpose : Code: regedit.exe /s "C:\Test\File.reg" |
|
#4
| ||||
| ||||
| Re: How to create and use a batch file to silently install multiple GDI+ security updates?
You can create and use a batch file to silently install multiple GDI+ security updates by following the steps mentioned below : You will have to create the batch file for that, which can be created as follows :
|
|
#5
| ||||
| ||||
| Re: Batch File for doing the Silent Installation.
The following text should be entered into the Batch 1 file which is the GDIPlusWin2k.bat file. The script should be : Code: Start /wait c:\GDIPlus\IE6.0sp1-KB833989-x86-ENU.exe /q:a /r:n Start /wait c:\GDIPlus\OHotfix.exe Exit REM /q:a (quiet administrator mode so NO progress bar and NO dialogs presented) REM /r:n (never restart the local computer) REM See 833989 for a complete listing of available switches REM The comments below are provided for information only. The OHotfix.ini file requires manual editing. REM This batch file is for systems running Windows 2000 SP2, SP3 or SP4 with Internet Explorer 6.0 SP1. REM See KB article 833989 for more information about this security update. REM Multiple Installer update files (.msp) will run in alphabetical order using OHotfix.exe. REM Manually change the OHotfix.ini settings listed below for silent update install with full verbose logging. REM Log files are always created to record the progress of ohotfix.exe and ; the Windows Installer. REM OHotfix.ini settings for quiet install ; A final dialog can be displayed to indicate that the update was applied ; successfully. This dialog will only be displayed if ShowSuccessDialog is ; set to 1 and OHotfixUILevel is set to n. ; 1 = Display the success dialog box. ; 0 = Do not display the success dialog box. ; Rem ShowSuccessDialog=0 ; v = Log all ohotfix.exe actions/messages. ; n = Log only typical ohotfix.exe actions/messages. ; REM OHotfixLogLevel=v ; v = Log all Windows Installer information, including the verbose information (/L*v+). ; n = Log Windows terminal properties and Windows Installer status messages, ; nonfatal warnings, startup of actions, and error messages (/Lpiwae+). ; REM MsiLogLevel=v ; The user interface level can be set for both ohotfix.exe and the Windows ; Installer service. ; n = Display ohotfix.exe messages. ; q = Do not display ohotfix.exe messages. ; REM OHotfixUILevel=q ; n = Display the basic Windows Installer user interface. ; q = Do not display any Windows Installer user interface. ; REM MsiUILevel=q the GDIPlusWinXP.bat file. Code: Start /wait c:\GDIPlus\WindowXP-KB833987-x86-ENU.exe /quiet /norestart Start /wait c:\GDIPlus\OHotfix.exe Exit REM The comments below are provided for general information only. REM This batch file is for systems running Windows XP & SP1 REM See KB article 833987 for more information about this security update for Windows XP systems. REM Multiple Installer update files (.msp) will run in alphabetical order using OHotfix.exe. REM OHotfix.ini settings for quiet install ; A final dialog can be displayed to indicate that the update was applied ; successfully. This dialog will only be displayed if ShowSuccessDialog is ; set to 1 and OHotfixUILevel is set to n. ; 1 = Display the success dialog box. ; 0 = Do not display the success dialog box. ; REM ShowSuccessDialog=0 REM OHotfix.ini is configured for silent update install with full verbose logging. REM Log files are always created to record the progress of ohotfix.exe and ; the Windows Installer. ; v = Log all ohotfix.exe actions/messages. ; n = Log only typical ohotfix.exe actions/messages. ; REM OHotfixLogLevel=v ; v = Log all Windows Installer information, including the verbose information (/L*v+). ; n = Log Windows terminal properties and Windows Installer status messages, ; nonfatal warnings, startup of actions, and error messages (/Lpiwae+). ; REM MsiLogLevel=v ; The user interface level can be set for both ohotfix.exe and the Windows ; Installer service. ; n = Display ohotfix.exe messages. ; q = Do not display ohotfix.exe messages. ; REM OHotfixUILevel=q ; n = Display the basic Windows Installer user interface. ; q = Do not display any Windows Installer user interface. ; REM MsiUILevel=q
__________________ The FIFA Manager 2009 PC Game |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Batch File for doing the Silent Installation." | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JRE Silent Installation | Messenger | Windows Software | 3 | 26-07-2010 01:41 PM |
| Want a full silent Installation of VLC | UseME | Windows Software | 4 | 23-03-2010 08:55 PM |
| Silent installation of text only printer fails (driver signing) | Roger | Windows XP Support | 6 | 12-10-2008 03:26 AM |
| Silent certificate installation | Nelson Guerrero | Windows Security | 1 | 22-02-2007 04:19 AM |
| Issue with silent installation for Office 2007 Suite | JosefWB | Office Setup | 2 | 04-01-2007 10:10 AM |