I am trying to deploy Cisco IronPort Email Encryption to a 64bit machine via SCCM 2012 Application Deployment. The same app deploys just fine to 32bit machines. The only difference between the two deployments
is that the .iss file for the 32bit version tells it to install to c:\program files and the "64bit" iss file tells the app to install to c:\program files (x86).
When I look in the appenforce log i see that on the 32bit machine the command line is being executed with the system context while the 64bit machine executes in the user context. Both deployments are exactly the same.
x64
App enforcement environment: Context: Machine Command line: CiscoEmailSecurity-7-2-0-039.exe /s Allow user interaction: No UI mode: 0 User token: null Session Id: 1 Content path: C:\WINDOWS\ccmcache\1 Working directory: AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Prepared working directory: C:\WINDOWS\ccmcache\1 AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Prepared command line: "C:\WINDOWS\ccmcache\1\CiscoEmailSecurity-7-2-0-039.exe" /s AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Executing Command line: "C:\WINDOWS\ccmcache\1\CiscoEmailSecurity-7-2-0-039.exe" /s with user context AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Working directory C:\WINDOWS\ccmcache\1 AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Post install behavior is NoAction AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Waiting for process 2168 to finish. Timeout = 120 minutes. AppEnforce 10/2/2014 3:04:34 PM 4076 (0x0FEC) Process 2168 terminated with exitcode: 4294967295 AppEnforce 10/2/2014 3:05:25 PM 4076 (0x0FEC) Looking for exit code -1 in exit codes table... AppEnforce 10/2/2014 3:05:25 PM 4076 (0x0FEC) Unmatched exit code (4294967295) is considered an execution failure. AppEnforce 10/2/2014 3:05:25 PM 4076 (0x0FEC)++++++ App enforcement completed (50 seconds) for App DT "IronPort Installer" [ScopeId_91AA6351-306E-4FD7-8930-CAAA74F10CEE/DeploymentType_b97f1d52-c72e-4bf2-af81-5a960502f66d], Revision: 9, User SID: ] ++++++ AppEnforce 10/2/2014 3:05:25 PM 4076 (0x0FEC)
x86
App enforcement environment: Context: Machine Command line: CiscoEmailSecurity-7-2-0-039.exe /s Allow user interaction: No UI mode: 0 User token: null Session Id: 4294967295 Content path: C:\WINDOWS\ccmcache\9 Working directory: AppEnforce 10/2/2014 2:46:47 PM 3072 (0x0C00) Prepared working directory: C:\WINDOWS\ccmcache\9 AppEnforce 10/2/2014 2:46:47 PM 3072 (0x0C00) Prepared command line: "C:\WINDOWS\ccmcache\9\CiscoEmailSecurity-7-2-0-039.exe" /s AppEnforce 10/2/2014 2:46:48 PM 3072 (0x0C00) Executing Command line: "C:\WINDOWS\ccmcache\9\CiscoEmailSecurity-7-2-0-039.exe" /s with system context AppEnforce 10/2/2014 2:46:48 PM 3072 (0x0C00) Working directory C:\WINDOWS\ccmcache\9 AppEnforce 10/2/2014 2:46:48 PM 3072 (0x0C00) Post install behavior is NoAction AppEnforce 10/2/2014 2:46:48 PM 3072 (0x0C00) Waiting for process 3948 to finish. Timeout = 120 minutes. AppEnforce 10/2/2014 2:46:48 PM 3072 (0x0C00) Process 3948 terminated with exitcode: 0 AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00) Looking for exit code 0 in exit codes table... AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00) No action needed after successful enforcement AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00) Performing detection of app deployment type IronPort Installer(ScopeId_91AA6351-306E-4FD7-8930-CAAA74F10CEE/DeploymentType_36de0c1d-aaf0-416f-92e5-0dc0d4e6bc47, revision 3) for system. AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00)+++ Discovered application [AppDT Id: ScopeId_91AA6351-306E-4FD7-8930-CAAA74F10CEE/DeploymentType_36de0c1d-aaf0-416f-92e5-0dc0d4e6bc47, Revision: 3] AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00)++++++ App enforcement completed (48 seconds) for App DT "IronPort Installer" [ScopeId_91AA6351-306E-4FD7-8930-CAAA74F10CEE/DeploymentType_36de0c1d-aaf0-416f-92e5-0dc0d4e6bc47], Revision: 3, User SID: ] ++++++ AppEnforce 10/2/2014 2:47:36 PM 3072 (0x0C00)