TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Windows Deployment

Notices

Script after WDS setup

Windows Deployment


Reply
 
Thread Tools Display Modes
Old 12-06-2008, 07:56 PM   #1
David Trimboli
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
  Reply With Quote
Old 17-06-2008, 11:55 AM   #2
Venkat
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
>

  Reply With Quote
Old 20-06-2008, 03:58 AM   #3
David Trimboli
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
>>

  Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 09:45 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional