2014-09-30 8 views

답변

1

.wsx 파일을 컴파일, 당신은 처리기 지시문을 사용할 수 있습니다

<?error This is an error message ?> 
<?warning This is a warning message ?> 

윅스

은 Windows Installer 패키지, 데이터베이스입니다 구축합니다. Windows Installer는 일련의 작업을 통해 데이터베이스를 처리합니다. Windows Installer의 로깅을 확장 할 수있는 기능은 없습니다.

는 MSI 당신이 로그를 msiexec /?를 만들 수 있습니다 파일을 설치하는 경우 :

Logging Options 
/l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile> 
    i - Status messages 
    w - Nonfatal warnings 
    e - All error messages 
    a - Start up of actions 
    r - Action-specific records 
    u - User requests 
    c - Initial UI parameters 
    m - Out-of-memory or fatal exit information 
    o - Out-of-disk-space messages 
    p - Terminal properties 
    v - Verbose output 
    x - Extra debugging information 
    + - Append to existing log file 
    ! - Flush each line to the log 
    * - Log all information, except for v and x options 
/log <LogFile> 
    Equivalent of /l* <LogFile> 

사용자 정의 작업은 로그에 기록 할 수 있습니다. 그러나 사용자 지정 작업은 .wsx 파일로 작성되지 않습니다.