Environment Variables
The following topics details environment variables used by lAppDeploy scripts.
- APP_STORE_DIR
Contain the path for installation package and the applist files.
Since lappdeploy script may be use from removable media (e.g. DVD, USB Stick). It is recommended to use a relative path (e.g.
..appstore) rather than an absolute one.Default value:
..\appstore
- APPLIST_TO_INSTALL
Contain the full pathname of the _appfilter output file. This file matches a subset of applist syntax by containing only appName, appVersion, appPackage, and appArgs columns.
Default value: none
- ARCHIVE_LOGFILE
Contain the full path name of the persistent log file. All messages for the current update transaction are write in this file.
Default value:
%SystemRoot%\lappdeploy.log
- FROM_MAIL_ADDR
Contain the mail address of the mail sender (typically machine mail address)
Default value: none
- LOGLEVEL
Specify the maximum level of log entries written in log files (see
UPDATE_LOGFILEandWARNING_LOGFILE).The value is one of:
ERRORonly the Error entries are logged
WARNINGonly the Error or Warning entries are logged
INFOonly the Error, Warning or Informational entries are logged
DEBUGall entries are logged
Default value:
INFO
- LOGMAIL
Specify if a mail containing the current lappdeploy log messages will be sent (see _log2mail script).
The value is one of:
0No mail is sent
1A mail with the content of the log files is sent to
TO_MAIL_ADDRDefault value:
0
- SILENT
Specify the scripts logging mode.
The value is one of:
0Messages are written in a log file and on the standard output
1Messages are only written in the log file specified by
ARCHIVE_LOGFILEDefault value:
1
- SMTP_SERVER
Contain the fully qualified name of the SMTP server to use
Default value: none
- SMTP_SERVER_PORT
Contain the SMTP server’s port number to use
Default value:
25
- SUMMARY_LOGFILE
Contain the full path name of the current summary log file. All summary messages for the current update transaction are write in this file.
Default value:
%TEMP%\appdeploy_summary_today.log
- TO_MAIL_ADDR
Contain the mail address of the mail recipient (typically a system administrator)
Default value: none
- UPDATE_LOGFILE
Contain the full path name of the current log file. All log entries for the current update transaction are write in this file.
Default value:
%TEMP%\appdeploy_today.log
- WARNING_LOGFILE
Contain the full path name of the current warning log file. All warning messages for the current update transaction are write in this file.
Default value:
%TEMP%\appdeploy_warn_today.log