title: Calling ClickOnce App From Task Scheduler
body: <p>I have a windows application that I deployed to a file share via ClickOnce (VS 2012).  It's configured as an online application (not installed on the client).  I can run this application via the client by just pointing to the file share and double-clicking the file.  What I'm having a problem doing is running this as a scheduled task on the client (client is actually a server, Windows Server 2008).  If however, I create a batch file that calls the ClickOnce app, task scheduler can successfully call the batch file.  But I'd rather not have to deal with the extra step of creating that batch file.  </p>
  
  <p>The error I get from Task Scheduler is this:
  Task Scheduler failed to launch action "\pathToClickOnceApp" in instance "{d5cc956f-c09e-41dc-a04d-a4276f38704e}" of task "\TaskName". Additional Data: Error Value: 2147942403.</p>