"Alex" <> wrote in message
news:%...
> Hi. We have a number of Windows 2000 SP4 workstations which require
> DirectX 9 (currently on DirectX 7) to be installed as a prerequisite for
> some additional software we are rolling out. I have created a simple
> batch script which copies the installer form a central file share, expands
> the files to the %temp% directory, executed the installer silently and
> then cleans up all the files. Everything works when testing the
> script/install logged onto a workstation, although the install/update
> appears to be taking 20-25 minutes, there are no errors and DirectX 9 is
> successfully installed.
>
> When I call the script as a computer startup script, the script again
> executes fine and from the DirectX log file appears to running as expected
> for ~5 minutes. After 5 minutes Windows then continues to boot and
> displays the login screen. On checking the DirectX log file the
> installation appears to have been terminated after 5 mintues even though
> the install hadn't finished. There are no errors in the DirectX log, it's
> just as thought the installation process was killed off.
>
> Can anyone tell me what I'm doing wrong ? I'm not sure why DirectX is
> taking as long to install/update, but is there a timeout on how long a
> startup script can take to execute and complete ?
>
> Thanks,
> Alex.
Also, remember that Startup scripts run with the permissions of the local
system. There is no user. This means the script should have permissions to
install software locally, but not have any permissions elsewhere in the
network. Sometimes you must grant permissions to the computer object for
network shares, for example. When this is necessary I grant permissions to
the group "Domain Computers". If the script runs fine when you run it, the
problem is most likely permissions. Also, the script must run silently.
--
Richard Mueller
MVP Directory Services
Hilltop Lab -
http://www.rlmueller.net
--