Incroyable HULK Posted December 16, 2004 Share Posted December 16, 2004 Well, I've been working a lot on my Unattended Windows 2000 SP4 project. I've been using it a while and now I want to build a final (perfect) version.Still I have some issues I would like to get over with:1)RunOnceEx.cmd can be used if you copy REG.EXE into SYSTEM32 (you can get it inside your CD\SUPPORT\TOOLS\SUPPORT.CAB) BUT I install Internet Explorer 6 from a batch file (launched from cmdlines.txt) and IE6 is adding some stuff wich is run via RunOnceEx:Navigation ServicesInternet ToolsSystem ServicesAfter thoses get executed, nothing happens. The system is working but the desktop won't show. You have to reboot and then everything is working perfectly.So I find must find a way to correct this OR I could execute shutdown.exe with a delay of 2 minutes (enought time to get over those 3 entries).1a)My other question: is there a small exe program available wich doesn't look ugly as shutdown.exe? (it looks like a big error message) Maybe something more graphical with a few buttons like Reboot Now and Cancel.2)Hotfixe 814078. I can get it installed unattended, it always show in Windows Update... I've tried to run this one from a batch file (launched from cmdlines.txt), run it from RunOnceEx, it won't work2a)Is there a svcpack.inf method available for Windows 2000???3)QuickTime. Even with the latest version, I get an error message QTPluginInstall.exe as generated some errors and will be shut down by Windows... this is happening at the very end of the QuickTime Installation4)OemPnPDriversPath. Is the limit still 4096 caracters? I'll need to do some further testing but not all my drivers get installed...These are non critical issues but I would like to clear them! Link to comment Share on other sites More sharing options...
ToBe Posted December 17, 2004 Share Posted December 17, 2004 (edited) I install Internet Explorer 6 from a batch file (launched from cmdlines.txt) and IE6 is adding some stuff wich is run via RunOnceEx:Navigation ServicesInternet ToolsSystem ServicesAfter thoses get executed, nothing happens. The system is working but the desktop won't show. You have to reboot and then everything is working perfectly.Check this thread for a possible solution on this problem:http://www.msfn.org/board/index.php?showtopic=25495//EDIT! Oh... You've posted in that thread.. Maybe this only works from svcpack.inf? Try executing ie6go.exe from the batchfile after the install of IE.//EDIT Edited December 17, 2004 by ToBe Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 17, 2004 Share Posted December 17, 2004 I have already encountered same problems as you with IE6SP1 and 814078.From my experience, i'm supposing is due to the order the updates and ie6setup are launched and dll registered. script version included in IE6 package should be registered first before 814078 try to update dll's.Rather than installing Internet Explorer 6 Service Pack 1 (SP1) from cmdlines.txt, install it from SVCPACK.INF.Copy all needed files in your i386\SVCPACKBRANDING.CABCRLUPD.CABfilelist.datie6setup.exeIEEXINST.CABiesetup.iniIEW2K_1.CABIEW2K_2.CABIEW2K_3.CABIEW2K_4.CABMAILNEWS.CABMPLAY2U.CABOEEXCEP.CABWAB.CABSCRIPTFR.EXE IE6START.EXEThat all the files needed for silent installation of IE6SP1.SCRIPTFR.EXE, it's a more recent update (replacement) than 814078. Don't forget to remove KB814078.EXE from your SVCPACK folder.IE6START.EXE is an iexpress package (a creation from GreenMachine 2KCreate) which do the following: START "RunOnce" /WAIT RUNDLL32.EXE IERNONCE.DLL,RunOnceExProcess The SVCPACK.INF looks like[Version] Signature="$Windows NT$" MajorVersion=5 MinorVersion=0 BuildNumber=2195 [SetupData] CatalogSubDir="\i386\svcpack" [SetupHotfixesToRun] DX9NTOPK.EXE /Q:A /R:N IE6SETUP.EXE /Q:A /R:N IE6START.EXE /Q:A /R:N <<< GreenMachine package >>><<< all HotFixes type 1 here. Silent switch: /Q /U /O /N /Z >>>889669.EXE /Q /U /O /N /Z <<< IE6 HotFix corporate version of 889293 >>>GDITOOL.EXE /Q:A /R:N <<< Repackaged, now silent >>>KB833989.EXE /Q:A /R:N <<< IE6 HotFix >>>KB870669.EXE /Q:A /R:N ROOTSUPD.EXE /Q:A /R:N SCRIPTFR.EXE /Q:A /R:N "MDAC_TYP.EXE /Q:A /R:N /C:""DAHOTFIX.EXE /Q /N""" "Q832483.EXE /Q:A /R:N /C:""DAHOTFIX.EXE /Q /N""" KB823353.EXE /Q:A /R:N <<< OE6 HotFix >>>QCHAIN.EXE [ProductCatalogsToInstall]Download links for the needed files for IE6SP1 Win2K only Windows 2K Security Updates for 2KCreate by GreenMachineCreate a silent GDITOOL.EXE package hereAbout IE6START.EXE, previously IE6GO.EXE Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 17, 2004 Author Share Posted December 17, 2004 The only way I managed to install 814078 correctly was this way:1- From cmdlines.txt I launched a batch file to install IE6 silently2- IE6 is adding some entry in RunOnceEx wich are executed FIRST!3- All the updates are in a batch file launched from RunOnceEx in the ENDThis way, it is installing properly BUT you will get a few error messages after RunOnceEx is finished and the desktop is loading. Once you reboot, everything is normal and you don't get any error messages.SO this is why I moved my Hotfixes installation to be executed from cmdlines.txt (after IE6) instead of the end of RunOnceEx. This way, Windows reboot before the first logon (and RunOnceEx execution) and I don't get theses error messages... but now 814078 isn't properly installed... Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 17, 2004 Share Posted December 17, 2004 Don't waste your time with 814078, switch to SCRIPTFR.EXEthanks to urgan for reporting the difference in versions herein IE6 SP1 (scripten.cab) the jscript.dll is 5.6.0.6626in 814078 (JS56NFR.EXE) the jscript.dll is 5.6.0.8513SCRIPTFR.INFDriverVer = 08-09-2004, 5.6.0.8825Product = "Microsoft Windows Script 5.6" Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 17, 2004 Author Share Posted December 17, 2004 So the svcpack folder and svcpack.inf method is supported in Win2000. Hum...Are you installing ALL your hotfixes from there? If so would you mind posting the full version of you svcpack.inf? Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 17, 2004 Share Posted December 17, 2004 (edited) YES, thanks to GreenMachine 2KCreate, you can install ALL the HotFixes from SVCPACK.INF. Actually, 2KCreate could not handle correctly the 841356 HotFix and as mentionned before, i'm still investigating how to integrate last recommended update 887797 for OE6.Problem with 887797 integration solved ! Edited January 22, 2005 by Bilou_Gateux Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 17, 2004 Author Share Posted December 17, 2004 Well I have tried a few things but I think I will NOT switch to the svcpack method.I know the problem I get is from IE6 and his RunOnceEx entries. So I've tried a couple of things:1- added your IE6GO.EXE right after the IE6 installation (batch file launched from cmdlines.txt)= NO RESULTS2- just added a reboot command as the first thing to be executed in RunOnceEx so this way, IE6 stuff is going on, then the RunOnceEx window is closing but since I ordered the reboot command BEFORE, windows is rebooting and is finishing the rest of my RunOnceEx installation. This is not elegant but now I have 2 options:A- I've read somewhere that you can execute the entries in RunOnceEx immediatly using this command:rundll32.exe iernonce.dll,RunOnceExProcessSo if this works, right after IE6 is intalled, the process will be executed...B- The other option is to execute 2 RunOnceEx files. I've seen it somewhere it is possible to break it in 2 separate files. It would be much cleaner!So for now, using method no.2, 814078 is not showing up in Windows Update. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 18, 2004 Author Share Posted December 18, 2004 OK! got it now! I turn out that the Hotfixe 823353 is messing up the IE6 entries in RunOnceEx !!! I had to build a lot of simulations to isolate this one!IE6 is NOT the cause of the RunOnceEx hangSo here is my current working method (keep in mind it is for Win2000 SP4):cmdlines.txt[Commands]".\GDITool.cmd"".\ie6.bat"".\wmp.bat"".\Hotfixes.cmd"".\RunOnceEx.cmd"GDITool.cmd is a simple registry entry for the annoying KB873374IE6, WMP and the Hotfixes could also be done with svcpack.infRemember you have to put REG.EXE in SYSTEM32 in order to use RunOnceEx.cmd:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Your Title" /fREG ADD %KEY%\zz01 /VE /D "Installation de DirectX 9.0c" /fREG ADD %KEY%\zz01 /V 1 /D "%systemdrive%\install\Applications\directx\dxsetup.exe /silent" /fYour Software...REG ADD %KEY%\zz10 /VE /D "Microsoft Hotfixes" /fREG ADD %KEY%\zz10 /V 1 /D "%systemdrive%\install\hotfixes\KB814078.exe /Q:A /R:N" /fREG ADD %KEY%\zz10 /V 2 /D "%systemdrive%\install\hotfixes\KB823353.exe /Q:A /R:N" /fREG ADD %KEY%\zz11 /VE /D "Computer will Reboot in 2 minutes/fREG ADD %KEY%\zz11 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITKB814078 and KB823353 are the only Hotfixes that must be done here.Also I am using zz01 to zz11 just to make sure that the stuff IE6 is adding to RunOnceEx is Executed First.So now I have to find a solution to the QuickTime error... and something to replace this ugly shutdown.exe Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 18, 2004 Share Posted December 18, 2004 Do you plan to apply:Cumulative Update for Outlook Express 6 Service Pack 1 (KB887797)Date Published: 12/14/2004This non-security update helps resolve various issues found in Outlook Express. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 20, 2004 Author Share Posted December 20, 2004 @Bilou_GateuxNo I am not planning to add this one... only Critical Updates! I'd like to add some reg tweak in Windows 2000 like I do in Windows XP, but it doesn't seems to work. For instance if I add this to my cmdlines.txt:[Commands]".\AllUsers.reg"Allusers.regWindows Registry Editor Version 5.00 ;----------------------- ;Operating System Tweaks ;----------------------- ; Pays = Canada[HKEY_CURRENT_USER\Control Panel\International]"iCountry"="2""iCurrDigits"="2""iCurrency"="3""iDate"="2""iDigits"="2""iLZero"="1""iMeasure"="0""iNegCurr"="15""iTime"="1""iTLZero"="1""Locale"="00000C0C""s1159"="""s2359"="""sCountry"="Canada""sCurrency"="$""sDate"="-""sDecimal"=",""sLanguage"="FRC""sList"=";""sLongDate"="d MMMM yyyy""sShortDate"="yyyy-MM-dd""sThousand"=" ""sTime"=":""sTimeFormat"="HH:mm:ss""iTimePrefix"="0""sMonDecimalSep"=",""sMonThousandSep"=" ""iNegNumber"="1""sNativeDigits"="0123456789""NumShape"="1""iCalendarType"="1""iFirstDayOfWeek"="6""iFirstWeekOfYear"="0""sGrouping"="3;0""sMonGrouping"="3;0""sPositiveSign"="""sNegativeSign"="-"[HKEY_CURRENT_USER\Control Panel\International\Geo]"Nation"="39"; Clavier canadien-francais[-HKEY_CURRENT_USER\Keyboard Layout][HKEY_CURRENT_USER\Keyboard Layout\IMEtoggle][HKEY_CURRENT_USER\Keyboard Layout\IMEtoggle\scancode][HKEY_CURRENT_USER\Keyboard Layout\Preload]"1"="00000c0c"[HKEY_CURRENT_USER\Keyboard Layout\Profile]"B0A57A8"=hex:00,27,89,e5,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4f,\ e6,28,04,a9,57,0a,0b"22983098"=hex:60,8a,14,6d,b2,ab,b2,2d,cb,fb,9a,22[HKEY_CURRENT_USER\Keyboard Layout\Substitutes]"00000c0c"="00001009"[HKEY_CURRENT_USER\Keyboard Layout\Toggle]"Hotkey"="1""Language Hotkey"="1""Layout Hotkey"="2"; Clavier Canadien Francais[-HKEY_USERS\.DEFAULT\Keyboard Layout\Preload][HKEY_USERS\.DEFAULT\Keyboard Layout\Preload]"1"="00000c0c"[-HKEY_CURRENT_USER\Keyboard Layout\Preload][HKEY_CURRENT_USER\Keyboard Layout\Preload]"1"="00000c0c" ;Désactiver l'update GDI+ KB873374[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\GdiDetectionTool]"GDITool"=dword:00000001;Toujours décharger les DLL à la fermeture d'un programme[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]"AlwaysUnloadDLL"=dword:00000001;Désactivation de l'îcone de ATi[HKEY_LOCAL_MACHINE\SOFTWARE\ATI Technologies\Desktop] "EnableIcon"=:"0" ;Arrêt plus rapide de l'ordinateur[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control] "WaitToKillServiceTimeout"="1000"[HKEY_CURRENT_USER\Control Panel\Desktop]"HungAppTimeout"="1000"[HKEY_CURRENT_USER\Control Panel\Desktop]"WaitToKillAppTimeout"="1000";Prefetcher tweak(faster booting)[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters]"EnablePrefetcher"=dword:00000003;Disable links folder in explorer favorites so it never appears again.[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]"LinksFolderName"="""Locked"=dword:00000001I don't get any error messages but it doesn't worksdo I have to convert to the format you gave me for GDItool? If so, how do I do?cmdow @ /HIDECHO OFF:: http://support.microsoft.com/kb/873374/en-us:: Set Microsoft GDI+ Detection Tool to completedREG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /fEXITalso can I use this syntax in svcpack.inf for IE6 installation?ie6setup.exe /C:"ie6wzd /S:""#e"" /Q:A /R:N" Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 20, 2004 Share Posted December 20, 2004 You should add some quotation marks " to make it works but i have not figured where to put them.Silent install: ie6setup.exe /Q:A /R:N [/C:"ie6wzd /S:""#e"" /Q:A /R:N"] section in brackets not mandatoryYes, you can switch from your reg file to a batch file using REG.EXE tool commands, and launch it from CMDLINES.TXT.one example i useCMDLINES.TXT[Commands]".\PISTART.EXE .\filedisk.cmd"".\PISTART.EXE .\memmgmt.cmd"".\PISTART.EXE .\explorer.cmd"".\PISTART.EXE .\icw.cmd"".\PISTART.EXE .\srvwiz.cmd"".\PISTART.EXE .\gditool.cmd"".\PISTART.EXE .\regopts.cmd"".\muiinst\muisetup.exe /i 040c /d 040c /r /s"".\muiinst\IEUI2KFR.EXE"FILEDISK.CMDECHO OFF:: FileDisk is a virtual disk driver for Windows NT/2000/XP that uses one or more files to emulate physical disks.:: http://www.acc.umu.se/~bosse/INSTDRVW.EXE FileDisk %SYSTEMROOT%\SYSTEM32\DRIVERS\filedisk.sys:: Set Number of DevicesREG ADD "HKLM\SYSTEM\CurrentControlSet\Services\FileDisk\Parameters" /v NumberOfDevices /t REG_DWORD /d 4 /fPISTART.EXE is an OEM tool from my notebook manufacturer which launch CMD scripts hidden. Same result as using cmdow @ /HID in your script.INSTDRVW.EXE is a tool to install a kernel-mode device driver.MEMMGMT.CMDECHO OFF:: Memory Management:: http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/regentry/29931.aspREG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "ClearPageFileAtShutdown" /t REG_DWORD /d 1 /f REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "DisablePagingExecutive" /t REG_DWORD /d 1 /f REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "IoPageLockLimit" /t REG_DWORD /d 68000 /f REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management" /v "LargeSystemCache" /t REG_DWORD /d 0 /f EXPLORER.CMDECHO OFF:: settings for explorer, full path in headerREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /v "Settings" /t REG_BINARY /d "0c0002000b01002060000000" /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /v "FullPath" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState" /v "FullPathAddress" /t REG_DWORD /d 1 /f:: Explorer Custom Settings:: isg.ee.ethz.ch/tools/realmen/down/tune-default-user.regREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Hidden" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowCompColor" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "DontPrettyPath" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowInfoTip" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideIcons" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "MapNetDrvBtn" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "WebView" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "Filter" /t REG_DWORD /d 0 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SuperHidden" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "SeparateProcess" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "StartMenuInit" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d 1 /fREG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ClassicViewState" /t REG_DWORD /d 1 /fICW.CMDECHO OFF:: Windows 2000 Registry: System and Startup Settings:: http://support.microsoft.com/?kbid=250380:: Remove Internet Connection Wizard from the Desktop in Windows 2000REG ADD HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v "^SetupICWDesktop" /t REG_SZ /d "||icwconn1.exe /restoredesktop" /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Welcome\ICW /fREG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Welcome\ICW /v "@" /t REG_DWORD /d 1 /fSRVWIZ.CMDECHO OFF:: Windows 2000 Registry: System and Startup Settings:: http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/featusability/systeman.mspx:: Suppress the Windows 2000 Configure Your Server WizardREG ADD "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Setup\Welcome" /v srvwiz /t REG_DWORD /d 0 /fGDITOOL.CMDECHO OFF:: http://support.microsoft.com/kb/873374/en-us:: Set Microsoft GDI+ Detection Tool to completedREG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /fREGOPTS.CMD:: http://www.microsoft.com/resources/documentation/Windows/XP/all/reskit/en-us/Default.asp?url=/resources/documentation/Windows/XP/all/reskit/en-us/prff_mul_mbou.asp:: Changing Language and Regional Optionsrundll32.exe shell32,Control_RunDLL intl.cpl,,/f:"c:\winnt\system32\$winnt$.inf":: Time Zone Brussels, Copenhagen, Madrid, ParisRUNDLL32.EXE SHELL32.DLL,Control_RunDLL TIMEDATE.CPL,,/Z (GMT+01:00) Brussels$winnt$.inf[RegionalSettings] LanguageGroup=1 Language=040c SystemLocale=040c UserLocale=040c InputLocale=040c:0000040c UserLocale_DefaultUser=040c InputLocale_DefaultUser=040c:0000040c MUILanguage=040c MUILanguage_DefaultUser=040c Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 20, 2004 Author Share Posted December 20, 2004 Ok! thanksthose stupid Keyboard setting NEVER worked from winnt.sif (French Canadian). I've tried everything until someone posted this working regtweak...Do I have to convert my regtweak or all I have to do is copy/paste in a CMD file? Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 20, 2004 Share Posted December 20, 2004 Copy and Past without some keyboard input will not convert a reg file (.reg) to a script (.cmd).You have to rewrite some parts:.REG;Toujours décharger les DLL à la fermeture d'un programme[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]"AlwaysUnloadDLL"=dword:00000001.CMD;Always Unload DLL's;http://www.xs4all.nl/~laar2002/tweak/win98/unload-dll.htmlREG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer" /v "AlwaysUnloadDLL" /t REG_DWORD /d 1 /fDo you see the light Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 20, 2004 Author Share Posted December 20, 2004 Yep! I see the light That's exactly what I wanted to knowEDIT: I doubt I'll be able to convert the whole sheet... my knowledge is to limited for the registry syntax... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now