Jump to content

Recommended Posts

Posted

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=1
MsDosInitiated=0
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="yes"
OemPreinstall="yes"
OemSkipEula="Yes"
ProgramFilesDir="D:\Program Files"
CommonProgramFilesDir="D:\Program Files\Common Files"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
Hibernation="No"

[Display]
Xresolution=1024
Yresolution=768
BitsPerPel=32
Vrefresh=85

[SystemRestore]
MaximumDataStorePercentOfDisk=10

[GuiUnattended]
AdminPassword=*
TimeZone=125
OEMSkipRegional=1
OemSkipWelcome=1
ProfilesDir="E:\Users\"

[Shell]
DefaultThemesOff="Yes"
DefaultStartPanelOff="Yes"

[Components]

msmsgs=off
msnexplr=off
zonegames=off
mswodpad=off
zonegames=off

[UserData]
ProductKey="xxxxx-xxxxxx-xxxxx-xxxxx"
ComputerName=PCNAME
FullName="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=Yes
FilterLevel=High
ShowInformationBar=No

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"

And my cmdlines.txt

[COMMANDS]
"REGEDIT32.EXE /S hkcu.reg"

And nlite.cmd

REGEDIT /S %CDROM%\HKLM.REG
EXIT

I don't know if here is enough info bur please ask more if needed...


Posted

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.

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...