dim Posted December 2, 2008 Posted December 2, 2008 As I posted previously, I come from the school of W2k3 scripted unattended installations. We like the flexibility of changing on the fly.Now, What should I be focusing on with Either Vista or Server 2008 for scripted unattended installations via a network share. In the past I created the $oem$ and $$ and $1 directories and put all the information in there.I have been reading about configuration sets, but I am not quite sure I 100% understand this.I basically have network shares that usually store our source files globally, so how can I do this with Windows 2008?
COOLCOMPUTERGUY Posted December 4, 2008 Posted December 4, 2008 This involves windows PE, and imagex to make an installed image and capturing the image then storing it on the network share and using PE on the destination computer to map to the NETSHARE and load the destination computer.$oem$ folders are still supported but Microsoft recomends imagex to add data to the install.wim file.
dim Posted December 4, 2008 Author Posted December 4, 2008 Thanks for replying to me...Now can you help me understand if I am using let's say Altiris to deploy images via scripted installation and not image based. So I am lauchingsetup.exe /unattend:unattend.xml what should I be looking at most to allow for the most flexibility of adding new hardware. I want to try not to update the install.wim file itself, but be able to add flexibility.For example, with our old windows 2003 builds we dynamically find out our mass storage drivers based on hardware and then dynamically write the unattend.txt file on the fly and launch the installation.I don't see this as a viable solution for w2k8.All your help is much appreciated.
maxXPsoft Posted December 6, 2008 Posted December 6, 2008 with inf drivers simplest method is just mount the image, inject the driversnext week a new line of PC's and needs a few more driversmount the image, inject the driversby storing them on the base image it works with all as long as the size don't exceed then you okreally don't know about that Altiris
dim Posted December 6, 2008 Author Posted December 6, 2008 We are not image based.. We are scripted install. We must use setup.exe /unattend:unattend.xml.
maxXPsoft Posted December 8, 2008 Posted December 8, 2008 regardless, you still have a install.wim in your sources direverything can be changed its only a matter of figuring out how to do it.
dim Posted December 9, 2008 Author Posted December 9, 2008 Max-I appreciate your advice. I am a believer of leaving the base WIM intact b/c by creating a process that injects drivers into the WIM file doesn't quite allow for the flexibility.
randalldale Posted December 11, 2008 Posted December 11, 2008 Dim,I have just started down the Vista path myself but am familar with the .wim structure.What you can look at is creating your driver injection into a wim file containing multiple index's i.e. appended drivers.wim. As I have done with my XP installs. Since Vista is .WIM based and basically a sysprep'd image when you lay down the install.wim you can also then by index lay down the driver.wim pertaining to the PC that you are trying to install on.As long as you are using WinPE to boot you can use a WMI script to determine the PC and then apply the correct drivers.wim index.Here is a script I use to determine the PC based on Manufacturer System ID.***********************************************************************************On Error Resume NextDim objWMIService, colItems, objItem, sLenConst wbemFlagReturnImmediately = &h10Const wbemFlagForwardOnly = &h20Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_BaseBoard", "WQL", _ wbemFlagReturnImmediately + wbemFlagForwardOnly) '------------------------------------------------------------------------- ' Getting the SYSID of the PC '------------------------------------------------------------------------- For Each objItem In colItems SYSID=trim(objitem.Product) ' Remove "h" from SYSID string as some PCs have an h and some don't sLen=Len(SYSID) If Ucase(Mid(SYSID,sLen,1)) = "H" Then SYSID=Mid(SYSID,1,sLen-1) End If Next MsgBox SYSID***********************************************************************************If you don't care about the 'h' character then change the scripting to just grab the SYSID.I hope this helps,Randy
dim Posted December 12, 2008 Author Posted December 12, 2008 CoolComputerGuy$oem$ folders are still supported but Microsoft recomends imagex to add data to the install.wim file.I haven't seen that documentation, but i personally am not a fan of injecting into the install.wim file. To me that doesn't allow the flexibility of a true scripted installation...I am toying with the idea of using imagex and capture the associated drivers per hardware platform in WinPE and haveing a generic driver folder in the audit pass for PNP drivers.
COOLCOMPUTERGUY Posted December 12, 2008 Posted December 12, 2008 "Use Data Images Rather Than $OEM$""The recommended way to add data such as additional drivers or applications is to create a data image and to set the DataImage settings in Microsoft-Windows-Setup for that image. For details on creating a data image, see Create a Data Image."Although $OEM$ is still supported, it is no longer the preferred method"."Do not overwrite existing files in the OSImage settings. DataImage is used only to add files. You can use DataImage to add data to an existing partition outside the OSImage."(Taken from Unattended Windows Setup Reference)
dim Posted December 12, 2008 Author Posted December 12, 2008 CCGuyExactly... Maybe my terminology is off, but that is exactly what I was stating before. I am moving towards DataImages. From what i read from your post, it sounds like you are taking the install.wim file and injecting stuff into them. $oem$ folders are still supported but Microsoft recomends imagex to add data to the install.wim fileThat is not my understanding of DataImage. My understanding of Dataimage is you create a custom WIM file and associate it in your unattend.xml file. Once the system comes up, the files get extracted to the root of the systemdrive. In my opinion, it doesn't touch the actual source, install.wim.Now the tricky part is how to dynamically create a dataimage and then associate it in your unattend.xml file.How does that sound?
dim Posted December 12, 2008 Author Posted December 12, 2008 But.. On another note, I do have some more questions regarding dataimage... I will have to do some research..What about the $$ structure .. Does all that go away?
COOLCOMPUTERGUY Posted December 16, 2008 Posted December 16, 2008 You are modifing the install.wim to suite your needs but not to be confused with making an image of an installed system!
darkleon Posted January 14, 2009 Posted January 14, 2009 (edited) maybe you can visit the dexter.inside threadhttp://www.msfn.org/board/index.php?showtopic=95271Art of oem xp nlite preinstallation, check it, and if you can search it of unnatended mode only ask. Edited June 2, 2009 by CoffeeFiend blog spam
dim Posted January 19, 2009 Author Posted January 19, 2009 We have moved on With DataImages as Microsoft suggested and it works awesome.. better than $oem$ ever did...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now