doestergaard Posted September 30, 2013 Share Posted September 30, 2013 Hi allIm basically writing a couple of hta files to make a installation of windows over the network with PXE to my Home NAS. So far i have made a custom WinPE image with all the hat which includes:A Loader (Initializes the system)A Gui (Input computername, chosing an image and a disk configuration (diskpart) and a username and password.The PXE boot proces and the parsing to the unattend.xml works fine. Also applying the captured image is also great.Im stuck on how i can use those parsed information to complete the unattended setupAny help is appreciated!Thanks in advance Link to comment Share on other sites More sharing options...
MrJinje Posted September 30, 2013 Share Posted September 30, 2013 (edited) Use those HTA inputs to modify the local copy of unattend.xml via text replace. Then have your hta call setup.exe pointing to the modified local copy unattended.xml via switches. You'll have to do some digging to find out which folder it is copied to locally (i think panther folder) Anyways, here is the syntax, replace the network path with the C: drive local path and it should be good to go.\\server\share\dvd\setup.exe /unattend:\\server\share\unattend.xmlYou can search google for how to replace text inside an XML, shouldn't be too hard if you have the powershell.cab in your winpe session. Edited September 30, 2013 by MrJinje Link to comment Share on other sites More sharing options...
doestergaard Posted September 30, 2013 Author Share Posted September 30, 2013 (edited) Thank you for your reply. But I already have a captured wim image with all updates installed on the share. During generalizing the image (before i captured the wim) i did set it to use a local unattend.xml which contains a "specialize" synchronous command to my network share which points to the new (copied from share) unattend.xml in the Panther folder.Im not even sure if im doing it right? :s Edited September 30, 2013 by doestergaard Link to comment Share on other sites More sharing options...
gustavo21 Posted September 30, 2013 Share Posted September 30, 2013 I don´t understant what is the problem you have. If you have the syspreped wim and loader for the system you have all you need... Link to comment Share on other sites More sharing options...
Tripredacus Posted September 30, 2013 Share Posted September 30, 2013 If you sysprep an image and specify the /unattend switch, and you install that WIM using Setup, it will ignore the unattend file you specified. However, if you deploy the image with DISM, it will see that unattend file as normal. 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