Creating Trend Officescan installer package using clnpack.exe
ByToday I was trying to use clnpack.exe fom a command line to automatically create updated installation packages for Trend Officescan on a weekly basis. This seemed a simple case of putting together a command line but I wasn’t having any luck getting it working.
Annoyingly clnpack.exe does not give any error messages at all if the syntax of the commad is not perfect and you get nowhere. In the end I discovered that I could only make clnpack.exe work by using 8.3 file paths instead of long path names.
An example of a working command line:
C:\PROGRA~1\TRENDM~1\OfficeScan\PCCSRV\Admin\Utility\ClientPackager\clnpack.exe /i /o NT /s C:\PROGRA~1\TRENDM~1\OfficeScan\PCCSRV /d d:\shared~1\software\trend32.exe
You can see 8.3 format filenames by going into a command prompt and using:
dir /x
Now that I have this command working I can integrate it with a batch file which will upload it to our web server.