snackwell Posted July 10, 2004 Posted July 10, 2004 Subject: Line 39 of the INF file is invalid. Setup cannot continue. Press any key to exit.I have modified (changed) the following 5 files (all located in the I386 directory) for a bootable cd (created in Nero 6.3.1.17 using this site to setup the disc: http://old.bink.nu/bootcd/) Windows 2000 Server with SP3 integrated (yes, I know SP4 is out but this modification is of a working CD I already have):1. Setupp.ini:[Pid]ExtraData=646E77637A6F6D79626A1D94089595Pid=51873000To[Pid]ExtraData=646E77637A6F6D79626A1D94089595Pid=51873270Note: my ExtraData is different_________________________________________2. Txtsetup.sif:[winntDirectories]To[WindowsDirectories]andDefaultPath=\winntToDefaultPath=\WINDOWS____________________3. Layout.INF[winntDirectories]To[WindowsDirectories]Hivedef.infTEMP_DIR="%USERPROFILE%\Local Settings\Temp"U_SHELL_FOLDERS_PROGRAMS="%USERPROFILE%\Start Menu\Programs"U_SHELL_FOLDERS_START_MENU="%USERPROFILE%\Start Menu"U_SHELL_FOLDERS_STARTUP="%USERPROFILE%\Start Menu\Programs\Startup"U_SHELL_FOLDERS_CACHE="%USERPROFILE%\Local Settings\Temporary Internet Files"ToTEMP_DIR="%USERPROFILE%\Local Settings\Temp"U_SHELL_FOLDERS_PROGRAMS="%SYSTEMDIR%\Documents and Settings\All Users\Start Menu\Programs"U_SHELL_FOLDERS_START_MENU="%SYSTEMDIR%\Documents and Settings\All Users\Start Menu "U_SHELL_FOLDERS_STARTUP="%SYSTEMDIR%\Documents and Settings\All Users\Start Menu \Programs\Startup"U_SHELL_FOLDERS_CACHE="%WINDIR%\TEMP\Local Settings\Temporary Internet Files"I made sure not to add extra lines (like returns and such). ________________________________________________5. winnt.sif: created with http://b0r3d.msfnhosting.com/ (SIF Creator 2.0) is listed below (anything as XXXXX represents a serial number, etc):;SetupMgrTag[Data]Autopartition=0MsDosInititated="0"UnattendedInstall="Yes"[unattended]UnattendMode=FullUnattendedOemSkipEulA=YesOemPreinstall=NoTargetPath=\WINDOWSRepartition=NoUnattendSwitch="No"WaitForReboot="No"OemPnPDriversPath=DriverSigningPolicy=IgnoreAutoActivate=No[GuiUnattended]AdminPassword=*EncryptedAdminPassword=NoOEMSkipRegional=0TimeZone=020ProfilesDir="%systemdrive%\Documents and Settings\";For Server installs[LicenseFilePrintData]AutoMode = "PerServer"AutoUsers = "9999"[Display]BitsPerPel=8XResolution=800YResolution=600Vrefresh=60[userData]ProductKey="XXXX-XXXXX-XXXXX-XXXXX-XXXXX"FullName=XXXXX XXXXXOrgName=""ComputerName=""[TapiLocation]CountryCode=011Dialing=Tone[RegionalSettings]LanguageGroup=1Language=00000809[identification]JoinWorkgroup=XXXXXXXX[Networking]InstallDefaultComponents=NoNote: I renamed the unattend.txt to unattend.bak.Question: Do I need to rename the setupacc.txt (also in the I386 directory) file as well?________________________________________________The Process of installing with these modifications goes as follows:I reboot the Compaq Presario r3140CA (with 64bit athlon). The cd boots and you are given the prompt: Press any key to boot from CD.It continues into the setup blue screen (Press F6 to install a third party SCSI or RAID driver…), stops and says:Line 39 of the INF file is invalid. Setup cannot continue. Press any key to exit.I then press a key and it cycles back to the beginning of the setup blue screen where the Press F6 to install a third party SCSI or RAID driver…The original copy I have of this with no modifications seems to install fine (i.e. it is installing now and has not stopped during the: Setup is Loading files (..) and I am able to select the partition (and format if I need to). I have not installed this completely as of yet.
BeenThereB4 Posted July 10, 2004 Posted July 10, 2004 I believe that means that the error is in your winnt.sif. Try another means of creating it.
prathapml Posted July 10, 2004 Posted July 10, 2004 Yes, that seems right.The line 39 which is referred to, is that of winnt.sifCheck if your winnt.sif is properly made (or if it has any unnecessary content). See what is present on line39 of your winnt.sif and post it here - or if you corrected it yourself, post the solution (what you did to solve your problem) here to benefit the everybody.
snackwell Posted July 13, 2004 Author Posted July 13, 2004 As I said this before, this is for Windows 2000 Server with SP3 integrated.I opened the original unattend.txt and added the things I wanted to do manually using notepad instead of the SIF Creator. I saved the file as WINNT.SIF (and renamed unattend.txt to unattend.bak)Now, I can get the beginning of the gui mode and it says an internal error has occured. setup cannot continue.Some things that I thought could cause problems:Do you need both the TXTSETUP.SIF and LAYOUT.INF?Do you need both the TXTSETUP.SIF and WINNT.SIF?Additionally:Looking at the hivedef.inf file where I have changed some of the directories, do I need to make the changes in the LAYOUT.INF and TXTSETUP.SIF files under [winntdirectories] to reflect that? Directory 45 in this section of LAYOUT.INF and TXTSETUP.SIF is TEMP directory; there is not entry for TEMP\Temporary Internet Files (which I defined in HIVEDEF.INF). I have modified one other section in TXTSETUP.SIF but it is not in this section.I only have 3 modified files now:winnt.siftxtsetup.sifhivedef.inf________WINNT.SIF (xxxxx represents data; it is not actually in the file, also, for the TargetPath = "\WINDOWS"; I also tried using "WINDOWS")________;SetupMgrTag[Data]Autopartition = "0"MsDosInititated = "No"UnattendedInstall = "Yes"[unattended]FileSystem = *Repartition = "No"Unattendmode = "FullUnattended"OemSkipEulA = "Yes"OemPreinstall = "NO"TargetPath = \WINDOWSUnattendSwitch = "No"WaitForReboot = "No"[userData]ProductKey = "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx"FullName = "xxxxx xxxxx"OrgName = ""[GuiUnattended]; Sets the Timezone to Central Standard Time; Sets the Admin Password to NULL; Turn AutoLogon ON and login onceOemSkipWelcome = 1TimeZone = "020"AdminPassword = *AutoLogon = YesAutoLogonCount = 1;For Server installs[LicenseFilePrintData]AutoMode = "PerServer"AutoUsers = "9999"[GuiRunOnce]; List the programs that you want to lauch when the machine is logged into for the first time[Display]BitsPerPel = 8XResolution = 800YResolution = 600VRefresh = 60[TapiLocation]CountryCode = 011Dialing = Tone[RegionalSettings]LanguageGroup = 1Language = 00000809[Networking]; When set to YES, setup will install default networking components. The components to be set are; TCP/IP, File and Print Sharing, and the Client for Microsoft Networks. InstallDefaultComponents = NO[identification]JoinWorkgroup = xxxxxxxx____________________________HIVEDEF.INF (Changed lines only)____________________________U_SHELL_FOLDERS_PROGRAMS="%SYSTEMDIR%\Documents And Settings\All Users\Start Menu\Programs"U_SHELL_FOLDERS_START_MENU="%SYSTEMDIR%\Documents And Settings\All Users\Start Menu"U_SHELL_FOLDERS_STARTUP="%SYSTEMDIR%\Documents And Settings\All Users\Start Menu\Programs\Startup"U_SHELL_FOLDERS_CACHE="%WINDIR%\TEMP\Temporary Internet Files"______________________________________________________________TXTSETUP.SIF (Changed lines only)DefaultPath=\WINDOWS instead of DefaultPath=\WINNT______________________________________________
prathapml Posted July 13, 2004 Posted July 13, 2004 TXTSETUP.SIF (Changed lines only)DefaultPath=\WINDOWS instead of DefaultPath=\WINNTThat modification is fine - shouldn't cause any problems.As for modifying hives, it is risky/buggy; so I won't try to respond about that.I suppose line 39 and 40 and 41 of your winnt.sif is as below:[GuiRunOnce]; List the programs that you want to lauch when the machine is logged into for the first timeWell, you could try removing that section. Maybe the [GuiRunOnce] section cannot be left blank.In the same way, try eliminating all unnecessary lines/sections from winnt.sif and test the setup after each modification. Do tell us where the problem turned out to be, and how you fixed it.
MastaVR6 Posted July 16, 2004 Posted July 16, 2004 You have a file mismatch problem- usually the files ntdll.dll amd smss.exe don't match in i386\ and i386\system32\ on you iso structure. This one is a PITA to figure out because the error isn't in your setup files themselves.I am very hard headed and would not let this get the better of me.
snackwell Posted July 17, 2004 Author Posted July 17, 2004 Well, I have not tried anything new but I did check the ntdll.dll and smss.exe as was suggested. The one in the i386\system32 is the original from Windows 2000 (12/7/1999) and the compressed one is dated 7/22/2002 located in the i386 directory.I will uncompress it and copy it to the system32 subdirectory overwritting the exisiting one (I'll keep a backup somewhere) and attempt this sometime this weekend.
snackwell Posted July 17, 2004 Author Posted July 17, 2004 Following the advice of making the two file in i386/system32 match their counterparts in i386 failed. In fact, during the initial setup .. Setup is starting Windows 2000 (gets a STOP screen with a session manager problem). This is a results of the 12/7/1999 file that is originally in i386/system32 which I had made match the 7/22/2002 file in the i386 directory.I have now returned all the files to the original version. The only file that is new is the WINNT.SIFHere is my current WINNT.SIF;SetupMgrTag[Data]Autopartition = 0MsDosInititated = NoUnattendedInstall = Yes[unattended]FileSystem = *Repartition = NoUnattendmode = FullUnattendedOemSkipEulA = YesOemPreinstall = NOTargetPath = WINDOWSUnattendSwitch = NoWaitForReboot = NoOemPnPDriversPath = "Drivers\000_R3140CA_CHIPSET;Drivers\001_R3140CA_NETWORK;Drivers\002_R3140CA_VIDEO;Drivers\003_R3140CA_AUDIO;Drivers\004_R3140CA_BLUETOOTH;Drivers\005_R3140CA_PCMCIA;Drivers\006_R3140CA_MODEM;Drivers\007_R3140CA_PROCESSOR;Drivers\008_R3140CA_TOUCHPAD;Drivers\009_R3140CA_WIRELESS;Drivers\021_C6631_NETWORK;Drivers\022_C6631_VIDEO;Drivers\023_C6631_AUDIO;Drivers\024_C6631_MODEM;Drivers\025_C6631_BATTERYAID;Drivers\026_C6631_TOUCHPAD"DriverSigningPolicy = Ignore [userData]ProductKey = "ILIED-TOTHE-PUBLIC-ICANT-TOUCH"FullName = "Jack Assbush"OrgName = ""[GuiUnattended]; Sets the Timezone to Central Standard Time; Sets the Admin Password to NULL; Turn AutoLogon ON and login onceOemSkipWelcome = 1TimeZone = 020AdminPassword = *AutoLogon = YesAutoLogonCount = 1[LicenseFilePrintData];For Server installsAutoMode = PerServerAutoUsers = 9999[Display]BitsPerPel = 8XResolution = 800YResolution = 600VRefresh = 70[TapiLocation]CountryCode = 011Dialing = Tone[RegionalSettings]LanguageGroup = 1Language = 00000809[Networking]; When set to YES, setup will install default networking components. The components to be set are; TCP/IP, File and Print Sharing, and the Client for Microsoft Networks. InstallDefaultComponents = NO[identification]JoinWorkgroup = WORKGROUP
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now