I have an application that has, under programs, an install and uninstall exe. I can deploy the application fine, it work as expected. When I assign an uninstall, and remove the install assignment to the collection, the device attempts to run my uninstall string (CustomUninstall.exe) and I get an immediate failure and there isn't much logged on the device. AppEnforce.log has nothing, AppDiscover.log says the uninstall will use contentID_xxxxxxxx but nothing about a failure.
My question is, I assume SCCM is running my command line, but from which directory? Why isn't anything logged? The EXE doesn't live on the device (except in CCMCache).
The way I believe we are going to handle this is to place the exe on the file system in a known location, and use the start in text field to tell sccm where to from the uninstall exe from. But I am interested in what is actually going on here in terms of where is the uninstall exe running from?