Depending on the program options, ConfigMgr uses the SYSTEM account for installation. Try using psexec -s -i cmd.exe. Then run your command line from that new command window that will be running in the SYSTEM context. Do you get the error there?
Jeff
Not sure if my post was unclear, but check out this: http://blogs.technet.com/b/configurationmgr/archive/2011/10/13/how-to-quickly-and-easily-test-your-configmgr-packages.aspx
If you get the same error using the process I mentioned and that the link above mentions, then it is related to how ConfigMgr is running the command line.
Not sure if my post was unclear, but check out this: http://blogs.technet.com/b/configurationmgr/archive/2011/10/13/how-to-quickly-and-easily-test-your-configmgr-packages.aspx
If you get the same error using the process I mentioned and that the link above mentions, then it is related to how ConfigMgr is running the command line.
Hi Jeff,
That is for 2012. It looks to be a little different.
Yes, the article is for ConfigMgr 2007 but the process for how ConfigMgr installs programs and for troubleshooting are the same in 2012. My point is that you need to use psexec to run the command line so you can determine if it is an issue running in the SYSTEM context.
Jeff
- Edited by Jeff Poling 12 hours 9 minutes ago
whats in the execmgr.log file?
This is on the client Windows\CCM\logs
- Edited by -Richk- 12 hours 6 minutes ago
I assume I can do this from CCMCache.
- Edited by jshoemaker21 12 hours 1 minutes ago
whats in the execmgr.log file?
This is on the client Windows\CCM\logs
Just a 1603 error. The install log for the program just shows it failed with no detail.
To add, if this is an MSI being installed, you can add logging to the command line with /l*v <path to log file>. Then, in the resulting log file, search for Return Value 3. Just before that it should give you the specifics of what failed.
Jeff
A 1603 is an MSI exit code.
So if you are running an exe it has an MSI embedded and it probably extracted to the temp directory.
Grab Pstools and run psexec -i -s cmd.exe
browse to your install dir and run the same command line to install it
before you do that do a whoami and make sure it shows the system account.
http://richardbalsley.com/a-simple-tip-to-test-software-installation-using-the-local-system-account
As Jeff said add logging to the installation and post the log file.
If you search the log for 'Value 3' then just above should be the reason why it fails. 90 % of the time its a custom action.
- Edited by -Richk- 11 hours 52 minutes ago
Yes, the article is for ConfigMgr 2007 but the process for how ConfigMgr installs programs and for troubleshooting are the same in 2012. My point is that you need to use psexec to run the command line so you can determine if it is an issue running in the SYSTEM context.
Jeff
I can't take a snapshot of my machine. I ran it and it ran fine. I used PSexec and don't see how that helped. Now I have a product installed on my machine manually when I wanted SCCM to install it. By using PSExec.exe the product installed... That's not a very
Using PSexec is a troubleshooting/testing step. If you used the -s -i parameters for psexec, then the install happened exactly as it does when ConfigMgr runs the program. The next step is to add the logging to the installation. Rich's description of the process a few minutes ago is very good.
Also, you could post the command line so we can see what you are actually trying to accomplish.
Jeff
Here is another option.
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer] "Logging"="voicewarmup"
Copy the above into a text file. Rename the file extension to .reg.
Run the .reg file on a new machine.
Clear out the contents of Windows\Temp on new machine.
Deploy the application through SCCM to the new machine.
Retrieve the log file created in Windows\Temp on new machine.
- Edited by mdkelley 11 hours 10 minutes ago