Editing SmartDeploy.xml on the Fly
The SmartDeploy Media Wizard enables you to quickly build boot media that includes a custom answer file. When you create boot media with an answer file it is stored at the root of your SmartPE media (CD or USB) as SmartDeploy.xml. This answer file has several important items that you may want to modify on the fly including:
- .WIM file being deployed
- Platform Pack (.ppk) being selected
Windows Deployment Services (WDS) compatible image files are a good companion for a custom answer file because of the number of questions involved in the setup process. One method I have found that works well is using a free virtual CD daemon to modify the SmartDeploy.xml file on my SmartPE ISO images. You can have separate SmartPE media for each image path or platform pack variation. However, most would probably agree that it is more desirable to have different answer files (SmartDeploy.xml) and quickly swap them out as needed.
Download your virtual CD daemon of choice. I like PowerISO. The unregistered version will allow you to create or edit image files less than 300MB which works effectively for WinPE ~204MB. This program allows me to quickly mount my SmartPE media and view the SmartDeploy.xml file.
If you want to edit the answer file. Simply copy the file to your desktop. Edit the parameters to match the path to the platform pack and image file you need. Then copy the file back to the screen replacing the original file. You will have your new SmartPE ISO file with an updated SmartDeploy.xml as soon as you click save.
Another useful idea is to use your mounted ISO to create a new deployment USB drive. Optionally, you can use the Media Wizard to perform this task. First, open SmartDeploy Enterprise Command Prompt. Then run the following commands:
diskpart
select disk 1
clean
create partition primary
select partition 1
active
format quick fs=fat32
assign
exit
xcopy V:\SmartPEiso\*.* /e f:\
Note: where F:\ is the drive of your USB drive and V:\ is your virtual CD daemon drive.
Remember, you can edit the SmartDeploy.xml file on your USB boot media that you have created quickly without needing to mount an ISO image. You may want to keep copies of various answer files that reference different paths to image files or platform packs on your network or WDS folders. If you name them logically (XP_answers, Win7_answers.xml) you will be able to swap out answer files on the fly in either the ISO or USB SmartPE media you are using.
Enjoy IT,
IT Consultant
3 Comments
Recommended Comments
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