MSFN Forum: How do i make wndows automaticly installed to d:\? - MSFN Forum

Jump to content



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

How do i make wndows automaticly installed to d:\? Rate Topic: -----

#1 User is offline   zoobooboozoo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 50
  • Joined: 01-October 04

Posted 01 October 2004 - 07:08 PM

doi just do like this?:

Quote

;SetupMgrTag
[Data]    AutoPartition=2


and if i want the NTFS system file automaticly,,,
i do like this?:

Quote

[Unattended]FileSystem=NTFS



#2 User is offline   Drac0 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 23-September 04

Posted 01 October 2004 - 08:03 PM

to install to d, under [Unattended] set the TargetPath to what you need, for example:
[Unattended]
	TargetPath = "D:\Windows"

As for formatting the drive, as far as I know there is no way to format a secondary partition during an unintended install. Perhaps it could be done with BartPE? never looked at that yet.

#3 User is offline   Jito463 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 442
  • Joined: 01-July 04

Posted 01 October 2004 - 09:29 PM

Here's my section from winnt.sif that automates creating the partition and formatting. I assume it could be modified to automate creating multiple partitions and/or formatting multiple drives.

[DiskConfig]
    Disk1="Disk1.config"

[Disk1.config]
    Size1="*"
    PartitionType1="primary"
    FileSystem1="ntfs"
    Quickformat1="yes"


#4 User is offline   Drac0 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 23-September 04

Posted 01 October 2004 - 11:00 PM

Jito463, on Oct 2 2004, 01:29 PM, said:

Here's my section from winnt.sif that automates creating the partition and formatting.  I assume it could be modified to automate creating multiple partitions and/or formatting multiple drives.

[DiskConfig]
    Disk1="Disk1.config"

[Disk1.config]
    Size1="*"
    PartitionType1="primary"
    FileSystem1="ntfs"
    Quickformat1="yes"

Hmmmm, do you have anything else setup to be able to use those sections? If they work, they would make partioning very easy. I can easily see how to set it up to use multiple drives & partitions. Would be VERY handy.

Can't find anything about those sections in Ref.chm

#5 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 02 October 2004 - 02:09 AM

Drac0, on Oct 2 2004, 10:30 AM, said:

Can't find anything about those sections in Ref.chm
Indeed this is very interesting. Is there some more documentation somewhere?
Can you post your full winnt.sif (without key) so we can understand how this sections work?

And do you do this as a "direct boot from CD" sort of winnt.sif, or does it require setup to be started from DOS/windows, or do you use this in conjunction with winbom.ini? (since winbom.ini offers this ability to partition).

#6 User is offline   kenedy 

  • Member
  • PipPip
  • Group: Members
  • Posts: 123
  • Joined: 12-February 04

Posted 02 October 2004 - 03:19 AM

As far as I know [DiskConfig] is for winbom.ini, not for winnt.sif
And it requres WinPE.

#7 User is offline   Jito463 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 442
  • Joined: 01-July 04

Posted 02 October 2004 - 07:03 AM

Hmm, come to think of it you may be right kenedy. I may have copied that from my winbom.ini...I can't remember now. In any case, here's my winnt.sif so someone else can play with the options.

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

[Unattended]
    AutoActivate="No"
    UnattendMode="FullUnattended"
    UnattendSwitch="Yes"
    OemSkipEula="Yes"
    Repartition="Yes"
    OemPreinstall="Yes"
    TargetPath="\WINDOWS"
    DriverSigningPolicy="Ignore"
    OemPnPDriversPath="<too long to list>"

[DiskConfig]
    Disk1="Disk1.config"

[Disk1.config]
    Size1="*"
    PartitionType1="primary"
    FileSystem1="ntfs"
    Quickformat1="yes"

[GuiUnattended]
    AdminPassword="*"
    EncryptedAdminPassword="No"
    AutoLogon="No"
    AutoLogonCount="0"
    OEMSkipRegional="1"
    TimeZone="20"
    OemSkipWelcome="1"

