Using MCScript to Update Your Script Files
280
Management Edition
Unique
This flag is for internal use only. It must always be set to Yes.
Unique=Yes
Indexed macro assignment keys
These keys are of the form
Macro
<n>=<MACRO_ASSIGNMENT>,
where
<MACRO_ASSIGNMENT>
specifies
<MACRO_NAME>
=
<MACRO_VALUE>
.
<MACRO_NAME>:
This variable specifies a macro name consisting of
alphanumeric characters.
<MACRO_VALUE>:
This variable specifies characters to substitute for the
macro.
These keys are indexed (repeated in numeric sequence) as
Macro
0,
Macro
1,
Macro
2, and so forth. The macro value can contain the name of another macro
enclosed between (!) exclamation marks. Obviously, a macro definition that is
recursive (i.e., contains its own name in the value) is not a good idea.
Example:
Macro0=INSTALLDIR=!BASEDIR!\WG
Macro1=BASEDIR=!C:!\NTMEAPPS
Macro2=KEY=System\CurrentControlSet\Services\VxD\WinGuard
Indexed installation script keys
These keys are of the form
PreInst
<n>=<SCRIPT_COMMAND>
.
These keys are indexed (repeated in numeric sequence) as
PreInst
0,
PreInst
1,
PreInst
2, and so forth. The script command can contain macro substitutions
enclosed between (!) exclamation marks.
Example:
PreInst10=MKDIR "!INSTALLDIR!"
PreInst20=IF VERSION < 815
PreInst30=COPY /REBOOT "!INSTALLPATH!\WGFE95.EXE"
"!INSTALLDIR!\AFILE.EXE"
PreInst40=IF VERSION < 815
PreInst50=COPY /REBOOT "!INSTALLPATH!\WINGRD95.386"
"!INSTALLDIR!\AFILE.386"
Í
TIP:
For scripts, it‘s generally a good idea for the key indexes to increase
in increments of 10 instead of being contiguous. This makes it easier to
later insert commands into an existing script.
Содержание MANAGEMENT EDITION 2.5
Страница 1: ...Management Edition Administrator s Guide Version 2 5...
Страница 10: ...Table of Contents x Management Edition...
Страница 65: ...Administrator s Guide 65 Creating Anti virus Domains Figure 3 1 Management Edition Install Options Flowchart...
Страница 122: ...Creating Schedules 122 Management Edition...
Страница 244: ...Using Mirror and Linked Repositories 244 Management Edition...