Help - Search - Members - Calendar
Full Version: [feature request] manual tweaks to winnt.sif
MSFN Forums > Member Contributed Projects > nLite

   
Google Internet Forums Unattended CD/DVD Guide
MerijnB
Hi,

maybe this was posted before, but I didn't see it.

Currently I'm using some winnt.sif tweaks which can't be set by NLite. This means I have a separate copy of a 'good' winnt.sif, and compare this with the nlite generated winnt.sif each time so I get a 'good' version on my image.

I'd would be great if there would be a section in nlite where you can enter some manual winnt.sif 'tweaks', which will be placed or changed in winnt.sif after it's been generated, this way, all the configuration is in the nlite preset.
ricktendo64
You can already do this, example I have some theme addons that I want to set as the default theme on login so I edit winnt.sif to add this
QUOTE
[Shell]
CustomDefaultThemeFile="%ResourceDir%\Themes\Windows XP Luna Royale.Theme"


First notepad and create a file named Entries_whatever.ini and add something similar to this:
QUOTE
[AddDirective]
WINNT.SIF,Shell;<-This creates a [Shell] section

[EditFile]
WINNT.SIF,Shell,DefaultTheme

; This is added under the [Shell] section (the shell section needs to exist already for this to work
[DefaultTheme]
CustomDefaultThemeFile="%ResourceDir%\Themes\Windows XP Luna Royale.Theme"

If you post what you want to add to winnt.sif I can probably put together a entries.ini file and explain how it works
MerijnB
ah, very interesting. I think I can manage if I know exactly how to do it. At this time you didn't tell me what to do with this "Entries_whatever.ini" file, how is nlite going to use/process it?

What I want to change/add to winnt.sif is this:

CODE
[Data]
Autopartition=1

[Unattended]
Repartition="Yes"
AutoActivate ="Yes"



I'm curious to see your solution, thanks for your help so far!
ricktendo64
Here ya go Click to view attachment
MerijnB
QUOTE (ricktendo64 @ Oct 9 2007, 07:33 PM) *


thanks!

but I still don't understand what I should do with this file... ??
ricktendo64
QUOTE (MerijnB @ Oct 9 2007, 04:04 PM) *
I still don't understand what I should do with this file... ??
Integrate it as a hotfix or addon
MerijnB
QUOTE (ricktendo64 @ Oct 9 2007, 11:33 PM) *
QUOTE (MerijnB @ Oct 9 2007, 04:04 PM) *
I still don't understand what I should do with this file... ??
Integrate it as a hotfix or addon


great, thanks!
I wasn't aware of this option...
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.