jdgordon Posted April 27, 2004 Share Posted April 27, 2004 gday all,im writing a program that can be run in winpe (actually any win32 environment) that can edit the winnt.sif file for XP (and 2k3, 2000 might have some problems) and then run winnt32.exe and get windows installing with all the values from the program used in the unattended install...bassically so u dont have to reburn your xp cd to install it on a friends computer unattendedly..anyway, its mostly done so i need ppl to test it and tell me what needs fixing.specifically, does the command to run winnt32 actually work?also, if any1 can do a background and an icon id appreciate iti forgot to mention that if a winnt.sif file exsists in the same folder that the exe is in it will load that file as the default valuesPEXP installer Link to comment Share on other sites More sharing options...
Jazz Posted April 27, 2004 Share Posted April 27, 2004 Hmm looks good, but dosent that mean that first we have to copy the XP cd to the hdd, the boot from PE, then start the install ??Well it can get timeconsuming in some cases... It would be very nice if sombody makes an applicatio of such aim for DOS, so that the no's of cd's required to install XP will be minimal, one in most cases Bye,Jazz Link to comment Share on other sites More sharing options...
jdgordon Posted April 27, 2004 Author Share Posted April 27, 2004 u can either have the xpcd on the pe cd or you can connect to a network share with the winxp files on it...ok, iv fixed the exe so if ppl could test it itd be great http://members.optusnet.com.au/jonathan.go...20installer.exe Link to comment Share on other sites More sharing options...
Jazz Posted April 27, 2004 Share Posted April 27, 2004 u can either have the xpcd on the pe cd or you can connect to a network share with the winxp files on it...Hmm, well how can we fit the XPCD in the PECD ? i dont think it'll fit..and where i am, not many ppl have network shares.. so..Is there a possibility for you to port this app to the DOS ?Bye,Jazz Link to comment Share on other sites More sharing options...
jdgordon Posted April 27, 2004 Author Share Posted April 27, 2004 have a look at pebuilder (http://www.nu2.nu/pebuilder/) that makes a winpe cd that is only about 180mb which lkeaves more than enough for xp... and it is a legal copy of PE...if u want it for dos ur best bet is a batch file... there are a few alreadyback on topic please.... Link to comment Share on other sites More sharing options...
Test Zero Posted April 27, 2004 Share Posted April 27, 2004 This is fantastic. Thanks a lot. Link to comment Share on other sites More sharing options...
Jazz Posted April 28, 2004 Share Posted April 28, 2004 Well what do ya know...lto get more info on the PE builder goto www.911cd.net/forums its the home of bootable cd's.. all the info on bootable cd's than you'll ever find,.And yeeha, i'm a silver member at that site Bye,Jazz Link to comment Share on other sites More sharing options...
likuidkewl Posted April 28, 2004 Share Posted April 28, 2004 Well what do ya know...lto get more info on the PE builder goto www.911cd.net/forums its the home of bootable cd's.. all the info on bootable cd's than you'll ever find,.And yeeha, i'm a silver member at that site Bye,JazzI see everyone is trying to stay on topic.Anyhow, my question is where does the winnt.sif file get created and placed? And for those of you worried about reburning the CD all you would have to do is write a little script for Diskpart to clean the HD and then create a small partition of at the most 8mb to keep the rest of the hard drive partitioning clean and smooth.<Don't quote me on partition sizes below I just made them up>SifPrep.cmddiskpart /s %systemdrive%\<your folders>\diskpart.txt format Q: /fs:fat32 /q /v:CRAP /yformat c: /fs:ntfs /q /v:Install /yDiskpart.txt example scriptDISKPART SEL DIS 0 CLEAN CRE PAR PRI SIZE = 8 ID = 12 ASSIGN LETTER = Q CRE PAR PRI SIZE = 20480 (remember just an example) ACT ASSIGN LETTER = CEXITAfter here all you would have to do is point your winnt32.exe to the place where you stored the winnt.sif, here it would be Q:\winnt.sif Easy Link to comment Share on other sites More sharing options...
jdgordon Posted April 28, 2004 Author Share Posted April 28, 2004 thats likuidkewl, i was looking for a diskpart script that would work coz i could never get partition magic to not give a 702 error... ok, sorry i should have explained the program a bit...when youv done all the settings you press install windows. it then asks you where u want to save the sif file to (a ram didks is probably best), it also asks u where the winnt32.exe file is and what hard disk to install to. it will then run winnt32.exe /syspart:%drive% /tempdrive:%drive% /unattend:%sif file% and in the next verison will have options for dynamic update aswell as more as they get added...so this expects the drive to be ready for install... Link to comment Share on other sites More sharing options...
Jazz Posted April 28, 2004 Share Posted April 28, 2004 Hmm, well considering the Stay on topic allegation, here i go. @likuidkewl,Well thinking optimisticily, will the script actually CLEAN the hdd ? in the sense completely wipe it off ?Or can it just create a stupid partition anywhere it finds the space.. (prefrrabaly at the start or end of the hdd)Also, after that, will the pc need to be restarted for the changes to take affect ?Well if things go as they should, then probably, what we can do is, ask the user if he wants to wipe the XP partition off then create a small 8mb partition at the start of the hdd, then create the winnt.sif there, then start the install, and this time delete the temp partition and reformat everything as C:The beauty of this can be that it'll all be automated thru batch files in DOS..Any ideas or doubts ?Its just that i'm not comfortable with the idea of using 2 cd's just to install XP unattended, when all that can be done with just a dos image in the XPCD.I hope i make some sense here Bye,Jazz Link to comment Share on other sites More sharing options...
jdgordon Posted April 28, 2004 Author Share Posted April 28, 2004 Jazz... please stay on topic... u cant use diskpart in dos (i think) and ive already told u that pebuilder makes a winpe cd with about 550mb free on it which is plenty for XP Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted April 28, 2004 Share Posted April 28, 2004 Jazz... please stay on topic... u cant use diskpart in dos (i think) and ive already told u that pebuilder makes a winpe cd with about 550mb free on it which is plenty for XPHere Here Link to comment Share on other sites More sharing options...
jdgordon Posted April 28, 2004 Author Share Posted April 28, 2004 ok, so 200 views.. can any1 give me feedback.. specifically does it actually work? iv tried it in VPC and when it finishes copying the files it doesnt reboot when it should. i havnt had a chance to test it on a real comp yet Link to comment Share on other sites More sharing options...
Jazz Posted April 28, 2004 Share Posted April 28, 2004 Nobody like me ! Link to comment Share on other sites More sharing options...
yourtech Posted May 10, 2004 Share Posted May 10, 2004 any more feedback? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now