makieks Posted April 24, 2008 Posted April 24, 2008 I have read after reading and again for the Unattended Guide for this one. I have HKLM.REG and HKCU.REG files but they doesn't run in setup. I cant figure out what am I doing wrong. Can Anyone help?I've been usin nLite, Setup works just like it should but the registry tweaks don't apply. Not even if I tweak them with nLite. Here is winnt.sif that I'm using; Generated by nLite 1.4.5 beta[Data]AutomaticUpdates="Yes"Autopartition=1MsDosInitiated=0UnattendedInstall="Yes"[Unattended]UnattendMode=FullUnattendedUnattendSwitch="yes"OemPreinstall="yes"OemSkipEula="Yes"ProgramFilesDir="D:\Program Files"CommonProgramFilesDir="D:\Program Files\Common Files"FileSystem=*WaitForReboot="No"NoWaitAfterTextMode=1NoWaitAfterGUIMode=1DriverSigningPolicy=IgnoreNonDriverSigningPolicy=IgnoreHibernation="No"[Display]Xresolution=1024Yresolution=768BitsPerPel=32Vrefresh=85[SystemRestore]MaximumDataStorePercentOfDisk=10[GuiUnattended]AdminPassword=*TimeZone=125OEMSkipRegional=1OemSkipWelcome=1ProfilesDir="E:\Users\"[Shell]DefaultThemesOff="Yes"DefaultStartPanelOff="Yes"[Components]msmsgs=offmsnexplr=offzonegames=offmswodpad=offzonegames=off[UserData]ProductKey="xxxxx-xxxxxx-xxxxx-xxxxx"ComputerName=PCNAMEFullName="JOHN DOE"OrgName="JOHN DOELAND"[RegionalSettings]SystemLocale="040b"UserLocale="040b"UserLocale_DefaultUser="040b"InputLocale="040b:0000040B"InputLocale_DefaultUser="040b:0000040B"[Networking]InstallDefaultComponents="Yes"[WindowsFirewall]Profiles=WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall]Mode=0[Identification]JoinWorkgroup="Toimisto"[Url] Home_Page=http://www.google.fi[IEPopupBlocker]BlockPopups=YesFilterLevel=HighShowInformationBar=No[GuiRunOnce]"%SystemRoot%\System32\nLite.cmd"And my cmdlines.txt [COMMANDS]"REGEDIT32.EXE /S hkcu.reg"And nlite.cmdREGEDIT /S %CDROM%\HKLM.REGEXITI don't know if here is enough info bur please ask more if needed...
Yzöwl Posted April 24, 2008 Posted April 24, 2008 cmdlines.txt[COMMANDS]"REGEDIT.EXE /S hkcu.reg"For this fixed line to work, hkcu.reg must be in the same folder as cmdlines.txt!nlite.cmd - For this to work, HKLM.REG must be in the root of your CD-ROM drive and there must have been a previous procedure implemented by you in order to create the %CDROM% variable!I'd strongly suggest that you do some more reading.
makieks Posted April 25, 2008 Author Posted April 25, 2008 cmdlines.txt[COMMANDS]"REGEDIT.EXE /S hkcu.reg"For this fixed line to work, hkcu.reg must be in the same folder as cmdlines.txt!nlite.cmd - For this to work, HKLM.REG must be in the root of your CD-ROM drive and there must have been a previous procedure implemented by you in order to create the %CDROM% variable!I'd strongly suggest that you do some more reading.Yes I have been reading a lot. Huge thanks to you.
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