[UserData]
    ProductID="<shhhh, it's a secret>"
    FullName="DIT Customer"
    OrgName=""
    ComputerName="*"

[Display]
    BitsPerPel="32"
    Xresolution="1024"
    YResolution="768"

[Shell]
    DefaultStartPanelOff="Yes"

[Components]
    AutoUpdate="on"

[TapiLocation]
    CountryCode="1"
    Dialing="Tone"
    AreaCode="515"

[Branding]
    BrandIEUsingUnattended="Yes"

[URL]
    Home_Page="http://www.ditcomputers.com"

[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="0"

[GuiRunOnce]
    Command0="%SystemDrive%\OEM\Commands\OEMPrep.bat"
    Command1="%SystemDrive%\OEM\Commands\Adobe.cmd"


#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 02 October 2004 - 07:22 AM

@Jito
Hmm, Sort of confirms what I thought...
Anyways, since the above winnt.sif works for you, there's another Q: :D
Is there any value in winnt.sif, (like what you posted above) which tells setup to simply re-format the 1st partition on disk1 (that much alone - nothing more, nothing less) with NTFS ?

And would you be so kind as to share with us, the source (webpage, document, whatever) of where you got that info from?

#9 User is offline   Jito463 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 442
  • Joined: 01-July 04

Posted 02 October 2004 - 08:09 AM

Well, I work for a small OEM, so we have WinPE for use during preinstalls if we wanted to, but I much prefer the CD-based install over the network install (especially so it doesn't tie up our internal bandwidth). I may have just copied it from the winbom.ini, but I can't recall for certain. All I do remember is I just used the setupmgr that comes in deploy.cab to create the answer file.

#10 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 02 October 2004 - 04:24 PM

i was wondering if it would be possible to auto-configure multiple partitions with this method?

#11 User is offline   Jito463 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 442
  • Joined: 01-July 04

Posted 02 October 2004 - 05:32 PM

Theoretically, yes. Just modify it like so:

[DiskConfig]
   Disk1="Disk1.config"
   Disk2="Disk2.config"

[Disk1.config]
   Size1="*"
   PartitionType1="primary"
   FileSystem1="ntfs"
   Quickformat1="yes"

[Disk2.config]
   Size1="*"
   PartitionType1="primary"
   FileSystem1="ntfs"
   Quickformat1="yes"


Etc, etc. Keep in mind that according to MS, if you specify multiple drives and only one exists, it WILL gripe at you and setup will not complete.

#12 User is offline   edmoncu 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 331
  • Joined: 28-April 04

Posted 05 October 2004 - 02:33 AM

that applies to multiple drives right? how about auto-specifying on creating multiple partitions?

#13 User is offline   Dj-Throll 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-June 04

Posted 07 October 2004 - 02:51 PM

Hello.

Anyone got this to work while running cd boot with winnt.sif ??

I am trying to create a 2 GB C partition, but it won't

Here is my winnt.sif
;SetupMgrTag
[Data]
    AutoPartition="1"
    MsDosInitiated="0"
    UnattendedInstall="Yes"

[Unattended]
    UnattendMode="FullUnattended"
    UnattendSwitch=Yes
    OemSkipEula="Yes"
    Repartition="Yes"
    OemPreinstall="Yes"
    TargetPath="\Windows"
    KeyboardLayout="Norsk"
    DriverSigningPolicy="Block"
    WaitForReboot="No"
    CrashDumpSetting="0"
    OemPnpDriversPath="to long to list"

[DiskConfig]
    Disk1="Disk1.Config"

[Disk1.Config]
    Size1="2048"
    PartitionType1="Primary"
    FileSystem1="NTFS"
    QuickFormat1="Yes"

[GuiUnattended]
    AdminPassword="This is a secret"
    OEMSkipRegional="1"
    TimeZone="110"
    OemSkipWelcome="1"
    AutoLogon="Yes"
    AutoLogonCount="3"
    
[UserData]
    FullName="Admin"
    OrgName="Company"
    ComputerName=*
    ProductID="Product Key"

[TapiLocation]
    CountryCode="47"

[RegionalSettings]
    LanguageGroup="1"
    Language="414"

[Identification]
    JoinWorkgroup="WORKGROUP"

[Networking]
    InstallDefaultComponents="Yes"

[Display]
    BitsPerPel="24"
    Xresolution="1024"
    YResolution="768"
    VRefresh="75"

[Components]
    msmsgs="off"
    msnexplr="off" 
    freecell="off"
    hearts="off"
    minesweeper="off"
    pinball="off"
    solitaire="off"
    spider="off"
    zonegames="off"

[Shell]
    DefaultStartPanelOff="Yes"
    DefaultThemesOff="Yes"


Can someone please tell me what's wrong og how I can make this happen ??

-TEGB

#14 User is offline   moo 

  • Junior
  • Pip
  • Group: Members
  • Posts: 86
  • Joined: 29-July 04

Posted 07 October 2004 - 04:07 PM

If you're using WinPE then you can use DiskPart.exe to make partitions. Check Microsoft for documentations. U can't do it to using unatended method.
moo

#15 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 07 October 2004 - 04:09 PM

@Dj-Throll
No, that [Disk1.config] doesn't work. Atleast, not directly using our current methods.
The best/simple option is, do your partitioning yourself without having it unattended.



But if you DO want it unattended, there's 2 ways to go about it:
1. WinPE
2. You need to use a different set of boot-disks, and a perl-script and so on - go here for details - http://unattended.sourceforge.net
And both the 2 ways are quite lengthy, in terms of time/testing before it gets to work. Assume sort of 2 months work, to get it working (perfectly) in those methods.
2 months to get your partitioning (a 10 second job) automated? That's a HUGE waste of time if you're a home user.

#16 User is offline   bob3d 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 28-August 04

Posted 07 October 2004 - 04:15 PM

Dj-Throll, on Oct 7 2004, 02:51 PM, said:

Hello.

Anyone got this to work while running cd boot with winnt.sif ??

I am trying to create a 2 GB C partition, but it won't

Here is my winnt.sif...
         

What specifically is it doing? Creating a full partition? Or is it failing altogether?

I am attempting to do something similar, with mixed results.

#17 User is offline   bob3d 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 28-August 04

Posted 07 October 2004 - 07:13 PM

prathapml, on Oct 7 2004, 04:09 PM, said:

@Dj-Throll
No, that [Disk1.config] doesn't work. Atleast, not directly using our current methods.
The best/simple option is, do your partitioning yourself without having it unattended.



But if you DO want it unattended, there's 2 ways to go about it:
1.  WinPE
2.  You need to use a different set of boot-disks, and a perl-script and so on - go here for details - http://unattended.sourceforge.net
And both the 2 ways are quite lengthy, in terms of time/testing before it gets to work. Assume sort of 2 months work, to get it working (perfectly) in those methods.
2 months to get your partitioning (a 10 second job) automated? That's a HUGE waste of time if you're a home user.

I now totally agree, after several attempts using variations. Disk1.config cannot work in Winnt.sif. BartPE/WinPE must be used, which is not pratical for home/casual users.

Oh well...

#18 User is offline   Dj-Throll 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 28-June 04

Posted 08 October 2004 - 12:04 AM

Hello.

Here's the story.
I am building an unattended installation for my company.
The spec, is that is should be fully unattended.
I don't want the deployment people to supply the install with anyting.

This is the idea:
Make unattended windows install, with partitioning and tweaks.
I want an 8-10 GB C part, and the rest og the disk to D.

I havn't looked at WinPE or BartPE before. How can I accomplish this ?

#19 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 08 October 2004 - 12:28 AM

Haha... that's it then - you are in for a HUGE lot of testing and frustration. Forget about leisure for the next one month. :P

No, that doesn't mean its difficult - its just time-consuming, that's all. The info for that is right here - please take a look in the "Windows PE" forum on this site - LINK.

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