<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Windows Installer MSI &amp; Clickonce Deployment support</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/gauravb/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/gauravb/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:23:15 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Web setup Package: fails while executing WEBCA_EvaluateURLsNoFail custom action</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/web-setup-package-fails-while-executing-webca_evaluateurlsnofail-custom-action</link>
      <pubDate>Wed, 04 Mar 2009 13:24:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/03/04/web-setup-package-fails-while-executing-webca_evaluateurlsnofail-custom-action/</guid>
      <description><![CDATA[MSI (c) (88:E4) [10:56:51:444]: Note: 1: 2769 2: WEBCA_EvaluateURLsNoFail 3: 1 
MSI (c) (88:E4)...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>MSI (c) (88:E4) [10:56:51:444]: Note: 1: 2769 2: WEBCA_EvaluateURLsNoFail 3: 1 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>MSI (c) (88:E4) [10:56:51:444]: Note: 1: 2262 2: Error 3: -2147287038 <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>DEBUG: Error 2769: Custom Action WEBCA_EvaluateURLsNoFail did not close 1 MSIHANDLEs.<o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2769. The arguments are: WEBCA_EvaluateURLsNoFail, 1, <o:p></o:p></FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri>Action ended 10:56:51: WEBCA_EvaluateURLsNoFail. Return value 3.</FONT></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri></FONT></FONT></SPAN>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3><FONT face=Calibri></FONT></FONT></SPAN>&nbsp;</P><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=+0><FONT face=Calibri><o:p>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>Workaround:<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>===========<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>1) Install the <A class="" title="IIS 6 Resource Kit" href="https://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;displaylang=en" target=_blank mce_href="https://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;displaylang=en ">IIS 6.0 Resource Kit</A></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>2) Run the "Metabase explorer" (after installing the above, it will be&nbsp;under&nbsp;start menu -&gt; IIS Resources -&gt; Metabase explorer)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>3) In the metabase explorer program, browse to the following metabase path: "/LM/W3SVC/"<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>4)Most commonly you'll see things like "APPPOOLS", "FILTERS", "INFO", and "1" (1 is the default website)<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>5) If you click on any particular folder under "W3SVC", it will show a list of properties to the right - verify that each folder contains a property with an ID of "1002" and a name of "KeyType". The value of "KeyType" doesn't matter for this issue; it just matters that the property exists, and just in case, make sure it isn't blank.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="COLOR: #1f497d; mso-bidi-font-family: 'Times New Roman'; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-themecolor: dark2"><FONT size=3>6) If you find one of the folders is missing this property, you can add it by right-clicking in the properties area (on the right) while the folder is selected, and choosing "New -&gt; String Record". Now in the window that appears, where it says "Record Name or Identifier", type or select "KeyType" (case sensitive). Click "OK" to create the property with a blank value. Now double-click on the property in the properties window, and set its value to the string "Test", so that it isn't blank.<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"></o:p></FONT></FONT></SPAN>&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>ClickOnce Application Store and Issues</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-application-store-and-issues</link>
      <pubDate>Fri, 20 Feb 2009 14:18:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/02/20/clickonce-application-store-and-issues/</guid>
      <description><![CDATA[ClickOnce Application generally gets loaded under C:\Users\&lt;Username&gt;\AppData\Local\Apps\2.0...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>ClickOnce Application generally gets loaded under C:\Users\&lt;Username&gt;\AppData\Local\Apps\2.0 on Vista and <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>C:\Documents and Settings\&lt;Username&gt;\Local Settings\Apps\2.0 on Windows XP and 2003<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>To clear Clickonce application we could Clear this Folder or can use <STRONG>Mage -cc</STRONG>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3></FONT></o:p>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>Store would generally have two Folder created one for Application information and other is for Data<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>The application Folder would create Random Folder name for two level and create Application folder under it with Version id<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><STRONG>ClickOnce Application Target Location or storage structure could not be controlled outside</STRONG>. So Target customization is limitation in ClickOnce.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>This is For a Security reson, so that ClickOnce&nbsp;remains in Lock Down environment per user base.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3></FONT></o:p>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>Some ClickOnce Store issues <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>1) <U>Pass <SPAN style="COLOR: red">COM libraries with ClickOnce</SPAN> .Net application</U><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Reg-Free-COM to pass COM libraries <BR></FONT></FONT><A href="https://msdn.microsoft.com/en-us/magazine/cc188708.aspx" mce_href="https://msdn.microsoft.com/en-us/magazine/cc188708.aspx"><FONT face=Calibri color=#0000ff size=3>https://msdn.microsoft.com/en-us/magazine/cc188708.aspx</FONT></A><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><BR><FONT face=Calibri size=3>Instructions on creating manifest using Mage<BR></FONT><A href="https://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx" mce_href="https://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx"><FONT face=Calibri color=#0000ff size=3>https://msdn.microsoft.com/en-us/library/xc3tc5xx.aspx</FONT></A><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><BR><FONT size=3><FONT face=Calibri>However Visual studio doesn’t allow external Manifest during Deployment. Because it generates and stores the information automatically<BR>So external manifest would be overwritten<BR style="mso-special-character: line-break"><BR style="mso-special-character: line-break"><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>To Build ClickOnce with command-line<BR></FONT><A href="https://msdn.microsoft.com/en-us/library/ms165431(VS.80).aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms165431(VS.80).aspx"><FONT face=Calibri color=#0000ff size=3>https://msdn.microsoft.com/en-us/library/ms165431(VS.80).aspx</FONT></A><o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><BR><FONT face=Calibri size=3>*However the easy way to transfer Prerequisite and control them is </FONT><A href="https://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1567" mce_href="https://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1567"><FONT face=Calibri color=#0000ff size=3>BMG tool</FONT></A><FONT size=3><FONT face=Calibri>. <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>2)</FONT><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri><U>ClickOnce Application created on .Net Framework 2.0 SP1 and The application is configured to allow URL parameters to be passed to the application. You pass different values to the URL parameters when you try to start the application Gives Error "<SPAN style="COLOR: red">You cannot start application &lt;App_Name&gt; from this location</SPAN>"</U> <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>-To know more about </FONT><A href="https://msdn.microsoft.com/en-us/library/ms172242(VS.80).aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms172242(VS.80).aspx"><FONT face=Calibri color=#0000ff size=3>Query Parameter</FONT></A><FONT face=Calibri size=3> . This issue is Bug and can be fixed with </FONT><A href="https://code.msdn.microsoft.com/KB952677" mce_href="https://code.msdn.microsoft.com/KB952677"><FONT face=Calibri color=#0000ff size=3>Hotfix</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>3) <U>XML Serialization assemblies are not published via ClickOnce after installing VS2008 SP1<o:p></o:p></U></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>- To Workaround Please add this to SGen Task<BR>&lt;SGen <BR>BuildAssemblyName="$(TargetFileName)" <BR>BuildAssemblyPath="$(IntermediateOutputPath)" <BR>References="@(ReferencePath)" <BR>ShouldGenerateSerializer="$(SGenShouldGenerateSerializer)" <BR>UseProxyTypes="$(SGenUseProxyTypes)" <BR>KeyContainer="$(KeyContainerName)" <BR>KeyFile="$(KeyOriginatorFile)" <BR>DelaySign="$(DelaySign)" <BR>ToolPath="$(SGenToolPath)" <BR>SerializationAssembly="$(IntermediateOutputPath)$(_SGenDllName)” <BR>&gt;<BR>If the serialization assembly already exists then Sgen does not create a new output populating the Serialization Assembly property and there is nothing to copy. <BR>With this change the SerilizationAssembly is set by default so even if it does not create a new assembly the value is present to be added over to the dependency list and picked up by the Copy tasks<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>4) ClickOnce Application Created in visual studio 2008 which targets Framework 2.0, target machine will need framework 3.0 installed <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>Otherwise ClickOnce will give Error “<U>Unable to install or run the application this Application requires that Windows Base 3.0.0 installed in GAC”</U><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>- ClickOnce Created Under VS2008 needs framework 3.0, So even if Build or Project targeted to Framework 2.0 will need framework 3.0 as prerequisite on Target machine.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>For Prerequisite to be Count Use Setup.exe to install ClickOnce Application in place of .application file <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>]]></content:encoded>
    </item>
    <item>
      <title>ClickOnce Application Launch Issues</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-application-launch-issues</link>
      <pubDate>Thu, 19 Feb 2009 19:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/02/19/clickonce-application-launch-issues/</guid>
      <description><![CDATA[1)An Error occurred during writing to the disk. Please check that disk is not full
&nbsp;
-On...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>1)<U>An Error occurred during writing to the disk. Please check that disk is not full<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></U></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-<SPAN style="mso-bidi-font-family: Arial">On Vista machine </SPAN>C:\Document and settings\&lt;User&gt;\Local settings\Apps this folder dint have Administrators under Security.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><B style="mso-bidi-font-weight: normal">Most probably User Profile issue. create New user profile to resolve the issue</B>.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>2)</FONT></FONT><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri>IE doesn’t recognize MIME (.application) for ClickOnce<BR><U>Message : .application “Unknown MIME Type” , You want to save the file or Cancel<o:p></o:p></U></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-<B style="mso-bidi-font-weight: normal">Provide Registry permission through </B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN style="mso-ansi-language: EN">SubInACL tool to <A href="https://blogs.msdn.com/gauravb/archive/2008/10/31/clickonce-application-fails-to-publish-with-empty-error-message.aspx">overcome IE issue</A><o:p></o:p></SPAN></B></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="mso-ansi-language: EN"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="mso-ansi-language: EN"><FONT face=Calibri size=3>3)</FONT></SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri>Office assemblies to integrate to Outlook fails during Deployment With ClickOnce <BR><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><U>Strong name signature not valid for this assembly stdole.dll<o:p></o:p></U></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-<B style="mso-bidi-font-weight: normal">Office assemblies should not be distributed randomly. Either PIA should be installed on target machine or added as prerequisite to ClickOnce Project<o:p></o:p></B></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>4) ClickOnce Launch second time gives Error <o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><U><FONT size=3><FONT face=Calibri>The remote server returned an error: (401) Unauthorized on ClickOnce application <o:p></o:p></FONT></FONT></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>-</FONT><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri>Application was getting Launched from Shortcut - shortcut was available at <BR>C:\Documents and Settings\USER.HM\Application Data\Microsoft\Internet Explorer\Quick Launch\ Track-It! 8 Technician Client (2).appref-ms<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-<B style="mso-bidi-font-weight: normal">Add-on for IE was not allowing Launch from shortcut. Create fresh shortcut from Application Exe (located inside ClickOnce Cache) would resolve the issue <o:p></o:p></B></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>5)</FONT><U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri>ClickOnce application doesn’t launch on client machine (No Error)<o:p></o:p></FONT></FONT></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-<B style="mso-bidi-font-weight: normal"> Proventia Desktop and Kingston Mouse Driver would not allow Clickonce to run on the machine. There are other <A href="https://blogs.msdn.com/gauravb/archive/2008/10/31/clickonce-application-fails-to-publish-with-empty-error-message.aspx">known Application</A> as well.<o:p></o:p></B></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><U><FONT size=3><FONT face=Calibri>6)Client cannot launch the application, Error : Store metadata "AppType" is not valid<o:p></o:p></FONT></FONT></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><I style="mso-bidi-font-style: normal"><FONT face=Calibri size=3>-</FONT></I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><FONT size=3><FONT face=Calibri>Issue is as follows:<BR>DFSVC.exe (ClickOnce service) makes a call into System.Deployment.Application.ComponentStore.GetPropertyAppType<BR><BR>which then calls System.UInt16.Parse <BR>appTypeStr in this case is "0" which is a valid string for the number 0. However, we're getting the following exception:<BR><BR>System.FormatException<BR><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Input string was not in a correct format<o:p></o:p></FONT></FONT></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B style="mso-bidi-font-weight: normal"><FONT face=Calibri size=3>This is Known issue and Working Fix is available at </FONT><A href="https://support.microsoft.com/kb/942460"><FONT face=Calibri color=#0000ff size=3>KB 942460</FONT></A><FONT size=3><FONT face=Calibri> <o:p></o:p></FONT></FONT></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p><FONT face=Calibri size=3>&nbsp;</FONT></o:p></P>]]></content:encoded>
    </item>
    <item>
      <title>ClickOnce Application Launch Issues</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-application-launch-issues-2</link>
      <pubDate>Thu, 19 Feb 2009 19:17:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/02/19/clickonce-application-launch-issues-2/</guid>
      <description><![CDATA[1)An Error occurred during writing to the disk. Please check that disk is not full
&nbsp;
-On...]]></description>
      <content:encoded><![CDATA[<FONT size=3><FONT face=Calibri>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">1)<U><SPAN style="COLOR: red">An Error occurred during writing to the disk. Please check that disk is not full</SPAN><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<SPAN style="mso-bidi-font-family: Arial">On Vista machine </SPAN>C:\Document and settings\&lt;User&gt;\Local settings\Apps this folder dint have Administrators under Security.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B style="mso-bidi-font-weight: normal">Most probably User Profile issue. create New user profile to resolve the issue</B>.<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>2)<SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN>IE doesn’t recognize MIME (.application) for ClickOnce<BR><U><SPAN style="COLOR: red">Message : .application “Unknown MIME Type” , You want to save the file or Cancel</SPAN><o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<B style="mso-bidi-font-weight: normal">Provide Registry permission through </B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN style="mso-ansi-language: EN">SubInACL tool to <A href="https://blogs.msdn.com/gauravb/archive/2008/10/31/clickonce-application-fails-to-publish-with-empty-error-message.aspx">overcome IE issue</A><o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="mso-ansi-language: EN"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN lang=EN style="mso-ansi-language: EN">3)</SPAN><SPAN lang=EN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN>Office assemblies to integrate to Outlook fails during Deployment With ClickOnce <BR><SPAN style="mso-spacerun: yes">&nbsp;</SPAN><U><SPAN style="COLOR: red">Strong name signature not valid for this assembly stdole.dll</SPAN><o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<B style="mso-bidi-font-weight: normal">Office assemblies should not be distributed randomly. Either PIA should be installed on target machine or added as prerequisite to ClickOnce Project<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">4) ClickOnce Launch second time gives Error <o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><U>The remote server returned an error<SPAN style="COLOR: red">: (401) Unauthorized on ClickOnce application</SPAN> <o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN>Application was getting Launched from Shortcut - shortcut was available at <BR>C:\Documents and Settings\USER.HM\Application Data\Microsoft\Internet Explorer\Quick Launch\ Track-It! 8 Technician Client (2).appref-ms<o:p></o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<B style="mso-bidi-font-weight: normal">Add-on for IE was not allowing Launch from shortcut. Create fresh shortcut from Application Exe (located inside ClickOnce Cache) would resolve the issue <o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">5)<U><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN><SPAN style="COLOR: red">ClickOnce application doesn’t launch on client machine (No Error)</SPAN><o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">-<B style="mso-bidi-font-weight: normal"> Proventia Desktop and Kingston Mouse Driver would not allow Clickonce to run on the machine. There are other <A href="https://blogs.msdn.com/gauravb/archive/2008/10/31/clickonce-application-fails-to-publish-with-empty-error-message.aspx">known Application</A> as well.<o:p></o:p></B></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><U>6)Client cannot launch the application, Error : <SPAN style="COLOR: red">Store metadata "AppType" is not valid</SPAN><o:p></o:p></U></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><I style="mso-bidi-font-style: normal">-</I><I style="mso-bidi-font-style: normal"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Arial"> </SPAN>Issue is as follows:<BR>DFSVC.exe (ClickOnce service) makes a call into System.Deployment.Application.ComponentStore.GetPropertyAppType<BR><BR>which then calls System.UInt16.Parse <BR>appTypeStr in this case is "0" which is a valid string for the number 0. However, we're getting the following exception:<BR><BR>System.FormatException<BR><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>Input string was not in a correct format<o:p></o:p></I></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p>&nbsp;</o:p></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B style="mso-bidi-font-weight: normal">This is Known issue and Working Fix is available at <A href="https://support.microsoft.com/kb/942460"><FONT color=#0000ff>KB 942460</FONT></A> <o:p></o:p></B></P></FONT></FONT>]]></content:encoded>
    </item>
    <item>
      <title>Clickonce: Failed to sign binDebugICE.publish\setup.exe</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-failed-to-sign-bindebugice-publishsetup-exe</link>
      <pubDate>Fri, 23 Jan 2009 14:55:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/01/23/clickonce-failed-to-sign-bindebugice-publishsetup-exe/</guid>
      <description><![CDATA[SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please
copy the latest version...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>SignTool Error: Signtool requires CAPICOM version 2.1.0.1 or higher. Please<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>copy the latest version of CAPICOM.dll into the directory that contains<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>SignTool.exe.</FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Workaround </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>==========</FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>-Copy the DLL to the correct folder </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3>Which would be&nbsp;From %<SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi">Program Files%\Common\Microsoft Shared</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi">to the location where Signtool stored.&nbsp;</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi">For VS2005&nbsp;</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi">%Program&nbsp;files%\Microsoft Visual studio 8\SDK\v2.0\Bin</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face=Calibri size=3><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-theme-font: minor-bidi">For VS2008&nbsp;&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt">%Programfiles%\Microsoft SDKs\Windows\v6.A\Bin\ </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><o:p></o:p>&nbsp;</P></SPAN></FONT>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face=Calibri>-We need to Perform registration as well.</FONT></FONT></P><FONT size=+0><FONT face=Calibri>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3>registered the Dll to register <o:p></o:p></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3>Start | Run | regsvr32 “&lt;Path&gt;\CAPICOM.dll</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3>To register We could also Type regsvr32 and drag the DLL to the run window</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3></FONT>&nbsp;</P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3></FONT></FONT></FONT>&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>Clickonce: Clickonce Deployment through Application virtualization</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-clickonce-deployment-through-application-virtualization</link>
      <pubDate>Fri, 02 Jan 2009 13:49:26 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2009/01/02/clickonce-clickonce-deployment-through-application-virtualization/</guid>
      <description><![CDATA[Clickonce Deployment is by design Created to Deploy&nbsp; in Per-user Environment We could not...]]></description>
      <content:encoded><![CDATA[<p>Clickonce Deployment is by design Created to Deploy&nbsp; in Per-user Environment</p> <p>We could not change the Target path to Clickonce Application. By default Clickonce would only Point to Root Drive\%User Profile%\Local\Apps</p> <p>-Generally through Soft grid or Citrix server virtual Drive would be created and Deployment would be to those virtual Drive.</p> <p>-Clickonce would not completely work on those environment as it wouldn't understand the Virtual drive location and still try to Deploy to the Default Local drive of the machine</p> <p>&nbsp;</p> <p>Workaround</p> <p>----------------</p> <p>-Clear the Clickonce cache through Mage -cc or manually Deleting %userprofile%\Apps Folder</p> <p>-Clickonce on Virtual environment is not the best Practice. Allow click once to Deploy to Local drive and than programmatically try to transfer Content of Clickonce Cache to Virtual Directory </p>]]></content:encoded>
    </item>
    <item>
      <title>Clickonce: Shortcut on Desktop is not available</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-shortcut-on-desktop-is-not-available</link>
      <pubDate>Tue, 23 Dec 2008 17:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2008/12/23/clickonce-shortcut-on-desktop-is-not-available/</guid>
      <description><![CDATA[Windows installer or MSI project had inbuilt .lnk shortcut feature available. 
We could also use...]]></description>
      <content:encoded><![CDATA[<P>Windows installer or MSI project had inbuilt .lnk shortcut feature available. 
<P>We could also use <A href="https://msdn.microsoft.com/en-us/library/fywyxt64(VS.85).aspx" mce_href="https://msdn.microsoft.com/en-us/library/fywyxt64(VS.85).aspx">Shell Shortcut</A> 
<P>ClickOnce could create shortcut in Startup Menu. However Creating Desktop Shortcut is not available feature in ClickOnce 
<P>Please use this program to create desktop shortcut. However this is just copying of Start menu shortcut 
<P>So application must be launched first time and second time desktop shortcut could launch it. 
<P>Generally ClickOnce launches automatically after installation, if it doesn't please check 
<P>Properties | Publish Tab | Option Button | Uncheck "Block application from being activated via a URL" 
<P>To create shortcut here is the C# application 
<P>------------------------------------------------------- 
<P>static void Main(string[] args) 
<P>{ 
<P>Console.WriteLine(Environment.SpecialFolder.Programs); 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try{ 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //if(System.Deployment.Application.ApplicationDeployment.CurrentDeployment.IsFirstRun) 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; copyShortcut("Companyname", " ApplicationName.appref-ms"); 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (System.Deployment.Application.InvalidDeploymentException ex) 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("Please run this application from the shortcut in the Start Menu to get the automatic update&nbsp;&nbsp; feature working." +"\n\n" +"You can create a desktop shortcut from that particular shortcut if you like."); 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch(Exception ex){ 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //other exceptions 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; static void copyShortcut(string manufacturerName, string shortcutFileName ) 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string desktopPath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\" + shortcutFileName; 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string startPath = Environment.GetFolderPath(Environment.SpecialFolder.Programs) + "\\" + manufacturerName + "\\" + shortcutFileName; 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try{ 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.IO.File.Copy(startPath, desktopPath, true); 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch(Exception ex){ 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; throw ex; 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } 
<P>To get the <A href="https://thedatafarm.com/devlifeblog/archive/2006/07/28/42695.aspx" mce_href="https://thedatafarm.com/devlifeblog/archive/2006/07/28/42695.aspx">Same code</A> in vb 
<P>Please consider this as copy of shortcut and not real shortcut. During uninstall of your product, the desktop shortcut would stay back at desktop</P>]]></content:encoded>
    </item>
    <item>
      <title>ClickOnce: application does not install when the deployment path includes ampersands</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-application-does-not-install-when-the-deployment-path-includes-ampersands</link>
      <pubDate>Tue, 02 Dec 2008 14:10:54 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2008/12/02/clickonce-application-does-not-install-when-the-deployment-path-includes-ampersands/</guid>
      <description><![CDATA[&nbsp; After running the publish wizard and running the setup.exe, a message box is shown saying...]]></description>
      <content:encoded><![CDATA[<p>&nbsp; <p>After running the publish wizard and running the setup.exe, a message box is shown saying that the "Application cannot be started. Contact the application vendor".<br>ERROR DETAILS<br>Following errors were detected during this operation.<br>* [13/08/2008 11:07:34] System.ArgumentException<br>- Value does not fall within the expected range.<br>- Source: mscorlib<br>- Stack trace:<br>at System.Deployment.Internal.Isolation.IDefinitionAppId.EnumAppPath()<br>at System.ActivationContext.CreateFromNameAndManifests(ApplicationIdentity applicationIdentity, String[] manifestPaths)<br>at System.Deployment.Application.ActivationDescription.ToActivationContext()<br>at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory&amp; downloadTemp)<br>at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState subState, ActivationDescription actDesc)<br>at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)<br>at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) <p>&nbsp; <p><strong>Workaround</strong> <p>This is Known Issue Currently and Simple workaround is don't use "&amp;" in File path of Clickonce publish location <p>The Issue expected to be Fix in Next version of .Net Framework ]]></content:encoded>
    </item>
    <item>
      <title>Clickonce: Application has COM references Needs to be registered</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonce-application-has-com-references-needs-to-be-registered</link>
      <pubDate>Tue, 02 Dec 2008 14:01:16 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2008/12/02/clickonce-application-has-com-references-needs-to-be-registered/</guid>
      <description><![CDATA[ClickOnce Application is not advanced like MSI. If you have COM references that needs to be register...]]></description>
      <content:encoded><![CDATA[<p>ClickOnce Application is not advanced like MSI. If you have COM references that needs to be register on Client to run the application correctly we have to create Bootstrap manifest generator <p>For any Additional Data or required of third party application would also needs to be added as prerequisite <p>To add prerequisite in Visual studio 2005, we need to create Simple MSI project and create BMG through this tool <p><a href="https://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1569">https://code.msdn.microsoft.com/bmg/Release/ProjectReleases.aspx?ReleaseId=1569</a> <p>The same tool is available for VS2008 and would get updated at above location. However sometime creating Prerequisite through this tool will cause Visual studio Crash <p>Workaround <p>-The failure could be corrected by comparing other prerequisite Product and Package XML and correcting it with Space and other tags. <p>You could also create your Own Prerequisite Manually <p>1. Create Setup Project using Visual studio(Or any other Tool).For Ex I am using MSI name as Reference.msi <p>2.Create Package.xml <p><font color="#8080ff">&lt;?xml version="1.0" encoding="utf-8"?&gt;</font> <p><font color="#8080ff">&lt;Package xmlns="https://schemas.microsoft.com/developer/2004/01/bootstrapper" Name="References" Culture="En"&gt;</font> <p><font color="#8080ff">&lt;PackageFiles CopyAllPackageFiles="false"&gt;</font> <p><font color="#8080ff">&lt;PackageFile Name="References.msi"/&gt;</font> <p><font color="#8080ff">&lt;/PackageFiles&gt;</font> <p><font color="#8080ff">&lt;Commands Reboot="Defer"&gt;</font> <p><font color="#8080ff">&lt;Command PackageFile="References.msi" Arguments=""&gt;</font> <p><font color="#8080ff">&lt;ExitCodes&gt;</font> <p><font color="#8080ff">&lt;DefaultExitCode Result="Success" FormatMessageFromSystem="true"/&gt;</font> <p><font color="#8080ff">&lt;/ExitCodes&gt;</font> <p><font color="#8080ff">&lt;/Command&gt;</font> <p><font color="#8080ff">&lt;/Commands&gt;</font> <p><font color="#8080ff">&lt;/Package&gt;</font> <p>3. Create Product.XML <p><font color="#8080ff">&lt;?xml version="1.0" encoding="utf-8" ?&gt;</font> <p><font color="#8080ff">&lt;Product</font> <p><font color="#8080ff">xmlns="https://schemas.microsoft.com/developer/2004/01/bootstrapper"</font> <p><font color="#8080ff">ProductCode="References"/&gt;</font> <p>4. Create Folder References Under C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages (For X64 machine Copy under (ProgramFiles(X86)) <p>Add Reference.msi, Product.XML under it. Create folder called en and Add Package.XML under this folder <p>NOTE: References is name for Example, Change it according to your prerequisite Application name <p>5. Launch VS 2008 Select project | Properties | Publish | Prerequisite Button <p>You would See references listed under prerequisite List</p>]]></content:encoded>
    </item>
    <item>
      <title>Clickonce:Clickonce Application can be created with Command line</title>
      <link>https://docs.microsoft.com/archive/blogs/gauravb/clickonceclickonce-application-can-be-created-with-command-line</link>
      <pubDate>Tue, 04 Nov 2008 13:26:01 GMT</pubDate>
      <dc:creator><![CDATA[Gauravb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/gauravb/2008/11/04/clickonceclickonce-application-can-be-created-with-command-line/</guid>
      <description><![CDATA[ClickOnce deployment enables you to publish application. Visual Studio provides full support for...]]></description>
      <content:encoded><![CDATA[<p align="left">ClickOnce deployment enables you to publish application. Visual Studio provides full support for publishing and updating applications deployed with ClickOnce technology.  <p>ClickOnce application stores assembly information in <a href="https://msdn.microsoft.com/en-us/library/aa374191(VS.85).aspx">Application manifest</a> and application information inside <a href="https://msdn.microsoft.com/en-us/library/k26e96zf.aspx">Deployment manifest</a>  <p>We could create this by using <a href="https://msdn.microsoft.com/en-us/library/acz3y3te(VS.80).aspx">Mage</a> or <a href="https://msdn.microsoft.com/en-us/library/xhctdw55(VS.80).aspx">MageUI</a> tool  <p>Can we create ClickOnce application without Visual studio ?  <p>If we have <a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=E6E1C3DF-A74F-4207-8586-711EBE331CDC&amp;displaylang=en">windows SDK</a> installed we could use Command line to create ClickOnce application, which is using MSBuild  <p>Known Issue for creating ClickOnce through command line  <p>=============================================  <p><font color="#0000ff">MSB3147: Could not find required file 'setup.bin' in 'C:\&lt;Projectpath&gt;\Engine\Setup.bin</font>  <p>-Please check the Windows SDK C:\Program files\Microsoft SDK\Windows\Vx.x(where x.x=5.0,6.0,6.0A,6.1)\Bootstrapper Folder  <p>If you don't have this folder available, that means you could not create bootstrapper (Setup.exe) from your SDK  <p>To overcome either we could manually Copy Bootstrapper\Engine folder from another machine where SDK has it.  <p>Bootstrapper is nothing but wrapper which calls deployment manifest. We can run our application without that as well  <p>Please check the MSDN For Full information on ClickOnce <a href="https://msdn.microsoft.com/en-us/library/ms165431.aspx">Command line</a> and Properties</p>]]></content:encoded>
    </item>
  </channel>
</rss>