Batch files for Autoinstall
Posted on 2006-06-08
I am trying to create an autoinstall for UltraVNC. I am deploying it via a batchfile in login scripts in a Server 2k AD. Here is what I have so far
Step 1. This part works so far:
if not exist "C:\Program Files\UltraVNC\winvnc.exe" \\file\install\autoinstalls\UltraVNC\oscheck.bat else exit
This just checks to see if the program is installed already and moves on or exits depending if the file is there or not.
Step 2. If it is not installed it then calls another batch file. This one I can't get to work. It checks to see if Himem.sys is in the root of C: and if it is, then it runs the 2K .msi and not the xp.msi
if not exist "C:\himem.sys" call "\\file\install\autoinstalls\UltraVNC\xp\xpUltraAuto.bat" else call "\\file\install\autoinstalls\UltraVNC\Win2k\2kUltraAuto.bat"
I have created .msi files and they work fine, it's just step 2 that I need fixed.