MSFN Forum: installing without requesting the cd key? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

installing without requesting the cd key? Rate Topic: -----

#1 User is offline   TerraFrost 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 04

Posted 11 August 2004 - 02:57 AM

i'm trying to to make a winnt.sif file that results only in removing the prompt asking for the cd key, during installation. it, unfortunately, doesn't seem to be working :rolleyes:. here's the winnt.sif file i have, thus far:

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

[Unattended]
    UnattendMode=ProvideDefault
    OemPreinstall=No
    TargetPath=\WINDOWS

[GuiUnattended]
    EncryptedAdminPassword=NO
    OEMSkipRegional=1

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    FullName=""
    OrgName=""

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes


any help would be appreciated - thanks! :)


#2 User is offline   richvz 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 18-December 03

Posted 11 August 2004 - 04:05 AM

The problem is with the unattened = provide default line you need to change it from provide default.

#3 User is offline   visaversa 

  • Face it...
  • PipPipPip
  • Group: Members
  • Posts: 428
  • Joined: 14-October 03

Posted 11 August 2004 - 04:12 AM

[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
UnattendSwitch="Yes"
OEMSkipEula=Yes
OEMPreinstall=Yes
TargetPath="Windows"
Repartition=No
FileSystem="LeaveAlone"
WaitForReboot="No"
DriverSigningPolicy = Ignore
NonDriverSigningPolicy=Ignore
Hibernation = YES

#4 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 11 August 2004 - 08:44 AM

DefaultHide is what you want, if you only want the ProductKey gone

#5 User is offline   smartwayz 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 04

  Posted 11 August 2004 - 09:10 AM

I use a WinXP CORP image (w/ SP2) and my install doesnt prompt for CD key - this could differ on OEM or RETAIL versions

[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates = 1

[Unattended]
Repartition=NO
UnattendMode=ProvideDefault
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS
UnattendSwitch="yes"
DUDisable = No
DUStopOnError = Yes
ForceHALDetection = Yes
Hibernation = No

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=255
OemSkipWelcome=1

[UserData]
ProductID=XXXX-XXXX-XXXX-XXXX-XXXX
FullName="Registered User"
OrgName="Registered Org"
ComputerName=WINXPPRO


ProductID removed for obvious reasons.

:) :rolleyes: Pete

Use the 'DefaultHide' option for UnattendMode= if you want certain settings to be applied during setup - any options not specified in the WINNT.SIF file will be prompted by the user during install.

#6 User is offline   TerraFrost 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 04

Posted 12 August 2004 - 12:29 AM

Changing "UnattendMode=ProvideDefault" to "UnattendMode=FullUnattended" results in an error because I haven't provided all the info in winnt.sif. I also don't want to provide all the info in it. I intend to use the CD on multiple computers, and like being reminded to set certain things. I just don't feel the CD key reminder is necessary, heh.

I tried changing "UnattendMode=ProvideDefault" to "UnattendMode=DefaultHide", and it didn't work, either (although I didn't get an error).

Of course, now I seem unable to use any sort of UnattendMode, without getting the following error:

Line xx of the INF file \i386\winnt.sif is invalid

Line xx is always an empty line after "InstallDefaultComponents=Yes". If I delete all empty lines, it is the InstallDefaultComponents line.

any ideas as to what might be causing this?

finally, i've been creating ISO's using Nero, but having to create a new ISO image every time i want to update the UnattendMode line of winnt.sif seems a bit overkill. is there some ISO utility that will allow me to edit ind. files, and place them back into the image? I tried WinRAR, to find out it doesn't write to ISO files, and WinImage, to find out that it can't insert because the image is full (whatever that means)...

#7 User is offline   jrzycrim 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 769
  • Joined: 17-March 04

Posted 12 August 2004 - 12:53 AM

Try ProductKey instead of ProductID.


nevermind, was looking at the wrong winnt.sif...

#8 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 August 2004 - 01:34 AM

Just a possible solution....
Try using nLite to make your winnt.sif (you'll have to read the already existing info there in that section).

Or use setupmgr.exe in your CD's "SUPPORT\TOOLS\Deploy.cab" to make it. Its probable that you might have had errors creep in while making it by hand - we all do.

#9 User is offline   TerraFrost 

  • Group: Members
  • Posts: 6
  • Joined: 11-August 04

Posted 12 August 2004 - 02:39 AM

as an update - i got it working :)

and it did work, this time around, with DefaultHide.

thanks for the help! :rolleyes:

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy