<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>UWP on Remko's Blog</title><link>https://remkoweijnen.nl/blog/categories/uwp/</link><description>Recent content in UWP on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 19 Jan 2018 17:54:49 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/categories/uwp/index.xml" rel="self" type="application/rss+xml"/><item><title>signtool sign returns error 0x800700C1</title><link>https://remkoweijnen.nl/blog/2018/01/19/signtool-sign-returns-error-0x800700c1/</link><pubDate>Fri, 19 Jan 2018 17:54:49 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2018/01/19/signtool-sign-returns-error-0x800700c1/</guid><description>&lt;p&gt;I was trying to sign an .appx package that I created with the Desktop App Converter. However signtool returned the following error: Sign returned error: &lt;code&gt;0x800700C1 For more information, please see http://aka.ms/badexeformat&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image-13.webp" class="glightbox" data-type="image" data-gallery="post-4289"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="Signtool: Sign returned error: 0x800700C1 | For more information, please see http://aka.ms/badexeformat" src="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image_thumb-13.webp" alt="image" width="437" height="82" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sadly signtool doesn&amp;rsquo;t return more detailed information, even when passing the debug switch:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image-14.webp" class="glightbox" data-type="image" data-gallery="post-4289"&gt;&lt;img loading="lazy" decoding="async" style="display: inline;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image_thumb-14.webp" alt="image" width="434" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So what&amp;rsquo;s going on?&lt;/p&gt;</description></item><item><title>How to use a comma in the Publisher field when using the Desktop App Converter</title><link>https://remkoweijnen.nl/blog/2018/01/16/use-comma-publisher-field-using-desktop-app-converter/</link><pubDate>Tue, 16 Jan 2018 14:55:51 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2018/01/16/use-comma-publisher-field-using-desktop-app-converter/</guid><description>&lt;p&gt;&lt;img style="margin: 0px 7px 0px 0px; float: left; display: inline;" src="https://remkoweijnen.nl/blog/wp-content/uploads/recovered/412525dfd12ca086.png" alt="DAC Icon" width="73" height="73" align="left" /&gt;When using the Desktop App Converter there&amp;rsquo;s no need to sign the resulting .appx packages with your own code signing certificate when you submit them to the Store.&lt;/p&gt;
&lt;p&gt;However if you want to test the package on a different machine or distribute it to test users you may want to sign the .appx with a certificate.&lt;/p&gt;
&lt;p&gt;One option is to use the &lt;code&gt;-sign&lt;/code&gt; parameter, in this case the Desktop App Converter generates a code signing certificate and signs the package with it. Although easy to use, it&amp;rsquo;s not very convenient if you want to distribute the .appx as you need to add the certificate to the &lt;code&gt;Trusted People&lt;/code&gt; certificates store (for each user). See &lt;a href="https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter#run-app" target="_blank" rel="noopener"&gt;Run the Packaged App&lt;/a&gt; in the documentation.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image-1.webp" class="glightbox" data-type="image" data-gallery="post-4243"&gt;&lt;img loading="lazy" decoding="async" style="margin: 0px 3px 0px 0px; float: right; display: inline;" title="image" src="https://remkoweijnen.nl/blog/wp-content/uploads/2018/01/image_thumb-1.webp" alt="image" width="95" height="95" align="right" /&gt;&lt;/a&gt;If you want to sign the .appx package with a trusted certificate (e.g. issued by a trusted certificate authority such as &lt;a href="https://www.digicert.com/code-signing/" target="_blank" rel="noopener"&gt;DigiCert&lt;/a&gt;) you need to make sure that you pass the subject (the CN) from your code signing certificate to the Desktop App Converter (using the &lt;code&gt;-Publisher&lt;/code&gt; parameter).&lt;/p&gt;</description></item></channel></rss>