Article ID: 885885 - Last Review: April 11, 2006 - Revision: 2.10 How to create and use a batch file to silently install multiple GDI+ security updatesOn This PageSUMMARYThis article describes how to use a batch file to silently install multiple GDI+ security updates for Microsoft Office programs to your computer with minimal required restarts.
INTRODUCTIONAdministrators may want to install all required the GDI+
security updates in one batch process. Because some of the GDI+ security
updates for Microsoft Internet Explorer 6.0 Service Pack 1 (SP1), for Microsoft
Windows XP, for Microsoft Office XP, for Microsoft Visio 2002, for Microsoft
Office 2003, and other Microsoft products are designed and packaged so that
they have different installation properties, you can create and use a batch
file to apply many updates at the same time to efficiently install multiple
updates. This article contains two sample batch files that can be easily modified with the correct path information so that multiple security updates can be installed without user intervention and without requiring a restart. The sample batch files that are included in this article are provided as examples only. The sample batch files are not intended to be examples for every possible combination of the GDI+ security updates that an administrator may want to install in one batch process. Each corporate environment will require specific batch files to update the Microsoft products that have been deployed for various desktop configurations. The software configurations that are included in this article cover an array of newer and older products that could be deployed in the corporate workplace today. Note Batch file 1 is designed to update Internet Explorer 6.0 SP1 on computers that are running the Microsoft Windows 2000 operating system. Important The information in this article is intended for IT professionals that are familiar with creating and using batch files. Although the information in this article is valid and provides IT professionals with one method to install multiple GDI+ security updates, it is not the recommended method for installing multiple GDI+ security updates. We recommend that you use the MS04-028 Enterprise Update Scanning Tool to scan computers for the required MS04-028 security updates and to apply any missing updates from a local area network (LAN) share. For additional information about the MS04-024 Enterprise Update Scanning Tool, click the following article numbers to view the articles in the Microsoft Knowledge Base: 886988
(http://support.microsoft.com/kb/886988/
)
How to obtain and use the MS04-028 Enterprise Update Scanning Tool in environments that do not use Systems Management Server
885920
(http://support.microsoft.com/kb/885920/
)
885920 How to obtain and use the MS04-028 Enterprise Update Scanning Tool in environments that use Systems Management Server 2003 and Systems Management Server 2.0
MORE INFORMATIONFollow these steps to create either batch file 1 or batch
file 2:
Information for sample batch file 1, the GDIPlusWin2k.bat fileThe following sample batch file, the GDIPlusWin2k.bat file, is for computers that are running Microsoft Windows 2000, Microsoft Windows 2000 Service Pack 2(SP2), Microsoft Windows 2000 Service Pack 3 (SP3), or Microsoft Windows 2000 Service Pack 4 (SP4).Note This sample assumes that the following Microsoft Products are installed. The following service packs for Microsoft Office XP, for Microsoft Project, and for Microsoft Visio must be installed as minimum requirements for the GDIPlus security update to apply successfully. Note that Microsoft Office 2003 Service Pack 1 (SP1), Microsoft Office Project 2003 Service Pack 1 (SP1), and Microsoft Office Visio 2003 Service Pack 1 (SP1) include the GDIPlus updates.
Text of batch file 1The GDIPlusWin2k.bat fileCopy the following script in a file that is named GDIPlusWin2k.bat:Information for sample Batch file 2, the GDIPlusWinXP.bat fileThe following sample batch file, the GDIPlusWinXP.bat file, is for computers that are running Microsoft Windows XP Service Pack 1 (SP1).Note This sample assumes that the following Microsoft Products are installed. The service packs that are listed here for Office XP, for Project, and for Visio must be installed as minimum requirements for the GDIPlus security update to apply successfully. Pease note that Microsoft Office 2003 SP1, Microsoft Office Project 2003 SP1, and Microsoft Office Visio 2003 SP1 includes the GDIPlus updates.
Text of batch file 2The GDIPlusWinXP.bat fileCopy the following script in a file that is named GDIPlusWinXP.bat:REFERENCESThe following Microsoft Knowledge Base articles provide more
information about the minimum requirements, the updated file versions, and the
command-line switches for each Microsoft product. The updated files include the
Gdiplus.dll (version 5.x), the Gdiplus.dll (version 6.x), the Mso.dll, the
Sxs.dll, and the Wsxs.dll files. For Microsoft Windows 2000 Professional, for Microsoft Windows NT 4.0 Professional, and for Internet Explorer 6.0 SP1: 833989
(http://support.microsoft.com/kb/833989/
)
Buffer overrun in JPEG processing (GDI+)
could allow code execution in Internet Explorer S833989
For Microsoft Project 2002: 831931
(http://support.microsoft.com/kb/831931/
)
Description of the Project 2002 security update: September 14, 2004
For Microsoft Office Project 2003: 838344
(http://support.microsoft.com/kb/838344/
)
Description of the Project 2003 security update: September 14, 2004
For Microsoft Windows Server 2003, for Microsoft Windows, for Microsoft Windows 2000 Server, and for Microsoft Windows XP Professional: 833987
(http://support.microsoft.com/kb/833987/
)
MS04-028: Buffer overrun in JPEG processing (GDI+) could allow code execution
For Microsoft Office XP: 832332
(http://support.microsoft.com/kb/832332/
)
Description of the Office XP security update: September 14, 2004
For Microsoft Office 2003: 838905
(http://support.microsoft.com/kb/838905/
)
Description of the Office 2003 security update: September 14, 2004
For Microsoft Visio 2002: 831932
(http://support.microsoft.com/kb/831932/
)
Description of the Visio 2002 security update: September 14, 2004
For Microsoft Office Visio 2003: 838345
(http://support.microsoft.com/kb/838345/
)
Description of the Visio 2003 security update: September 14, 2004
APPLIES TO
| Article Translations
|
Back to the top
