Are you talking about during Operating System Deployment (OSD) or some other time? IF during OSD, then see Peter's answer. If some other time, you really need to define what your expectations are because app deployment is already dynamic.
Jason | http://blog.configmgrftw.com