I created an exe that when runs check to see if certain processes are running. If they are, a window appears with a message to close certain programs, and when they are closed, to click the Proceed button. The program itself works fine, however I am trying to find a way to make this EXE run prior to installing the application. I initially imported the EXE as a Package, however the main program is an application, and when I go to that deployment type, under dependencies, I cannot select a package.
So my next step was to import the EXE as an application, however it I am getting stuck at the Detection Method, this program I only want to run once, nothing is installed, loaded on the computer or registry, so there is nothing to check against to see if it is installed. I could use a custom script, and just import an empty script, but I'm not sure how that would work, or what issue that may cause. If push comes to shove, I could always have the EXE deposit an empty TXT file to the hard drive and have it check for that. I would prefer to avoid this as I would like to re-use this application in a future push, and that would require re-coding and and recreating the application.
Is there another method that I am missing, or is this type of functionality just not capable in SCCM 2012 R2?