if I install sap after OSD, it exit code is 0.
but if I runn during OSD, it exit code is 0x80070081, and then I checked the sap, I found it seem to work fine.
Here is the logs of application installation
Install by SMS CMClient ---succeed
http://1drv.ms/1kzt4LG
Install by OSD ---failed
http://1drv.ms/1kzuoye
-----------------------------
Waiting for job status notification... InstallSoftware
2014/4/11 12:57:55 3864 (0x0F18)
Waiting for job status notification... InstallSoftware
2014/4/11 12:58:25 3864 (0x0F18)
Waiting for job status notification... InstallSoftware
2014/4/11 12:58:55 3864 (0x0F18)
CompleteExecution received InstallSoftware
2014/4/11 12:59:09 3132 (0x0C3C)
CompleteExecution processed InstallSoftware
2014/4/11 12:59:09 3132 (0x0C3C)
Received job completion notification from Execution Manager
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
Installation completed with exit code 0x80070081
InstallSoftware
2014/4/11 12:59:09
3864 (0x0F18)
Installation failed with error (0x80070081)
InstallSoftware
2014/4/11 12:59:09
3864 (0x0F18)
Setting TSEnv variable 'SMSTSInstallSoftwareJobID_00100021_0012000A_SAP'=''
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
GetExecRequestMgrInterface successful InstallSoftware
2014/4/11 12:59:09 3864 (0x0F18)
Releasing job request, jobID='{B8D6032A-D2A4-4C9F-85EB-99E3773589CF}'
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
Releasing of Job Request successful InstallSoftware
2014/4/11 12:59:09 3864 (0x0F18)
CompleteJob successful InstallSoftware
2014/4/11 12:59:09 3864 (0x0F18)
ReleaseSource() for C:\_SMSTaskSequence\Packages\00100021.
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
reference count 1 for the source C:\_SMSTaskSequence\Packages\00100021 before releasing
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
Released the resolved source C:\_SMSTaskSequence\Packages\00100021
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
pInstall->Install(sPackageID, sProgramName), HRESULT=80070081 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,361)
InstallSoftware 2014/4/11 12:59:09
3864 (0x0F18)
Install Software failed, hr=0x80070081
InstallSoftware
2014/4/11 12:59:09
3864 (0x0F18)
Process completed with exit code 2147942529
TSManager 2014/4/11 12:59:09
2068 (0x0814)
!--------------------------------------------------------------------------------------------!
TSManager 2014/4/11 12:59:09
2068 (0x0814)
Failed to run the action: SAP.
The application cannot be run in Win32 mode. (Error: 80070081; Source: Windows)
TSManager 2014/4/11 12:59:09
2068 (0x0814)
MP server http://PRI1.ABC.COM. Ports 80,443. CRL=false.
TSManager 2014/4/11 12:59:09
2068 (0x0814)
Setting authenticator TSManager
2014/4/11 12:59:09 2068 (0x0814)
Set authenticator in transport TSManager
2014/4/11 12:59:09 2068 (0x0814)
Sending StatusMessage TSManager
2014/4/11 12:59:09 2068 (0x0814)
Setting message signatures. TSManager
2014/4/11 12:59:09 2068 (0x0814)
Setting the authenticator. TSManager
2014/4/11 12:59:09 2068 (0x0814)
CLibSMSMessageWinHttpTransport::Send: URL: PRI1.ABC.COM:80 CCM_POST /ccm_system/request
TSManager 2014/4/11 12:59:09
2068 (0x0814)
Request was successful. TSManager
2014/4/11 12:59:10 2068 (0x0814)
Set a global environment variable _SMSTSLastActionRetCode=-2147024767
TSManager 2014/4/11 12:59:10
2068 (0x0814)
Set a global environment variable _SMSTSLastActionSucceeded=false
TSManager 2014/4/11 12:59:10
2068 (0x0814)
Clear local default environment TSManager
2014/4/11 12:59:10 2068 (0x0814)
- Edited by Unknown32 Friday, April 11, 2014 8:53 AM