
Returnerrorcodes
ThinInstallerreturnserrorcode0forsuccessanderrorcode1foranyofthefollowingconditionsduring
thedeploymentoftheupdates.
•Thespecifiedrepositoryisnotfound.
•TheXMLschemavalidationfailsfortheupdatepackage.
•TheCRCvalidationfailsfortheexecutablefileoftheupdatepackage.
•Theupdatepackageinstallationfails.
•ThinInstalleritselffails.
Example:
@echooff
CMD/CExit0
"%SystemDrive%\ProgramFiles\Thininstaller\Thininstaller.exe"/CM-searchA
-actioninstall-includerebootpackages1,3,4-repository"C:\MyRepository"
–displayprogress–noreboot-noicon
if"%ERRORLEVEL%"=="1"@echo"ErrorLevel1...Fail"
if"%ERRORLEVEL%"=="0"@echo"ErrorLevel0...Successful"
Logs
ThinInstallercreatesthefollowinglogsduringthedeployment:
•%ComputerName%Installation.log
•ApplicabilityRulesTrace.log
•Update_log_YYMMDDHHMMSS.txt
%ComputerName%Installation.log
Thislogiscreatedbydefaultandmaintainsthehistoryofeachupdateinstalledonaclientcomputerina
simpleformat.Thenameofthelogisbasedonthehostnameandhasaformatsimilartothefollowing:
MTM:94626SM
OS:WindowsVista
OSLang:EN
PackageID:PackageDescription:Date:Installationstatus
6hcx41ww:ThinkVantageAccessConnections:8/27/2009Success
6qwc03ww:IntelWirelessWiFiLinkforWindowsXP:8/27/2009Fail
Thestatusforeachupdateisappendedduringsubsequentdeployments.
ForWindowsVistaandWindows7operatingsystems,thelogiscreatedtothefollowingdirectory:
C:\ProgramData\Lenovo\ThinInstaller
ForWindowsXPoperatingsystems,thelogiscreatedtothefollowingdirectory:
C:\DocumentsandSettings\Allusers\ApplicationData\Lenovo\ThinInstaller
ApplicabilityRulesTrace.log
ThislogiscreatedwhentheDebugEnableconfigurableitemintheconfigurationfileissettoYes.Thislog
helpstofindwhyaparticularupdateisnotapplicabletotheclientcomputer.Foreachupdate,thereare
twoentriesinthislog:
Chapter6.WorkingwithThinInstaller61
Kommentare zu diesen Handbüchern