Jump to content

Unattended newbie questions


Recommended Posts

I've recently started experimenting with slipstreaming and unattended setups (to specify defaults values), but I've run into several small problems that I haven't been able to fix yet.

Can anyone give me a hand with (any of) these?

- I don't want a randomized ComputerName, I want the default field to be blank, but the ComputerName="" seems to be ignored.

- The TimeZone I specified (110; GMT+1, Amsterdam) is ignored, the default +8 is still selected.

- I want to use UnattendMode=ProvideDefault, but it's not working as I expected. I don't get to see the dialogs/fields with the answers I specified, but the installer skips those windows entirely. Like a real unattended setup (apart from the quirks mentioned above).

- The "Welcome to Microsoft Windows" still starts and asks me if I want to protect the pc by enabling Automatic Updates, but I already specified AutomaticUpdates=1

The other things, like checking for internet connection and registration must be skipped too.

The creation of Users must not be skipped though.

- My CMDLINES.TXT isn't started after the setup. And I have no idea why. The .bat and .reg files were copied to %windir% though.

CMDLINES.TXT is on the cd in \$OEM$

This is my winnt.sif :

;SetupMgrTag
[Data]
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=1

[Unattended]
   UnattendMode=ProvideDefault
   OemPreinstall=Yes
   OemSkipEula=Yes
   TargetPath=\WINDOWS
   WaitForReboot=No

[GuiUnattended]
   TimeZone=110
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   OEMSkipWelcome=1    

[UserData]
   ProductID=xxxx-xxxx-xxxx-xxxx-xxxx
   FullName=""
   OrgName="Home"
   ComputerName=""

[Display]
   BitsPerPel=16
   Xresolution=800
   YResolution=600
   Vrefresh=85

[RegionalSettings]
   LanguageGroup=1
   SystemLocale=00000413
   UserLocale=00000413
   InputLocale=0409:00000409

[Branding]
   BrandIEUsingUnattended=Yes

[URL]
   Home_Page=about:blank

[Proxy]
   Proxy_Enable=0
   Use_Same_Proxy=1

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=No

[NetAdapters]
   Adapter1=params.Adapter1

[params.Adapter1]
   INFID=*

[NetClients]
   MS_MSClient=params.MS_MSClient

[NetServices]
   MS_SERVER=params.MS_SERVER

[NetProtocols]
   MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
   DNS=Yes
   UseDomainNameDevolution=No
   EnableLMHosts=Yes
   AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
   SpecificTo=Adapter1
   DHCP=Yes
   WINS=No
   NetBIOSOptions=1

My CMDLINES.TXT:

[Commands]
"%windir%\source.bat"
"regedit.exe /s %windir%\tweaks.reg"
"%windir%\tweaks.bat"
"del %windir%\source.bat"
"del %windir%\source.reg"
"del %windir%\tweaks.reg"
"del %windir%\tweaks.bat"

Link to comment
Share on other sites


For the first item try to use wihu.exe, it does all that + more

As for the second question.

Variables aren’t supported in the CMDLINES.TXT... That’s why everyone calls batch file from it...

You should use relative calling (instead of hard path) like ".\windows\name.bat."

Link to comment
Share on other sites

For the first item try to use wihu.exe, it does all that + more

As for the second question.

Variables aren’t supported in the CMDLINES.TXT... That’s why everyone calls batch file from it...

You should use relative calling (instead of hard path) like ".\windows\name.bat."

Thanks for the info on cmdlines.txt, I fixed that now. I'm going to test it later.

WIHU won't run on both of my XP machines here (1 SP1 and 1 SP2), it crashes and xp wants to send a report.. I have no idea what's the problem.

Link to comment
Share on other sites

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