kzaman Posted June 2, 2008 Posted June 2, 2008 Hello,I can't seem to wrap my head around what i'm doing wrong here. This is not my first unattended disc either, I have made these several times, but I've had nothing but trouble ever since the integration of SP3. These worked fine with little or no issues. I use a combination of Nlite and Driverpacks along with my own custom winnt.sif file, and here are the contents of the file:[Data]AutoPartition=1MsDosInitiated="0"UnattendedInstall="Yes"AutomaticUpdates="Yes"[unattended]UnattendMode=FullUnattendedRepartition=YesOemSkipEula=YesOemPreinstall=YesFileSystem=ConvertNTFSWaitForReboot="No"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1DriverSigningPolicy=IgnoreNonDriverSigningPolicy=IgnoreHibernation="No"[Display]Xresolution=1024Yresolution=768[systemRestore]DisableSR=1CreateFirstRunRp=0[GuiUnattended]EncryptedAdminPassword="No"AutoLogon="Yes"AdminPassword=*TimeZone=020OEMSkipRegional=1OemSkipWelcome=1[userData]ProductID="XXXX....."ComputerName=OWNERFullName="User"[Networking]InstallDefaultComponents="Yes"[identification]JoinWorkgroup="WORKGROUP"[GuiRunOnce]Command0="%systemdrive%\install.bat"Command1="%systemdrive%\DPsFnshr.exe"Line 52 would be the DPsfnshr.exe file under GuiRunOnce, but if I remove that line, then I receive a Line 51 error for the install.bat.Any help would certainly be appreciated. I have read, google'd etc., but unable to find someone with the exact same issue. Usually, they'll miss a quote or something, but I've tried it with and without quotes. The file, install.bat, DOES exisist under $OEM$\$1\Thanks in advance.kzaman
MHz Posted June 3, 2008 Posted June 3, 2008 Line 52 would be the DPsfnshr.exe file under GuiRunOnce, but if I remove that line, then I receive a Line 51 error for the install.bat.kzamanHi,It could be a line ending character or similar whitespace character causing issues. I would view the file in a text editor like Scite or similar and activate the "view" --> "end of line" and "view" --> "whitespace". Then you may see something odd liike a LF that should be a CRLF on one of the lines to match the other lines.
Tripredacus Posted June 4, 2008 Posted June 4, 2008 I notice that you use quotes in some places but not others. Typically, choose one method or the other (using quotes or not using quotes) and don't mix and match like that.Also, is it normal to have a wildcard after adminpassword?
kzaman Posted June 4, 2008 Author Posted June 4, 2008 It worked, it was a space issue, thank you so much!!! Tripredacus: I've always wondered about that myself, I believe part of the winnt.sif is generated via Nlite and I've also used other tools in the past like Winnt.sif Creator 2.0 and sometimes quotes were put in, and in some areas, they weren't. I've just never messed with it to see if it makes a difference or not, good to know that I can go with one method or the other.And the wildcard is also autogenrated if you choose to login automatically via Nlite.Thanks again,kzaman
Innocent Devil Posted June 5, 2008 Posted June 5, 2008 quotes can be ignored if there is no white space in the answer
Tripredacus Posted June 6, 2008 Posted June 6, 2008 quotes can be ignored if there is no white space in the answerI totally understand that, but when you've had to be an enterprise programmer, you are taught to use one method or the other.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now