Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

Application Deployment failures

$
0
0

I am asking for some help.  I seem to be missing something but can't find what it is.

I am trying to make some very simple applications or packages.  I have been concentrating on applications but having only limited success.

This is using Windows 2012R2 SCCM on mostly Windows 7 Enterprise 64 bit clients.  The applications are very simple at this point.  Batch files work but for some reason I can't just copy the one line batch command into the application and get it to work.  It always returns with "failed" and I can't find the application in any of the log files on the client or server that give any indication what is failing.  Right now I am just calling the batch file and it fails...after it downloads from the distribution point and installs.  In this case it is actually uninstalling a previous product and the next application will be the installer for the upgraded version so they will be chained but first I have to get them working and I am not seeing a connection.  The applications and package are so simple there should be no issue with working.  When I tried to copy the one line batch command into the command string it fails after downloading from the dp.  The batch command is:

"%~dp0setup.exe" -s -f1"%~dp0unsetup.iss" -f2"%Temp%\Removal.log"

The command works if run from the run box on the client or when the batch file is called from the public share but fails when called via sccm.  The application is given system rights.  The application is available (at this point) and is present for device collections as well as some user collections.  The application is downloaded from the dp and run locally on the client. 

My coworkers seem to have the same issue as they all just call batch files but that does not help me with more complicated applications if we can't even get a simple one line command to actually work.  I have done a lot of looking online for a step by step but I have not seen anything that I have not done.

Thank you for your time and help.


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>