:: This is the registry fix for installation in Windows 7. I'm referring to where the homedrive path is set to use the variable %homedrive%\%homepath%
::"\\wn1815\Desktop\KCDesktop\Tips and Tricks\Windows 7 Installer fix.reg"
:: This copies over a shortcut to the Washington VPN page for the user.
xcopy "\\example\example\SSL VPN.url" "C:\Users\Public\Desktop"
:: This copies over a basic map network drive bat file template.
::xcopy "\\example\example\Map Network Drives.bat" "C:\Users\Public\Desktop"
:: This changes the directory to where we keep our wireless settings.
CD "C:\Drivers\Wireless Profiles\Intel\Windows 7\"
:: This loads in the wireless profile settings.
NETSH WLAN ADD PROFILE FILENAME="example.employee.xml"
:: This is the install for the host checker portion of our VPN program.
\\example\Desktop\example\dshostcheckersetup.exe
:: This installs the network connect portion of the VPN program.
\\example\Desktop\example\neoncsetup64.exe
:: Sets the Lan\WLAN switching to enabled in the bios from windows.
\\example\Desktop\example\biosconfigutility64.exe /setconfig:\\example\Desktop\example\8470P.txt
:: This is to check to see if MSXML version 4 is installed. If not it installs it just like all the other stuff below.
if not exist "C:\Windows\SysWOW64\msxml4.dll" \\example\example\install.exe
:: This is to make sure office 2010 is installed. If it isn't it kicks off the installer for it.
if not exist "C:\Program Files (x86)\Microsoft Office\Office14\OUTLOOK.EXE" \\example\example\install.exe
:: This is to make sure Adobe Reader 11 is installed. If it isn't it kicks off the installer for it.
if not exist "C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" \\example\example\install.exe
:: This is to make sure Symantec Endpoint Protection is installed. If it isn't it kicks off the installer for it.
if not exist "C:\Program Files (x86)\Symantec\Symantec Endpoint Protection\12.1.2015.2015.105\Bin64\Smc.exe" \\example\example\install.exe
:: This is the SEE install. Needs to be updated when needed.
\\example\example\install.exe
:: This checks for Lync, and installs it if not found.
if not exist "C:\Program Files (x86)\Microsoft Lync\communicator.exe" \\example\example\install.exe
:: This is the install for KB2775511 for Windows 7 which helps address multiple issues including a slow login time.
\\example\example\Install.exe
:: This is the install for the KB article that brings IE8 up to date.
\\example\example\install.exe
::echo
::echo The script has now finished. Press a key to launch the Example
::pause
:: Calls the Example
::\\example\Example.exe
::Restarts the machine
shutdown /r