Jump to content

Change ProfileDir to D:\Users\ but don't make it unattended


Recommended Posts

Posted (edited)

The cd I installed XP from was an unattended installation cd with WINNT.SIF modified to:

ProfilesDir="D:\Users\"

As this is an unattended install cd I can't do an in-place installation (repair) as I get directly to this screen:

xp-setup-3-partition.jpg

If I want to make a new installation cd with nlite, how should I set my WINNT.SIF to still set "ProfilesDir" to "D:\Users\" but not make in completely unattended so that it does not skip this screen:

Image4.gif

Is this possible by just setting "UnattendedInstall" to "No"? If I do that, will the ProfilesDir="D:\Users\" still do it's magic or is it linked to having UnattendedInstall set to "Yes"?

Here's the WINNT.SIF I used for the installation:

[Data]
AutomaticUpdates="No"
Autopartition=0
MsDosInitiated=0
UnattendedInstall="Yes"

[Unattended]
UnattendMode=DefaultHide
UnattendSwitch="No"
OemPreinstall="No"
OemSkipEula="Yes"
FileSystem=*
WaitForReboot="No"
NoWaitAfterTextMode=1
NoWaitAfterGUIMode=1
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
Hibernation="No"

[SetupData]
OSLoadOptionsVar="/noexecute=optin"

[Display]
Xresolution=800
Yresolution=600
BitsPerPel=16

[SystemRestore]
DisableSR=1
CreateFirstRunRp=0

[GuiUnattended]
TimeZone=020
OEMSkipRegional=1
OemSkipWelcome=1
ProfilesDir="D:\Users\"

[Shell]
DefaultThemesOff="Yes"

[Components]
OEAccess = Off

[UserData]
ProductKey="Wont Print Here"

[RegionalSettings]
LanguageGroup=1
Language= "0409"

[Networking]
InstallDefaultComponents="Yes"

[WindowsFirewall]
Profiles=WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode=0

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

Edited by mkl

Posted

To what I know it is not possible for winnt.sif to handle more than 1 partition in unattended mode.

So you have to manually select the partition for os installation (assuming you already partitioned the hard drive prior to installation).

Posted
To what I know it is not possible for winnt.sif to handle more than 1 partition in unattended mode.

So you have to manually select the partition for os installation (assuming you already partitioned the hard drive prior to installation).

Thanks for you reply and sorry for expressing myself badly.

I guess my question is simply:

If I put the following in WINNT.SIF: UnattendedInstall="No"

will this line: ProfilesDir="D:\Users\"

be ignored?

If the answer is yes, could I change the "UnattendMode" to something to still show this:

xp-setup-3-partition.jpg

Posted (edited)
Search, search, search...

If you'd have done that you'd have found this.

I'm really thankful for the hint, but I'm not using nLite. I'm manually editing the WINNT.SIF. Is there an equivalent line in WINNT.SIF for that "Prompt repair" option in nLite?

Judging from Electricians last post in that thread the repair option wont show as long as I have a WINNT.SIF on the cd.

Edited by mkl
Posted
Follow the link in the post linked in my previous post.
Sorry, and thanks. Seems to work fine!

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