![]() |
|
|
#1 |
|
Guest
Posts: n/a
|
Script after WDS setup
When booting to the Windows Deployment Services setup that lets you
select from your various install images (the screen is a Vista setup screen), is there a way to run a batch script AFTER this is run? I'm deploying Windows XP and I want to copy a customized Winbom.ini file to the hard drive before the machine boots into the Sysprep factory mode. Essentially, I want the technician to select a Winbom.ini file from the WDS boot menu, go through the process of installing the single XP image for that HAL type, then finally copy the Winbom.ini to the root of the system drive before the machine reboots. I do NOT want to create MULTIPLE install images just for different Winbom.ini files. I would rather create multiple boot images, or find some other way that script the selection of Winbom.ini, while still using WDS setup. (I can use WinPE and do it manually, but I'm trying to automate this for my coworkers. I could also write an HTA to select Winbom.ini, but then I'm using WinPE, not WDS setup.) Or is there another strategy I should be looking at? -- David Stardate 8446.3 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
RE: Script after WDS setup
Okay, You can customize the boot wim to do that.. Mount the Boot.wim and add
the Scripting and HTA packages. Mount Boot.wim Create Winpeshl.ini under \Windows\System32 folder Example below : [LaunchApp] AppPath = %SYSTEMDRIVE%\myshell.exe [LaunchApps] %SYSTEMDRIVE%\mydir\application1.exe, -option1 -option2 application2.exe, -option1 -option2 ==== So in [launchApps] You can call your HTA if you want to take some input then call setup.exe /wds /noreboot -- this will give you WDS menu of OS and 3rd application as your custom script to run after the setup completes "David Trimboli" wrote: > When booting to the Windows Deployment Services setup that lets you > select from your various install images (the screen is a Vista setup > screen), is there a way to run a batch script AFTER this is run? > I'm deploying Windows XP and I want to copy a customized Winbom.ini file > to the hard drive before the machine boots into the Sysprep factory > mode. Essentially, I want the technician to select a Winbom.ini file > from the WDS boot menu, go through the process of installing the single > XP image for that HAL type, then finally copy the Winbom.ini to the root > of the system drive before the machine reboots. > > I do NOT want to create MULTIPLE install images just for different > Winbom.ini files. I would rather create multiple boot images, or find > some other way that script the selection of Winbom.ini, while still > using WDS setup. > > (I can use WinPE and do it manually, but I'm trying to automate this for > my coworkers. I could also write an HTA to select Winbom.ini, but then > I'm using WinPE, not WDS setup.) > > Or is there another strategy I should be looking at? > > -- > David > Stardate 8446.3 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Re: Script after WDS setup
Thanks, Venkat. That looks doable.
David Stardate 8467.8 Venkat wrote: > Okay, You can customize the boot wim to do that.. Mount the Boot.wim and add > the Scripting and HTA packages. > > Mount Boot.wim > Create Winpeshl.ini under \Windows\System32 folder > > Example below : > > [LaunchApp] > > AppPath = %SYSTEMDRIVE%\myshell.exe > > [LaunchApps] > %SYSTEMDRIVE%\mydir\application1.exe, -option1 -option2 > application2.exe, -option1 -option2 > > ==== > > So in [launchApps] > You can call your HTA if you want to take some input > then call setup.exe /wds /noreboot -- this will give you WDS menu of OS > and 3rd application as your custom script to run after the setup completes > > > "David Trimboli" wrote: > >> When booting to the Windows Deployment Services setup that lets you >> select from your various install images (the screen is a Vista setup >> screen), is there a way to run a batch script AFTER this is run? > >> I'm deploying Windows XP and I want to copy a customized Winbom.ini file >> to the hard drive before the machine boots into the Sysprep factory >> mode. Essentially, I want the technician to select a Winbom.ini file >> from the WDS boot menu, go through the process of installing the single >> XP image for that HAL type, then finally copy the Winbom.ini to the root >> of the system drive before the machine reboots. >> >> I do NOT want to create MULTIPLE install images just for different >> Winbom.ini files. I would rather create multiple boot images, or find >> some other way that script the selection of Winbom.ini, while still >> using WDS setup. >> >> (I can use WinPE and do it manually, but I'm trying to automate this for >> my coworkers. I could also write an HTA to select Winbom.ini, but then >> I'm using WinPE, not WDS setup.) >> >> Or is there another strategy I should be looking at? >> >> -- >> David >> Stardate 8446.3 >> |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |