TrendMicro OfficeScan

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Silent Installer for the TrendMicro OfficeScan Client, a Security Suite

<?xml version="1.0" encoding="UTF-8"?>
<packages>

   <package id="officescan"
            name="TrendMicro OfficeScan 8"
            revision="8"
            reboot="false"
            priority="800">
		
      <check type="uninstall" condition="exists" path="Trend Micro OfficeScan Client" />
		
      <install cmd='\\OFFICESCANSERVERNAME\ofcscan\AutoPcc.exe' />

   </package>

</packages>

Note: change the OFFICESCANSERVERNAME to match your Servername, where you installed the OfficeScan Server.


alternative method

If you have to authenticate yourself with a different user on the OfficeScan Server, you can use the following batchfile

@echo off
net use \\OFFICESCANSERVERNAME\ofcscan /user:DOMAIN\USER PASSWORD
start /wait \\OFFICESCANSERVERNAME\ofcscan\AutoPcc.exe
net use \\OFFICESCANSERVERNAME\ofcscan /delete

Don't forget to change the Servername, Domainname, User and Password. Change the wpkg package to execute your batch:

<?xml version="1.0" encoding="UTF-8"?>
<packages>

   <package id="officescan"
            name="TrendMicro OfficeScan 8"
            revision="8"
            reboot="false"
            priority="800">
		
      <check type="uninstall" condition="exists" path="Trend Micro OfficeScan Client" />
		
      <install cmd='cmd /c "%SOFTWARE%\trendmicro\install.cmd"' >
         <exit code="-1" />
      </install>

   </package>

</packages>