5

Help build the Electron application for Window Stor.

I compiled a simple application for electron. I try according to instructions from the official site.

I run the command: electron-windows-store --input-directory C:\Brain ++ --output-directory C:\output\Brain ++ --flatten true --package-version 1.0.0.0 --package-name Brain ++

When assembling it asks the following questions:

? Did you download and install the Desktop App Converter? - I answer yes

? You need to install a development certificate in order to run your app. Would you like us to create one? - I answer yes

? Please enter the path to your Desktop App Converter (DesktopAppConverter.ps1): -how should I specify the path? I have Desktop App Converter installed as a store application.

? You need to install a development certificate in order to run your app. Would you like us to create one? - I answer yes

? Please enter your publisher identity: - What can I specify here?

? Please enter the location of your Windows Kit's bin folder: - what here to specify?

Give a detailed instruction or how to respond correctly.

1 Answer 1

4

Please enter your publisher identity: - What can I specify here?

You need to enter a publisher name. For example: "CN=developmentca"

Please enter the location of your Windows Kit's bin folder: - what here to specify?

It's the Path of the Windows Kit bin folder. It dependents on where you install it. For example like this: "C:\Program Files (x86)\Windows Kits\10\bin\x64"

The first time you run this tool, it needs to know some settings. It will ask you only once and store your answers in your profile folder in a .electron-windows-store file. You can also provide these values as a parameter when running the CLI.

{
  "publisher": "CN=developmentca",
  "windowsKit": "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64",
  "devCert": "C:\\Tools\\DesktopConverter\\Certs\\devcert.pfx",
  "desktopConverter": "C:\\Tools\\DesktopConverter",
  "expandedBaseImage": 
  "C:\\ProgramData\\Microsoft\\Windows\\Images\\BaseImage-14316\\"
}

Please read Electron Apps in the Windows Store on github for more details.

4
  • 2
    Where can I get expandedBaseImage?
    – VINET
    Sep 22, 2017 at 8:44
  • 1
    @VINET You could download the appropriate Desktop app Converter base image by your OS build version.
    – Xie Steven
    Sep 22, 2017 at 9:32
  • After install your "Windows Desktop App Converter Base Image" you can found it this way: Open Powershell > Get-AppxPackage
    – vrbsm
    Sep 14, 2018 at 17:28
  • Sorry to up the post after so long, but how do you get that devcert.pfx ?
    – baldash
    Oct 16, 2019 at 9:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.