Problem with an exe Execution failed with code: 5

Topics: Archive - General
Jun 11, 2014 at 5:50 PM
Has anyone seen this using the toolkit? This is an exe that when run by itself or even thru sccm works just fine. However if I put it in the PS script it appears to do nothing and the only thing in the log is this " Execution failed with code: 5 " I am not sure if this is a time-out issue or what is going on but the file is clearly not executing on the system using the tool...

Here is the command in the script I am using:

Show-InstallationProgress "Oracle"
      $output = Execute-Process -FilePath "$dirFiles\Oracle\Oracle_10_2_0_1_0_R3NQ_DE.exe" 
Jun 12, 2014 at 5:38 PM
Can you retry with the following line instead:
Execute-Process -FilePath "$dirFiles\Oracle\Oracle_10_2_0_1_0_R3NQ_DE.exe" 
Jun 12, 2014 at 6:22 PM
Edited Jun 16, 2014 at 2:29 PM
Execute-Process -FilePath "$dirFiles\Oracle\Oracle_10_2_0_1_0_R3NQ_DE.exe"
Thanks that is not doing anything either. I failed to mention that this works just fine on windows 7 64bit...just not there a possibly I need to run a 32 bit shell option during deployment for this perhaps?..