INSTALL REPLACE — VMS 5.1-B
The image's entry on the known file list becomes associated with the latest version of the image file. The replace function can be used to assign additional attributes to a known image or remove attributes. To do so, use the CREATE command qualifiers or their negation. Format: REPLACE [file-spec] /qualifier
Additional information available:
Examples
CREATE INSTALL/PRIV=(CMKRNL, SYSGBL, PRMGBL)/NOPURGE
Installs SYS$SYSTEM:INSTALL.EXE with privileges and
specifies that it cannot be purged.
REPLACE INSTALL/PURGE/ACCOUNTING
Replaces the entry for SYS$SYSTEM:INSTALL.EXE and
leaves it installed with privilege, removes the
NOPURGE attribute, and adds the ACCOUNTING attribute.
Qualifiers
Additional information available:
/ACCOUNTING/NOACCOUNTING/EXECUTE_ONLY/NOEXECUTE_ONLY
/HEADER_RES/NOHEADER_RES/LOG/NOPURGE/PURGE
/OPEN/NOOPEN/PRIVILEGED/NOPRIVILEGED/PROTECTED
/NOPROTECTED/SHARED/NOSHARED/WRITEABLE
/NOWRITEABLE
/ACCOUNTING
Activate image level accounting for the installed image.
/NOACCOUNTING
Remove the ACCOUNTING attribute.
/EXECUTE_ONLY
Install a known image with execution-only access permitted.
/NOEXECUTE_ONLY
Remove the execution-only protection attribute from a known image.
/HEADER_RES
Install a known image with a permanently resident header. The image will be made permanently open even if /OPEN is not specified.
/NOHEADER_RES
Remove the HEADER_RES attribute.
/LOG
List the replaced known file entry along with any global sections for the entry.
/NOPURGE
Specifies that this entry will not be deleted by a PURGE command.
/PURGE
Remove the NOPURGE attribute.
/OPEN
Install a permanently open known image.
/NOOPEN
Remove the OPEN attribute.
/PRIVILEGED
Add the PRIV attribute (executable images only). The image will be made permanently open even if /OPEN is not specified, if it does not reside on the system device.
/NOPRIVILEGED
Remove the PRIV attribute.
/PROTECTED
Install a known image with protected code.
/NOPROTECTED
Remove the PROTECTED attribute.
/SHARED
Install a shareable known image. Causes creation of global sections for the image. The image is made permanently open even if /OPEN is not specified.
/NOSHARED
Remove the SHARED attribute.
/WRITEABLE
Install a writeable known image. This qualifier is ignored if not accompanied by /SHARED.
/NOWRITEABLE
Remove the WRITEABLE attribute.