Retro Posted August 23, 2004 Share Posted August 23, 2004 (edited) I have a problem with my Win2k installation.it install itself nicely until you get into Win2k the first time and it should start to install all the programs i defined in my batch install scripts.but instead it hangs just showing the background image of win2k and the cursor. i can press CTRL+ALT+DELETE to get the windows Job Manager and start explorer.exe myself. and when the machine has rebooted, it starts the batch install scripts....i hope you guys have all the info you need or else ask for more my conf files are as follows:Winnt.sif[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes"[Unattended] OemPreinstall=Yes WaitForReboot=No FileSystem=* UnattendSwitch=yes UnattendMode=FullUnattended OemSkipEula=Yes TargetPath=\WINDOWS OemPnPDriversPath="Drivers\Matsonic\Chipset;Drivers\Asus533\Chipset;Drivers\Asus800\Chipset;Drivers\mb133\Chipset;Drivers\NvGrafik;Drivers\Matsonic\Grafik;Drivers\Asus533\Grafik;Drivers\Asus800\Grafik;Drivers\mb133\Grafik;Drivers\Matsonic\LAN;Drivers\Asus533\LAN;Drivers\Asus800\LAN;Drivers\mb133\LAN;Drivers\Matsonic\lyd;Drivers\Asus533\Lyd;Drivers\Asus800\Lyd;Drivers\mb133\lyd;\Drivers\Dlink" DriverSigningPolicy=Ignore[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=105 OemSkipWelcome=1 AutoLogon=Yes AutoLogonCount=1[UserData] ProductID = FullName="Euc Midt" OrgName="Euc Midt" ComputerName=*[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=60[RegionalSettings] LanguageGroup=1 Language=00000406[Identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Components] msnexplr=off msmsgs=off zonegames=off[Shell] DefaultStartPanelOff=Yes[GuiRunOnce] %systemdrive%\install\install.bat %systemdrive%\install\\hotfixes\hotfixes.cmd %systemdrive%\install\hotfixes\removing.cmdSvcpack.inf[Version] Signature="$Windows NT$"MajorVersion=5MinorVersion=0BuildNumber=2195[SetupData]CatalogSubDir="\i386\Update"[ProductCatalogsToInstall][SetupHotfixesToRun]ie6setup.exe /Q:A /R:NKB822603.exe /Q /O /N /ZKB842526.exe /Q /O /N /ZKB841872.exe /Q /O /N /ZKB828749.exe /Q /O /N /ZQ329115.exe /Q /O /N /ZKB826232.exe /Q /O /N /Z823559.exe /Q /O /N /ZKB82088.exe /Q /O /N /Z822831.exe /Q /O /N /ZKB837272.exe /Q /O /N /ZKB823182.exe /Q /O /N /ZKB824105.exe /Q /O /N /ZKB825119.exe /Q /O /N /ZKB826939.exe /Q /O /N /ZKB828035.exe /Q /O /N /ZKB828741.exe /Q /O /N /ZKB835732.exe /Q /O /N /ZKB837001.exe /Q /O /N /ZKB839645.exe /Q /O /N /ZKB840315.exe /Q /O /N /ZKB841873.exe /Q /O /N /Z814078.exe /Q:A /R:NKB823353.exe /Q:A /R:NKB867801.exe /Q:A /R:NKB870669.exe /Q:A /R:Nqchain.exeMy own install scripts.Install.batECHO.ECHO Installing MSN Messenger 6.0.0602 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\DX9NTopk.exeECHO.ECHO Installing Microsoft JavaVM - Build 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\MSJavaVM_3810.exeECHO.ECHO Installing WinRAR 3.20ECHO Please wait...start /wait %systemdrive%\install\WinRAR\wrar.exe /sECHO.ECHO Installing Adobe Reader 6ECHO Please wait...start /wait %systemdrive%\install\AdobeReader6\AdbeRdr60_dan_full.exe -p"-s /v\"/qn\""ECHO.ECHO Installing Movie Maker 2.0ECHO Please wait...start /wait %systemdrive%\install\MovieMaker\mm20.msi /qnECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\MPSetup2k.exe /Q:A /R:NECHO.ECHO Installing .NET Framework v1.1ECHO Please wait...start /wait %systemdrive%\install\NetFramework\netfx.msi /qb Edited October 1, 2005 by prathapml Link to comment Share on other sites More sharing options...
GreenMachine Posted August 23, 2004 Share Posted August 23, 2004 I have experienced similar. My workaround was to give the RunOnceEx code a kick start from SVCPACK, using RUNDLL... (I don't remember the exact code). I don't have the tools with me to better answer your question, but I think the attached file, run just after ie6setup, should do the trick.IE6GO.EXE Link to comment Share on other sites More sharing options...
oioldman Posted August 23, 2004 Share Posted August 23, 2004 You really should remove your ProductKey as well. Link to comment Share on other sites More sharing options...
Retro Posted August 24, 2004 Author Share Posted August 24, 2004 I have experienced similar. My workaround was to give the RunOnceEx code a kick start from SVCPACK, using RUNDLL... (I don't remember the exact code). I don't have the tools with me to better answer your question, but I think the attached file, run just after ie6setup, should do the trick.I Have tried that, but i still doesn't work i get a Rundl32.dll error... any1 else got some suggestions? Link to comment Share on other sites More sharing options...
prathapml Posted August 24, 2004 Share Posted August 24, 2004 This command to kick-start the processing of RunOnceEx, will work only from within a batch-file, and only on win2k/xp/2k3:rundll32.exe iernonce.dll,RunOnceExProcessI suppose this is what GM was referring to. And it should work perfectly fine, please give more details on what are the scripts/cmds/methods you are using on your uA install. Link to comment Share on other sites More sharing options...
Retro Posted August 24, 2004 Author Share Posted August 24, 2004 in Winnt.sif in my [GuiRunOnce] i have 3 scripts install.bat hotfixes.bat and removing.batSVCPACK.infthat file installs all my hotfixes and also the IE ver 6 that works fine under the installation i have tried adding the attached file to the scripts here but that is where the error occurs. any ideas now? Install.bati use that to install programs like WinRAR and WMP9 etc.Hotfixes.bati use this one to install hotfixes for WMP9Removing.batto delete $oem$ created folders after install and reboot the machine Link to comment Share on other sites More sharing options...
ToBe Posted August 24, 2004 Share Posted August 24, 2004 (edited) I couldn't get this to work either, I think it has something to do with localized versions... Are you using a danish version of Win2k?What I did was to grab a copy of reg.exe from an windows XP installation, and created a batch file that copies reg.exe to win2k, deletes the runonceex keys in the registry and register the services before first logon.Hope I make sense....First get a copy of reg.exe from Windows XPThen put IE6_ROE.EXE in the svcpack folder. It contains this batch file:@ECHO OFFSET CDROM=IF EXIST D:\CDROM_NT.5 SET CDROM=D:IF EXIST E:\CDROM_NT.5 SET CDROM=E:IF EXIST F:\CDROM_NT.5 SET CDROM=F:IF EXIST G:\CDROM_NT.5 SET CDROM=G:IF EXIST H:\CDROM_NT.5 SET CDROM=H:IF EXIST I:\CDROM_NT.5 SET CDROM=I:IF EXIST J:\CDROM_NT.5 SET CDROM=J:IF EXIST K:\CDROM_NT.5 SET CDROM=K:IF EXIST L:\CDROM_NT.5 SET CDROM=L:IF EXIST M:\CDROM_NT.5 SET CDROM=M:IF EXIST N:\CDROM_NT.5 SET CDROM=N:IF EXIST O:\CDROM_NT.5 SET CDROM=O:IF EXIST P:\CDROM_NT.5 SET CDROM=P:IF EXIST Q:\CDROM_NT.5 SET CDROM=Q:IF EXIST R:\CDROM_NT.5 SET CDROM=R:IF EXIST S:\CDROM_NT.5 SET CDROM=S:IF EXIST T:\CDROM_NT.5 SET CDROM=T:IF EXIST U:\CDROM_NT.5 SET CDROM=U:IF EXIST V:\CDROM_NT.5 SET CDROM=V:IF EXIST W:\CDROM_NT.5 SET CDROM=W:IF EXIST X:\CDROM_NT.5 SET CDROM=X:IF EXIST Y:\CDROM_NT.5 SET CDROM=Y:IF EXIST Z:\CDROM_NT.5 SET CDROM=Z:COPY /Y %CDROM%\I386\SVCPACK\REG.EXE %SYSTEMROOT%\system32\reg.exeSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /v Title /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx /v Flags /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\101 /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\102 /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\103 /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\104 /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\500 /fREG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\800 /fREGSVR32.EXE /s %SYSTEMROOT%\system32\mlang.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\browseui.dllREGSVR32.EXE /s /i %SYSTEMROOT%\system32\browseui.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\shdocvw.dllREGSVR32.EXE /s /i %SYSTEMROOT%\system32\shdocvw.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\urlmon.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\browsewm.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\mshtml.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\msrating.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\plugin.ocxREGSVR32.EXE /s %SYSTEMROOT%\system32\sendmail.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\asctrls.ocxREGSVR32.EXE /s /i %SYSTEMROOT%\system32\inetcpl.cplREGSVR32.EXE /s /i %SYSTEMROOT%\system32\mshtml.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\mshtmled.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\proctexe.ocx%SYSTEMROOT%\system32\mshta.exe /registerREGSVR32.EXE /s %SYSTEMROOT%\system32\dxtrans.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\dxtmsft.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\mstime.dllREGSVR32.EXE /s /i %SYSTEMROOT%\system32\comctl32.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\corpol.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\imgutil.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\pngfilt.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\msxml3.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\csseqchk.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\actxprxy.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\cdfview.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\inseng.dllREGSVR32.EXE /s /i %SYSTEMROOT%\system32\iesetup.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\webcheck.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\occache.dllREGSVR32.EXE /s /i %SYSTEMROOT%\system32\occache.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\iepeers.dllREGSVR32.EXE /s "%ProgramFiles%\delade filer\Microsoft Shared\MSInfo\ieinfo5.ocx"REGSVR32.EXE /s %SYSTEMROOT%\system32\msident.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\cryptdlg.dllREGSVR32.EXE /s /i:HKLM %SYSTEMROOT%\system32\digest.dllREGSVR32.EXE /s /i:HKLM %SYSTEMROOT%\system32\wininet.dllREGSVR32.EXE /s /i:HKLM %SYSTEMROOT%\system32\urlmon.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\msieftp.dllREGSVR32.EXE /s %SYSTEMROOT%\system32\tdc.ocxREGSVR32.EXE /s "%ProgramFiles%\delade filer\Microsoft Shared\VGX\vgx.dll"REGSVR32.EXE /s %SYSTEMROOT%\system32\inetcomm.dllREGSVR32.EXE /s "%ProgramFiles%\Outlook Express\msoe.dll"REGSVR32.EXE /s "%ProgramFiles%\Outlook Express\oeimport.dll"REGSVR32.EXE /s "%ProgramFiles%\Outlook Express\oemiglib.dll"REGSVR32.EXE /s "%ProgramFiles%\delade filer\System\directdb.dll"REGSVR32.EXE /s %SYSTEMROOT%\system32\msoeacct.dllREGSVR32.EXE /s "%ProgramFiles%\delade filer\System\wab32.dll"REGSVR32.EXE /s "%ProgramFiles%\Outlook Express\wabimp.dll"REGSVR32.EXE /s "%ProgramFiles%\Outlook Express\wabfind.dll"EXITYou should edit the lines with "delade filer" to your language, in english it's "´common files", and then package it with iexpress. See greenmachines page on how to use it. This file also assumes that the folder i386 is in the root of the cd.It should be able to make all of this with an inf instead, then there is no need for reg.exe from winxp, but I will look into that when time is available....Add this file to your svcpack.inf on the line after ie6setup.exe as shown below:ie6setup.exe /Q:A /R:NIE6_ROE.EXE /Q:A /R:NI have included a zip with this post that you can use. The reg.exe is from a swedsh version of WinXP, but I hope that doesn't matter, and you should make your own ie6_roe.exe with the proper lines in the cmd file. I've included the sed file so you can make your own iexpress package.Hope this will help you to get this working.EDIT Sorted out some typos.. Thanks to Bilou_Gateux! EDITIE6_ROE.zip Edited August 24, 2004 by ToBe Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted August 24, 2004 Share Posted August 24, 2004 Registry Console Tool For Windows 2000 - version 2.0Copyright (C) Microsoft Corp. 1981-1999. All rights reservedREG Operation [Parameter List] Operation [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT ]Return Code: (Except of REG COMPARE) 0 - Succussful 1 - FailedFor help on a specific operation type: REG Operation /?Examples: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /?The Windows 2000 Support Tools are located in the Support\Tools\ directory of the Microsoft® Windows® 2000 operating system CD. This directory contains directories for a Master Setup Program (Setup.exe) for the Windows 2000 Support Tools that is separate from the Windows 2000 operating system installation. When you run this Setup program, it installs all of the Support Tools from Support.cab onto your computer's hard drive.Important The tools in Support.cab have not been localized: they are written and tested in English only. Using these tools with a different language version of Windows 2000 might produce unpredictable results. Note The tools in Deploy.cab are for deployment/preinstallation purposes only and are not installed when Setup is run. The tools (Setup Manager and Sysprep) in Deploy.cab are localized.The files for the Windows 2000 Support Tools are included as compressed cabinet (.cab) files on the Windows 2000 CD. You can extract individual files from these .cab files.Extract reg.exe from support.cab. Link to comment Share on other sites More sharing options...
ToBe Posted August 24, 2004 Share Posted August 24, 2004 Oh. That made things a lot easier... Wish I knew that a couple of months ago... Thank you. Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 25, 2004 Share Posted December 25, 2004 Add REG.EXE (from the support tools) and REGINI.EXE (Obtain the Regini.exe program from the Windows 2000 Resource Kit) tools to your 2K Unattended CD:Compress both files and place them in the I386 folder of your unattended CD.%CD% is the current dir which contains both files%DESTDIR% is the destination folderBatch FileSET DESTDIR=CDROOT\I386IF EXIST %CD%\*.EXE FOR /F "USEBACKQ DELIMS==" %%J IN (`DIR /A-D /OGN /B %CD%\*.EXE 2^>NUL`) DO MAKECAB /D CompressionMemory=21 /D CompressionType=LZX /L %DESTDIR% %CD%\%%JDuring the first phase of the unattended setup, all system files are temporarily copied to C:\$Win_nt$.~ls and C:\$Win_nt$.~bt. The Dosnet.inf lists the files that have to be copied to the system. Therefore, the next step is to edit the Dosnet.inf and add the following lines to the end of the [Files] section: d1,REGINI.EXEd1,REG.EXEThe Txtsetup.sif file is used during the text-mode phase of the unattended setup. This file tells the setup process which files have to be copied to the hard disk. The next step is to modify the Txtsetup.sif. Add the following lines to the end of the [sourceDisksFiles] section of the Txtsetup.sif file: REGINI.EXE = 1,,,,,,,2,0,0REG.EXE = 1,,,,,,,2,0,0Adding these lines causes the files above to be copied to the System32 directory. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 25, 2004 Share Posted December 25, 2004 I turn out that the Hotfixe 823353 is messing up the IE6 entries in RunOnceEx and this was the reason of the HANG for me.When installing IE6, theses entry are added in RunOnceEx:Navigation ServicesInternet ToolsSystem ServicesYou must let them run BEFORE installing KB823353 otherwise it will halt@Bilou_GateuxIsn't it simpler to add these 2 exe in your $OEM$\$$\SYSTEM32 folder? This way you don't have to mess with the I386 source folder. Link to comment Share on other sites More sharing options...
Bilou_Gateux Posted December 25, 2004 Share Posted December 25, 2004 Yes, but i like this way. And i add some others M$ Tools like WNTIPCFG.EXE or MSCONFIG.EXE from the XP version. Link to comment Share on other sites More sharing options...
McoreD Posted January 5, 2005 Share Posted January 5, 2005 Hi there, After completing my Unattended Windows XP CD, I have just started the Unattended Windows 2000 CD yesterday. Strangely, the ProductID is not accepted in winnt.sif file. Can you please enlighten me on how to automate providing the Serial Number for Windows 2000? Everything else is fine i.e. works unattended. Cheers, McoreD Link to comment Share on other sites More sharing options...
prathapml Posted January 6, 2005 Share Posted January 6, 2005 Maybe ProductKey in place of ProductID will work. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted January 6, 2005 Share Posted January 6, 2005 2 other possibility:1) You don't need a key! VLK is not required for Win20002) edit SETUPP.INI in your i386 folder, change last 3 digits of PID to 270, then no serial number is needed during installation.[Pid] ExtraData=xxx... Pid=xxxxx270 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now