title: Launch ClickOnce application via web url doesn't work in windows 8
body: <p>We have an application suite, which launches sub application via a launcher. the launcher calls the other apps via their ClickOnce Url with query strings.  the way we do this is via below code:</p>
  
  <pre><code> WebBrowser webBrowser1 = new WebBrowser();
   webBrowser1.Navigate(url);
  </code></pre>
  
  <p>and we consume the query string in the client application with below code:</p>
  
  <pre><code> string url = AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData[0];
              if (!isNetworkDeployed)
              {
                  return false;
              }
              string queryString = (new Uri(url)).Query;
  </code></pre>
  
  <p>and it seems the queryString always is empty in windows 8.</p>
  
  <p>and then according to MSDN i did the following changes to get the querystring:</p>
  
  <pre><code>        private NameValueCollection GetQueryStringParameters()
      {
          NameValueCollection nameValueTable = new NameValueCollection();
  
          if (ApplicationDeployment.IsNetworkDeployed)
          {
              string queryString = ApplicationDeployment.CurrentDeployment.ActivationUri.Query;
          }
          return (nameValueTable);
      }
  </code></pre>
  
  <p>and this seems to be working when i call the application via the browser (internet explorer). but the same url when called via web browser control it gives clickonce errors.</p>
  
  <p>Any ideas on this?</p>
  
  <p>Thanks,
  Aneef</p>