Script to update SEP 12.1 installation packages
I wrote a little Powershell script to update existing SEP 12.1 Installation Packages with the latest definitions for all modules.
On the SEPM 12.1 share the following folder for “everyone – read”
Export Packages without ticking the box “Create a single .EXE file for this package”
Ensure that the following .ZIP files exist in the 32Bit and 64Bit package folder:
Download the script and the modify the first lines for your environment
#Needs to be modified for each environment: $SEPM = "SEPM.mycompany.local" $content = "\content$" $x86Setup = "C:\SEP\My Company_Workstations_WIN32BIT\Symantec Endpoint Protection version 12.1.1101.401\" $x64Setup = "C:\SEP\My Company_Workstations_WIN64BIT\Symantec Endpoint Protection version 12.1.1101.401\"
The first two lines are for the SEPM Server name and the share of the content
The last two lines are the folders where your packages are stored. Save the script as .ps1
Now you can run the script and it will update the definition files in your package folders:
Packages are now up to date!
If you want to only update the Virus Definitions or only 32Bit / 64Bit Packages, you can delete the related lines in the "#Execution Sequence:" Part of the script.
Important Note: Do not run the script when liveupdate is installing new definitions on the SEP. This may damage your exported packages.