Publishing an Electron App to Microsoft Store
Getting an Electron app onto the Microsoft Store is trickier than you'd expect. Here's the complete path I took for Dhiva Pet.
Step 1: Register as a Developer
Sign up for a Microsoft Partner Center developer account (currently free). Verify your identity with a government ID.
Step 2: Build a Signed .exe
Using electron-builder, produce an NSIS installer:
electron-builder --win --x64
Step 3: Why .exe Fails
Microsoft Store policy 10.2.9 requires that all executables be signed with a certificate from the Microsoft Trusted Root Program. A commercial code-signing certificate costs $200–$400/year.
Step 4: The MSIX Shortcut
Microsoft offers a free alternative: repackage your .exe as an MSIX. They sign it for you.
- Install MSIX Packaging Tool from Microsoft Store
- Select "Application packages" → "Create package"
- Point it at your .exe
- Use
/Sas silent install argument - Choose "Do not sign now" — Microsoft will sign it
- Save the resulting .msix
Step 5: Upload the MSIX
In Partner Center, create a new submission of type "MSIX or PWA app" and upload your .msix directly. No URL hosting required. No redirects. Microsoft hosts it and signs it for you.
Step 6: Complete the Listing
- Age ratings (IARC questionnaire)
- Store listing (description, screenshots, logos)
- Pricing
- Privacy policy URL
- Terms of service
Step 7: Wait for Review
Typically 1-3 business days. Once approved, your app is live.
Dhiva Pet is now available at apps.microsoft.com/store/detail/9NJTDXW97T3K.