MSFN Forum: UnattendMode=ProvideDefault - MSFN Forum

Jump to content



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

UnattendMode=ProvideDefault Skips CD key step Rate Topic: -----

#1 User is offline   degreseven 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 12-April 05

Posted 17 April 2005 - 05:18 AM

I always hate having to type in my cd key when i reinstall windows, so I am trying to make a cd that provides default values, but I only want it to provide the CD key, and I want to be able to change it. I can't get it to show me the CD key screen. The installer goes through the partitioning step, then the next thing I see is a graphical EULA- it's not the normal blue background EULA where you hit F8 to accept. when i click accept it goes on to the regional settings. Is one of my WINNT.SIF options bypassing the cd key screen, or do i need another option? here is my WINNT.SIF...

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

[Unattended]
    UnattendMode=ProvideDefault
    OemPreinstall=No
    TargetPath="\WinXP\WINDOWS"
    ProgramFilesDir="\WindXP\Program Files"
    CommonProgramFilesDir="\WinXP\Program Files\Common Files"
    OemSkipEula=No
    WaitForReboot="No"

[GuiUnattended]
    EncryptedAdminPassword=NO
    OEMSkipRegional=0
    ProfilesDir="\WinXP\Documents and Settings\"

[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX



Another unrelated question- As you can see, I'd like my WINDOWS, Program Files, and Documents and Settings to be placed in another folder so that my C: is not cluttered. So far this seems to cause problems; the Program Files dir is created in C: anyways, and I have trouble installing many programs. Is this easily fixed, or should I just deal with having a cluttered C: ?
thanks in advance


#2 User is offline   Slip400 

  • Junior
  • Pip
  • Group: Members
  • Posts: 54
  • Joined: 23-October 04

Posted 17 April 2005 - 02:39 PM

i use the installed .sif and this in my reg tweaks....

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\\My Program Files"

Attached File(s)

  • Attached File  WINNT.SIF (4.23K)
    Number of downloads: 73


#3 User is offline   degreseven 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 12-April 05

Posted 17 April 2005 - 04:12 PM

Does changing the program files dir ever give you problems installing new programs? Like, do they try to create C:\Program Files & then install themselves to it, or something like that? Also, will I have problems since I am putting all these system directories in a subdir? The only time I tested this install (i had several problems) but a lot of weird things happened, like- the All Programs menu would not pop up from the start menu, etc.

#4 User is offline   buletov 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 518
  • Joined: 08-September 04

Posted 18 April 2005 - 03:59 AM

c: is defacto only used for windows, progra~1 and docume~1 folders...

#5 User is offline   duomenox 

  • Junior
  • Pip
  • Group: Members
  • Posts: 58
  • Joined: 25-May 04

Posted 18 April 2005 - 10:34 AM

It really depends on how smart the programmers of the software you are installing are.

Most programmers check the registry or the enviroment variable %programfiles% to find the program files directory. However some of the lazier ones just make a static link to the %systemdrive%\Program Files directory, this is bad practice, but some do it anyways.

It is not a good idea to move your program files directory, too many companies rely on it's default location. (And I have never gotten it to work very well)

However, if I come across anything that works I will let you know...

#6 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 922
  • Joined: 07-June 02

Posted 18 April 2005 - 03:28 PM

degreseven, on Apr 17 2005, 06:18 AM, said:

Is one of my WINNT.SIF options bypassing the cd key screen, or do i need another option? here is my WINNT.SIF...

;SetupMgrTag
[UserData]
    ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

<{POST_SNAPBACK}>

Yes if you provide the product key then it bypasses the cd key screen of course since it alreadys has the cd key.

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