ahmadmahrous Posted September 23, 2012 Share Posted September 23, 2012 (edited) I want to make two entries in windows 7 installation disk boot menu:1- Unattended Windows 7 Setup.2-Attended Widows 7 Setup.So the first option will make setup proccess use autoattended.xml in the disc root directory; While the second option will ignor this file.this made befor in windows XP ( I know it from your forum at: http://www.msfn.org/board/install-XP-USB-t111406.html ) now I want to do the same for Windows 7.Thank You. Edited September 24, 2012 by Tripredacus removed unneccesary formatting Link to comment Share on other sites More sharing options...
Tripredacus Posted September 24, 2012 Share Posted September 24, 2012 You'll need to add a (or replace the) winpeshl.ini to launch a script of some sort. It can be .cmd or something else you make. This script needs to be able to determine the drive letter that the DVD resides in. Create 2 answer files. The first one is your Unattended one. The second one should be blank but with the correct XML elements so that Setup can parse it. Name it Attended.xml.Your script will have 2 options:1. Unattended2. AttendedPresuming your DVD drive is D:, then the two option above would have the following commands:1. Unattendedsetup.exe /unattend:d:\autounattend.xml2. Attendedsetup.exe /unattend:d:\attended.xmlThere does not appear to be a command line parameter to instruct Setup.exe to NOT look for an answer file. This is why you would need to use a relatively blank one. Here is an example (not tested):<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-us</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-US</UserLocale> </component></settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows vista business.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Link to comment Share on other sites More sharing options...
ahmadmahrous Posted April 8, 2013 Author Share Posted April 8, 2013 You'll need to add a (or replace the) winpeshl.ini to launch a script of some sort. It can be .cmd or something else you make. This script needs to be able to determine the drive letter that the DVD resides in. Create 2 answer files. The first one is your Unattended one. The second one should be blank but with the correct XML elements so that Setup can parse it. Name it Attended.xml.Your script will have 2 options:1. Unattended2. AttendedPresuming your DVD drive is D:, then the two option above would have the following commands:1. Unattendedsetup.exe /unattend:d:\autounattend.xml2. Attendedsetup.exe /unattend:d:\attended.xmlThere does not appear to be a command line parameter to instruct Setup.exe to NOT look for an answer file. This is why you would need to use a relatively blank one. Here is an example (not tested):<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-us</UILanguage> </SetupUILanguage> <InputLocale>0409:00000409</InputLocale> <SystemLocale>en-us</SystemLocale> <UILanguage>en-us</UILanguage> <UserLocale>en-US</UserLocale> </component></settings> <cpi:offlineImage cpi:source="catalog:d:/sources/install_windows vista business.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>where I can find winpeshl.ini? Link to comment Share on other sites More sharing options...
jaclaz Posted April 8, 2013 Share Posted April 8, 2013 where I can find winpeshl.ini?it's on the shelf, on the right, just behind winnsi.dll You'll need to add a (or replace the) winpeshl.ini to launch a script of some sort. It can be .cmd or something else you make. Here :http://technet.microsoft.com/en-us/library/cc766156(v=ws.10).aspxBUT read also:particularly:page__st__12jaclaz Link to comment Share on other sites More sharing options...
ahmadmahrous Posted April 10, 2013 Author Share Posted April 10, 2013 Thank you jaclaz I did not notice "You'll need to add"I already search the web after I read your first post and found the first link in your second one then i try to locate the file in my original windows DVD but not found.Thank you again 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