'IEPRO7 disable automatic updates
Set objShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
strRegFileIE7PRO = "\\dc1\SYSVOL\domain.Local\scripts\conf.ini"
strFileIEPRO= "C:\Program Files\IEPro\IEProCx.exe"
strAppData = objShell.ExpandEnvironmentStrings("%APPDATA%")
strCheckFileIEPRO = strAppData & "\IEPRO7updatesdisabled.dat"
If objFSO.FileExists(strFileIEPRO) then
If objFSO.FileExists(strCheckFileIEPRO) = False Then
objFSO.CopyFile "\\dc1\SYSVOL\domain.Local\scripts\conf.ini" , "C:\Documents and Settings\testuser\Application Data\IEPro"
Set objFile = objFSO.CreateTextFile(strCheckFileIEPRO, True)
objFile.Close
End If
|