(imported topic written by tscott91)
I’m trying to get all of our PC’s on a standard VNC version… I’ve created the following Fixlet which works great all except one part, it doesn’t install the video driver… The very last line is the code to install the driver… Here is the weird part that I can’t figure out…
It doesn’t work when I run that… I’ve also tried using
wait “{pathname of system folder & “\cmd.exe”}” /C “{(pathname of client folder of current site) & “__Download\driver\Install.bat”}”
which is the actual bat file that is included to install it (which is just the command I have below).
The very weird part that I can’t figure out?? If I go into the BigFix __Download directory and manually run the install.bat file inside the \driver folder it installs fine!
Any ideas?!
Thanks!
delete __appendfile
delete “__Download\InstallVNC.Bat”
appendfile cd “{pathname of parent folder of regapp “BESClient.exe” & “__BESData\actionsite__Download”}”
appendfile net stop winvnc
appendfile “C:\Program Files\UltraVNC\unins000.exe” /silent /norestart
appendfile “C:\Program Files\UltraVNC\unins001.exe” /silent /norestart
appendfile “C:\Program Files\UltraVNC\unins002.exe” /silent /norestart
appendfile “C:\Program Files\RealVNC\unins000.exe” /silent /norestart
appendfile C:\WINDOWS\ISUNINST.EXE -f"C:\Program Files\ORL\VNC\Uninst.isu" -a
appendfile C:\WINNT\ISUNINST.EXE -f"C:\Program Files\ORL\VNC\Uninst.isu" -a
appendfile “C:\Program Files\TridiaVNC\UninstallerData\Uninstall TridiaVNC.exe” /silent /norestart
appendfile md “C:\Program Files\UltraVNC”
appendfile xcopy /e /y
.
“C:\Program Files\UltraVNC”
appendfile “C:\Program Files\UltraVNC\winvnc.exe” -install
appendfile mslogonacl.exe /i /o fpb.txt
appendfile CD Shortcuts
appendfile xcopy /e /y
.
“C:\Documents and Settings\All Users\Start Menu\Programs”
//copy the newly-created file to a different file name
copy __appendfile “__Download\InstallVNC.bat”
//execute your bat file or script
wait “{pathname of system folder & “\cmd.exe”}” /C “{(pathname of client folder of current site) & “__Download\InstallVNC.bat”}”
wait “{pathname of system folder & “\cmd.exe”}” /C “{(pathname of client folder of current site) & “__Download\driver\setupdrv”} install”