the_guy:
I have discovered a way to install unofficial [packed with Iexpress using SED + INF scripts] WinME patches/fixes/updates directly, without the need for manually disabling System Restore [from Control Panel], or using CoolKill [or similar tool] to kill Stmgr.exe, or using MSCONFIG to disable Statemgr.exe etc... etc...
All you need is run NIRCMD [freeware]:
http://www.nirsoft.n...ils/nircmd.html
to kill the running SR [System Restore] + WFP [Windows File Protection] processes/TSRs/services.
You also need to delete %windir%\WININIT.LOG before attempting to copy any system files to %windir%\SYSTEM or to %windir% .
Optional:
You can also delete the backed up system files from C:\_RESTORE\TEMP [example used in ME912919.EXE patch which installs GDI32.DLL + GDI.EXE = see links further below]:
C:\_RESTORE\TEMP\GDI.0
C:\_RESTORE\TEMP\GDI32.0
This is my ME912919.INF example with necessary nircmd lines [must have START.EXE (from WinME setup CD) + NIRCMD.EXE (
http://www.nirsoft.n...ils/nircmd.html ) in the same directory where the *.INF files reside]:
; ME912919.INF = Unofficial Windows ME GDI32.DLL + GDI.EXE 4.90.3002 Q912919 Security Vulnerability Fix
[Version]
Signature=$CHICAGO$
AdvancedINF=2.0
[DefaultInstall]
DelFiles=LOG,GD0
CopyFiles=GDI,INF
AddReg=RX
UpdateInis=WX
RunPreSetupCommands=WL1
RunPostSetupCommands=WL2
[INF]
@DELWL.INF
[GD0]
GDI.0
GDI32.0
[LOG]
WININIT.LOG
[GDI]
GDI32.DLL
GDI.EXE
[RX]
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\WININIT.LOG,,,%10%
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\WININIT.LOG,WININIT.LOG,,"WININIT.LOG,0"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnceEx\000","DWL",,"RUNDLL32 %11%\ADVPACK.DLL,LaunchINFSection %17%\@DELWL.INF,DefaultInstall"
[WX]
%10%\WININIT.INI,Rename,,"NUL=%10%\WININIT.LOG"
[WL1]
"START /W NIRCMD killprocess STMGR.EXE"
"START /W NIRCMD killprocess STATEMGR.EXE"
"START /W NIRCMD killprocess RSTRLFN.EXE"
"START /W NIRCMD killprocess RSTRUI.EXE"
"START /W NIRCMD killprocess VXDMON.VXD"
[WL2]
"START /W NIRCMD killprocess STMGR.EXE"
"START /W NIRCMD killprocess STATEMGR.EXE"
"START /W NIRCMD killprocess RSTRLFN.EXE"
"START /W NIRCMD killprocess RSTRUI.EXE"
"START /W NIRCMD killprocess VXDMON.VXD"
[DestinationDirs]
INF=17
LOG=10
GDI=11
GD0=31,_RESTORE\TEMP
WX=10
[SourceDisksNames]
1=,,0
ME912919.INF also uses @DELWL.INF to delete WININIT.LOG after next reboot:
[Version]
Signature=$CHICAGO$
AdvancedINF=2.0
[DefaultInstall]
AddReg=AR
DelFiles=LOG,GD0
[WX]
%10%\WININIT.INI,Rename,,"NUL=%10%\WININIT.LOG"
[AR]
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\WININIT.LOG,,,%10%
HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\WININIT.LOG,WININIT.LOG,,"WININIT.LOG,0"
HKLM,"Software\Microsoft\Windows\CurrentVersion\RunOnce","DX0",,"RUNDLL32 %11%\ADVPACK.DLL,LaunchINFSection %17%\@DELWL.INF,DX"
[LOG]
WININIT.LOG
[DX]
DelFiles=LOG,INF
[INF]
@DELWL.INF
[GD0]
GDI.0
GDI32.0
[DestinationDirs]
LOG=10
INF=17
WX=10
GD0=31,_RESTORE\TEMP
[SourceDisksNames]
1=,,0
I use both INFs above to install this patch:
* Unofficial Windows ME Graphics Rendering Engine GDI32.DLL + GDI.EXE build 4.90.3002 Security Vulnerability Fix:
http://www.microsoft.com/technet/security/...n/ms06-001.mspx
Direct download [392 KB, English]:
http://www.mdgx.com/files/ME912919.EXE
More info:
http://www.msfn.org/board/?showtopic=46581&st=193
This way I have successfully installed the ME912919.EXE patch on a WinME computer with SR/WFP running [stmgr, statemgr, rstrui, rstrlfn + vxdmon.vxd].
Please try this patch on your WinME computer, and see if it works properly [if it doesn't work, SR will restore old GDI*.* files from backups

].
Hope this helps.
This post has been edited by MDGx: 30 January 2006 - 11:45 PM