LeveL Posted November 25, 2006 Share Posted November 25, 2006 (edited) I have finally got my Autounattend.xml working, so it does not askfor language, product key etc but I have found that if I include thissection like this... <ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>1</PartitionID> </InstallTo> </OSImage> </ImageInstall>It will not ask which disk and partition I want to install to, this is correct because the disk and partition is specified there with <DiskID>0</DiskID> and <PartitionID>1</PartitionID>However, I want to just manually choose this one thing, lets say I swap my disksaround, buy a new HDD making my old drive the 2nd disk etc, so I always wantto manually choose where to install to.So I made the Autounattend.xml like this: <ImageInstall> <OSImage> </OSImage> </ImageInstall>That has the whole "InstallTo" section removed (4 lines) and it gives an errorwhen I try this.I also tried the following... <ImageInstall> <OSImage> <InstallTo> <DiskID></DiskID> <PartitionID></PartitionID> </InstallTo> </OSImage> </ImageInstall>This also gives an error!I do not think I have tried this yet......... <ImageInstall> <OSImage> <InstallTo> </InstallTo> </OSImage> </ImageInstall>That leaves in the "InstallTo" section but I doubt this will work,leaving things blank like this is what was causing errors before,things seem to either need to be there and filled in, or the tagsneed to be taken completely out. This is also covered in theWAIK chm, saying do not leave empty tags.I wonder if it might work with stars like this: <ImageInstall> <OSImage> <InstallTo> <DiskID>*</DiskID> <PartitionID>*</PartitionID> </InstallTo> </OSImage> </ImageInstall>Sheesh, I only want it to ask me this ONE thing! Edited November 25, 2006 by LeveL Link to comment Share on other sites More sharing options...
urie Posted November 26, 2006 Share Posted November 26, 2006 (edited) Use <DiskConfiguration> <WillShowUI>Always</WillShowUI> Edited November 26, 2006 by urie Link to comment Share on other sites More sharing options...
shanssv Posted November 30, 2006 Share Posted November 30, 2006 is it worked ? if yes ..could you post your xml file here..??ThanxShan Link to comment Share on other sites More sharing options...
FireGeier Posted November 30, 2006 Share Posted November 30, 2006 NOTE:If you don't want to set an option in Autounattend.xml, look that the setting is removed from AutoUnattend.xml. AutoUnattend.xml don't like empty entries.I guess that you don't have used WSIM to make your settings. I highly recommend to use it, cause it helps to avoid a lot of syntax errors and it will remove empty entries automatically.So all you need to set should be the entry Urie posted allready.Martin Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 1, 2006 Share Posted December 1, 2006 (edited) don't really need the WAIK for syntax, just open the file with IE and it will definitely tell you if there are error's, but of course it won't remove unneeded or tell you its a Default value and not needed. Sim won't tell you default either, rely on the unattend.chm cause its all we have right nowis it worked ? if yes ..could you post your xml file here..??ThanxShanurie and I have been working on this awhileI'm quoting unattend.chm and this does work hereFor unattended installations, you must specify either InstallTo or InstallToAvailablePartition.So going to my 2 partition for a dual boot with XP<ImageInstall> <OSImage> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> <WillShowUI>Always</WillShowUI> </OSImage> </ImageInstall> Edited December 1, 2006 by maxXPsoft Link to comment Share on other sites More sharing options...
LeveL Posted December 1, 2006 Author Share Posted December 1, 2006 I got it working by just leaving the section out entirely.I must admit though its tough unless you use the WAIK,then its really easy. Link to comment Share on other sites More sharing options...
Innocent Devil Posted December 1, 2006 Share Posted December 1, 2006 i want complete unattended except for the disk partitioning and partition selectionso wat should i use ? Link to comment Share on other sites More sharing options...
maxXPsoft Posted December 2, 2006 Share Posted December 2, 2006 what I posted in your xmlYou'll need key and such, the normal things 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