title: Creating a ClickOnce deployment for an existing application
body: <p>I have an application which I would like to deploy using <a href="http://en.wikipedia.org/wiki/ClickOnce" rel="nofollow">ClickOnce</a>. I've tried using <code>mage.exe</code> and <code>ClickOnceMore</code> and can't get it to work. I don't understand the instructions for <code>Mage</code>, and with <code>ClickOnceMore</code> I get an <code>MSB3171 error</code>: </p>
  
  <pre><code>problem generating manifest. Could not load file or assembly
  'u:\users\...\local\temp\CmDepBuildDir\[application].exe'
  or one of its dependencies. An attempt was made to load a
  program with an incorrect format.
  </code></pre>
  
  <p>We have been using this application for a long time, but we need a new method to deploy it to users. It isn't a <a href="http://en.wikipedia.org/wiki/.NET_Framework" rel="nofollow">.NET</a> application; the base program is <a href="http://en.wikipedia.org/wiki/PowerBuilder" rel="nofollow">PowerBuilder</a>. It has an <code>.exe</code> file, some <code>.pbd</code> files and a few <code>.dlls</code> which make up the program. Is it possible to create a ClickOnce deployment for this type of application?</p>