Question regarding windows XP automation

Discussion in 'Software Q&A' started by sridatta, Oct 12, 2006.

Thread Status:
Not open for further replies.
  1. sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    hi all...

    I would like to make a completely unattended windows XP CD...

    The problem is that.. i want windows to be installed on the first partition of the disk. If windows is already installed in the first partition, the setup should format the partition with NTFS file system and install fresh copy of windows there..

    I have got some info that this can be done using diskpart but i donno how to write script...

    pls help me...
     
  2. OP
    OP
    sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    Actually i m trying to build an "Unattended or automated" setup CD. I should pre-configure the settings so that the setup should not ask me anything during installation.
     
  3. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    U need just this:

    http://unattended.msfn.org/unattended.xp/

    Also if u look into the Setup folder of XP, u'll get SUPPORT\TOOLS]DEPLOY.CAB file, just extract it and run the Setupmgr.exe file. It also helps u in creating unattended installation! :)
     
  4. Choto Cheeta

    Choto Cheeta Rebooting

    Joined:
    Aug 9, 2004
    Messages:
    6,202
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    220.225.82.33
    i preffer to go with mnfn and nlite... much more flexibility with them... :) but so many option as i have seen to make a prefect Disk often its in DVD size !! :p
     
  5. OP
    OP
    sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    @Vishal..

    I have followed the link that u sent me in PM..(the same link above) and i was able to create an answering file..

    but..from the same site the following source tells u..

    in the same site, in the reference page, i also got the following info...

    Code:
    AutoPartition=0
    Thats why i thought i would require diskpart for doing that... i did found some code regarding this... but that code is all about creating new partitions..
     
  6. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    I think if u put following lines, then it should serve the purpose:

    Code:
    TargetPath=C:\WINDOWS
    ProgramFilesDir="C:\Program Files"
    CommonProgramFilesDir="C:\Program Files\Common Files"
    ProfilesDir="C:\Documents and Settings\"
     
  7. OP
    OP
    sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    ya it was a nice idea [:)]..

    but it seems it do not format the drive in such case [:(]

    I need to format c: with NTFS before installing
     
  8. Vishal Gupta

    Vishal Gupta Microsoft MVP

    Joined:
    Jul 28, 2005
    Messages:
    5,173
    Likes Received:
    121
    Trophy Points:
    0
    Location:
    AskVG.com
    Yeah! u r right ;)
    If I get some info, i'll let u know :)
     
  9. aadipa

    aadipa New Member

    Joined:
    Feb 12, 2004
    Messages:
    997
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Palghar, Mumbai
    This will delete all (not only first) partitions on first drive. May be not what you exactly want.

    For more info ->
    XP-CD-ROOT\Support\Tools\Deploy.cab
    look for ref.chm file in that cab file.
     
  10. OP
    OP
    sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    ya.. i want to retain the content of other partitions.. only C should be formatted :)
     
  11. utsavhanda

    utsavhanda New Member

    Joined:
    May 14, 2005
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    INDIA
  12. gxsaurav

    gxsaurav Guest

    use nlite, u can do all what ur asking for with that
     
  13. OP
    OP
    sridatta

    sridatta An Esoteric Geek

    Joined:
    Mar 28, 2006
    Messages:
    283
    Likes Received:
    15
    Trophy Points:
    0
    Location:
    Bangalore
    @gxsaurav
    nLite dont have the options for formatting the partition as such
     
Thread Status:
Not open for further replies.

Share This Page