title: Where did setup install my WinForm application?
body: <p>I recently developed an WinForm application that I wanted to run on my local SQL server using SQL Agent. I published the WinForm app via Visual Studio and copied the files (three listed below) over to my SQL Server where I ran the setup.exe program. </p>
  
  <pre><code>Application Files (directory)
  MyApplicationName.application
  setup.exe
  </code></pre>
  
  <p>My application installed and started up automatically. </p>
  
  <p>Now that I have to schedule the job with SQL Server Agent I cannot find where the application was installed to on the filesystem. I can see the shortcut on the Start menu but it just points to a shortcut. The shortcut does not seem to have any indication as to where the actual application file exists.</p>
  
  <p>I tried to point to the shortcut as the application SQL Agent should start but all I get is "junk text" in the path.</p>
  
  <p><img src="https://i.stack.imgur.com/FrM63.png" alt="SQL Agent - Run Job"></p>