did a search for +audit +network but did not come up with any results so I guess noone has tried this before. I am trying to get the Vista installation to check if a share exists during audit phase and if it does, to install from network instead of DVD. However, it does not seem to work. The share exists and has read rights for the user "everyone", if I try the script from within Windows, it works but during audit user phase it always defaults to installation from DVD instead. The network drivers are installed already (they are slipstreamed into the image), the network cable is connected
Hereīs the script:
@echo off SETLOCAL ENABLEEXTENSIONS if exist "\\server\share" goto servermode ECHO Running Installation from DVD Drive ... ping -n 5 127.0.0.1>nul start "" /wait "%DVDRoot%\install.cmd" exit :servermode PUSHD \\server\share ECHO Running Installation from Server ... ping -n 5 127.0.0.1>nul FOR %%j IN (Z Y X W V U T S R Q P O N M L K J I H G F E D) DO IF EXIST "%%j:\Installation\install.cmd" set DRIVE=%%j start "" /wait "%DRIVE%:\Installation\install.cmd" POPD exit
Do you guys have any ideas how to solve that problem ?
Thanks,
Alex
This post has been edited by midiboy: 11 November 2007 - 09:35 AM



Help

Back to top








