comparison deploy/win64/store-notes.txt @ 1744:c6dfd1684316

Notes on Windows Desktop App Converter stuff
author Chris Cannam
date Fri, 08 Sep 2017 15:39:38 +0100
parents
children
comparison
equal deleted inserted replaced
1743:cb56e83cc0b6 1744:c6dfd1684316
1
2 Notes on the Desktop Bridge for Windows Store packaging
3 =======================================================
4
5 * Main page
6
7 https://developer.microsoft.com/en-us/windows/bridges/desktop
8
9 * Introductory tutorial
10
11 https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter
12
13 * Desktop App Converter is the helper application that does the
14 conversion; Desktop Bridge is, apparently, the technology, which can
15 be used without using the Desktop App Converter. Here's a page about
16 doing the conversion manually:
17
18 https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-manual-conversion
19
20 * Note about C++ runtime dependency
21
22 https://support.microsoft.com/en-gb/help/3176696/c-runtime-framework-packages-for-desktop-bridge
23
24 but see also
25
26 https://social.msdn.microsoft.com/Forums/windowsapps/en-US/3f1d9bdd-2fa0-463f-b4f9-02e9bf33ed1a/uwp-desktop-bridge-cant-install-app-even-after-signing-the-certificates-with-signtool?forum=wpdevelop
27
28 "If you submit the app to the store, customers downloading it from the
29 store will automatically also download the framework package.
30
31 "If you want your customers to sideload the app, then yes, they'll
32 first have to install the framework package."
33
34
35 Preparation
36 -----------
37
38 * Set up Desktop App Converter as described in https://docs.microsoft.com/en-us/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter
39 * Install VC140 runtime dependency (for developer installation of package) from link at https://blogs.msdn.microsoft.com/vcblog/2016/07/07/using-visual-c-runtime-in-centennial-project/
40 * Start PowerShell as administrator
41 * cd C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs.Desktop\14.0\Appx\Retail\x64
42 * Run Add-AppxPackage on the one package in that dir
43
44 Invocation
45 ----------
46
47 * Start PowerShell as administrator
48 * Run e.g.: DesktopAppConverter.exe -Installer C:\Users\Chris\Documents\sonic-visualiser\deploy\win64\sonic-visualiser.msi -Destination . -PackageName "SonicVisualiser" -Publisher CN="sonicvisualiser.org" -Version 3.0.3.0 -MakeAppx -Sign -Verify -Verbose
49 * Locate the self-signed certificate file "auto-generated.cer" in Explorer, double-click, Install Certificate, pick Local Machine and the Trusted People store
50 * Double click on SonicVisualiser.appx to install
51
52 Command based on actual Store data:
53
54 DesktopAppConverter.exe -Installer C:\Users\Chris\Documents\sonic-visualiser\deploy\win64\sonic-visualiser-3.0.3-win64.msi -Destination . -PackageName "27750sonicvisualiser.org.SonicVisualiser" -AppId "SonicVisualiser" -AppDisplayName "Sonic Visualiser" -PackageDisplayName "Sonic Visualiser" -Publisher CN="55F5913E-18B3-470B-9056-D601FF241EB2" -PackagePublisherDisplayName "sonicvisualiser.org" -Version 3.0.3.0 -AppFileTypes "'.sv','.svl','.wav'" -MakeAppx -Sign -Verify -Verbose
55
56 NB the last digit (revision) of the version number must be 0 for store
57 submission.
58
59 Can't submit Desktop Bridge apps through just any store account -- it
60 has to be approved first via form at
61 https://developer.microsoft.com/en-us/windows/projects/campaigns/desktop-bridge
62 -- still waiting for this.