Job Management Partner 1/Software Distribution Administrator's Guide Volume 2
The following sections show examples of parameter files coded using reserved words.
JOB_ATTRIBUTE{ job_generator=Distribute \PKGID and other file to departments *The final string is truncated if the length exceeds 32 bytes after replacement *Fails if a defined name is used for the job storage folder job_folder=\Distribute\CMMonth\CDDay\CHHour *Creates a folder within the root folder of this example. *Deletes the newly created hierarchy after execution, if Save (/s) is not specified. } JOB_DESTINATION{ *Specify the destination using either JOB_DESTINATION or JOB_DESTINATION_ID. host_name=host1;host2;host3 host_name=host4;host5;host6 group=\Company\Sales department;\Company\Materials department;\Company\Engineering department group=\Company\Personnel department } PACKAGING_INFORMATION{ * Example of distributing three packages { * You can write packaging information * in a file separate from the file for the other tags. * or you can execute dcmpack first, and specify the output file. package_name=1 package_id=1 version_revision=1 generation=1 cabinet_name=CAB01 cabinet_id=01 package_code=P } { package_name=2 package_id=2 version_revision=2 generation=2 cabinet_name=CAB01 cabinet_id=02 package_code=P } { package_name=3 package_id=3 version_revision=3 generation=3 cabinet_name=CAB01 cabinet_id=03 package_code=P } }
PACKAGING_SOURCE{ file_path= pack1.txt;pack2.txt;pack 3.txt;pack4.txt base_fullpath=C:\dir1 } PACKAGING_INFORMATION { package_name=\FILE\SIZEbytes\CMMonth\CDDay\CHHour\CNMinute package_id=\BASE-\BM\BD\BH\BM version_revision=V0\10:0 generation=G\1 cabinet_name=\PKGID cabinet_id=\CD } INSTALLATION_METHOD{ installation_mode=G } USER_PROGRAM_INSTALLATION_CONDITIONS{ { external_program_executed_before_installation="C:\test B.exe" "-B" bbb exit=R action=C wait=T } { external_program_executed_after_installation=C:\testA.exe -c "a aa" exit=R action=C wait=T } { external_program_error_handler="C:\test E.txt" -c "e e" exit=R wait=Y } timeout=404 } SYSTEM_CONDITIONS{ directory=C:\DestDir condition=H:c>1000 condition=C=PowerPC } OPTION{ compress=Y compress_type=H restore=Y } FILE_PROPERTIES{ permission=N } SCHEDULE{ expiration_date=001231 installation_date_and_time=04020100:50 installation_timing=S }
JOB_ATTRIBUTE{ job_generator=\FILE from \HOST to \ZDIR *Fails if a defined name is used for the job storage folder of the server job_folder=\\GROUP\\CM\\CD\\CH *Creates folders (4 levels) within the root folder of this example *Deletes the newly created folder hierarchy after execution, if Save (/s) is not specified. } JOB_DESTINATION{ host_name=dmp492 * \HOST in JOB_ATTRIBUTE is replaced by "dmp492". host_name=dmp491 group = \Group\grp1 * \GROUP in JOB_ATTRIBUTE is replaced by "Group grp1" group = \Group\grp2;\Group\grp3 } SCHEDULE{ installation_timing = S } OPTION{ compress=Y } USER_PROGRAM_INSTALLATION_CONDITIONS{ *Enclose strings containing spaces within double quotation marks (") external_program_executed_before_installation = "C:\test B.exe" external_program_executed_after_installation = C:\testA.exe -x "a aa" external_program_error_handler = "C:\test E.exe" } FILE_COLLECTION{ source_path= C:\tmp\SDerror.dir * \FILE in JOB_ATTRIBUTE is replaced by "SDerror". source_path= C:\tmp\SDerror2.dir;C:\tmp\SDerror3.dir dmz_path= C:\ * \FILE in JOB_ATTRIBUTE is replaced by "ROOT". }
All Rights Reserved. Copyright (C) 2009, 2013, Hitachi, Ltd.
Copyright, patent, trademark, and other intellectual property rights related to the "TMEng.dll" file are owned exclusively by Trend Micro Incorporated.