Note that there are some explanatory texts on larger screens.

plurals
  1. POConfiguring a Windows Protocol in a VS2010 Deployment Project
    primarykey
    data
    text
    <p>I have an application that is called in a command line fashion. I wish to associate a protocol with it, let's call that protocol <code>runapp</code>. <code>runapp</code> will call <code>runapp.exe</code>.</p> <p>I plan to have this configured through the Registry portion of the application Deployment Project. I started by looking at other protocols, specifically <code>mailto</code>. I noticed that I need the following:</p> <ul> <li>a new key under <code>HKEY_CLASSES_ROOT</code> called <code>runapp</code></li> <li>a new series of keys to create <code>HKEY_CLASSES_ROOT\runapp\shell\open\command</code></li> <li>under the <code>runapp</code> key, I will add two strings, <code>(Default)</code> with value <code>URL:runapp protocol</code> and a second string <code>URL Protocol</code> and no value</li> <li>also under the <code>command</code> key, I need to add one string, <code>(Default)</code> with value <code>"C:\path\runapp.exe" "%1"</code></li> </ul> <p>I set all these up just fine. When I actually run the installer, though, before my <code>(Default)</code> strings, there is already another valueless <code>(Default)</code> string. So it looks like I am settings a <code>(Default)</code> string in the wrong way. What's the right way?</p> <p>Secondly, I manually hacked this incorrect key in regedit after backing everything up. Now, with my keys looking very much like <code>mailto</code>'s, I finally stop getting the "No program found" error, but my application actually doesn't seem to execute at all.</p> <p>Any thoughts on how to correctly set <code>(Default)</code> strings and further troubleshoot protocol issues? Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload