SCCM 2012 - Deploy required application only when user is logged off, but also allow user's to install from app catalog when needed

Hi experts,

I need some assistance.  I feel I may be either staring at something that is not inherently possible, or staring the answer straight in the face but not seeing it.  

I am attempting to set a required deployment for an application, Flash Player in this instance, though the specific application is not relevant.  The required deployment must only be installed when no user is logged on.  However, we also require this same application to be available via the Application Catalog for user's to install when they may choose.  This installation obviously cannot use this "no logged on user" setting as it will cause an immediate failure in the installation.

The application in both cases is to be installed for the system and not the user account.

My question is this, what are the alternative options available for these requirements?

Ideally I would like to have just the one version of the application within SCCM, otherwise my OCD sense will start tingling everytime i look at the application list.  Perhaps having two deployment types but the one that runs when a user is logged on is only available if the installation has been kicked off via the application catalog?  Is there a script for that requirement?

I'm hoping for someone to pitch in with a eureka moment, but any suggestions would be appreciated.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nagendra Pratap SinghDesktop Applications SpecialistCommented:
Creating two applications can solve it easily. Try to take something to suppress OCD.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
deanomacAuthor Commented:
Haha, OCD suppressant spray may help, but we have just spent a long time tidying up SCCM and setting policy on how to do things. It rubs against the grain to have two apps set up for a "single" deployment setup.

I fear that two apps may be my only option, but i was hoping to get a scripting guru who would be able to provide a script to use within the requirements field of the deployment type that will allow it to run only when the app install has been triggered from the application catalog.

There is a field within the application summary that shows the number of "Users with Catalog Installations" but I have as yet been unable to find the field that would allow me to query that information elsewhere.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Applications

From novice to tech pro — start learning today.