VoltBuilder for Windows

VoltBuilder can create Windows executables, using almost the identical setup as Android and iOS. No changes need to be made to your actual project. The build results in a standard .appx file. It can make both debug and release builds: the release builds are signed.

You may need to review your list of plugins. Check to make sure they have been built for Windows. Any valid Windows plugin will work - no approval process is needed. If a plugin does not have a Windows version, you’ll need to contact the author to see if one can be supplied.

The folder layout for your project is the same. Just drag and drop your zip file onto the Windows box on the Upload form.


Here’s what else may need to be done:


  "release": "debug",

This will use a built-in certificate. If you want to use your own certificate, you need these lines (See “Signing” below on generating certificates.):

  "winPackageCertificateKeyFile": "certificates\\windows_release.pfx",
  "winPackageThumbprint": "F5E4664CC1CED8037C206FB8F626B7382FCD5F87",
  "winPassword": "myPassword",
  "winPublisherId": "CN=VoltBuilder",
  "release": "release"


These lines are optional:

<platform name="windows">
  <preference name="windows-identity-name" value="IdentityName.Planet9"/>
  <preference name="WindowsStorePublisherName" value="Planet 9"/>
  <preference name="WindowsStoreDisplayName" value="Planet 9"/>
  <preference name="windows-appx-target" value="uap"/>
  <preference name="windows-target-version" value="10.0"/>
  <preference name="windows-arch" value="anycpu"/>
  <preference name="WindowsDefaultUriPrefix" value="ms-appx-web://"/>
  <preference name="WindowsToastCapable" value="true"/>
  <splash src="res/screens/windows/splashscreen.scale-100.png" width="620" height="300"/>
  <splash src="res/screens/windows/splashscreen.scale-125.png" width="775" height="375"/>
  <splash src="res/screens/windows/splashscreen.scale-150.png" width="930" height="450"/>
  <splash src="res/screens/windows/splashscreen.scale-200.png" width="1240" height="600"/>
  <splash src="res/screens/windows/splashscreen.scale-400.png" width="2480" height="1200"/>
  <icon src="res/icons/windows/logo.png" width="150" height="150"/>
  <icon src="res/icons/windows/smalllogo.png" width="30" height="30"/>
  <icon src="res/icons/windows/storelogo.png" width="50" height="50"/>
  <icon src="res/icons/windows/Square44x44Logo.scale-100.png" width="44" height="44"/>
  <icon src="res/icons/windows/Square44x44Logo.scale-240.png" width="106" height="106"/>
  <icon src="res/icons/windows/Square70x70Logo.scale-100.png" width="70" height="70"/>
  <icon src="res/icons/windows/Square71x71Logo.scale-100.png" width="71" height="71"/>
  <icon src="res/icons/windows/Square71x71Logo.scale-240.png" width="170" height="170"/>
  <icon src="res/icons/windows/Square150x150Logo.scale-240.png" width="360" height="360"/>
  <icon src="res/icons/windows/Square310x310Logo.scale-100.png" width="310" height="310"/>
  <icon src="res/icons/windows/Wide310x150Logo.scale-100.png" width="310" height="150"/>
  <icon src="res/icons/windows/Wide310x150Logo.scale-240.png" width="744" height="360"/>


Plugins have to be built for Windows - many of the plugins you are used to using on iOS and Android do not exist on Windows.

Cordova has a tool to look up plugins. It’s possible a plugin will work even if it is not on this list.

VoltBuilder for Windows does not check plugins against a green list - all are automatically approved.


For debug builds, no certificate is needed.

For release, you will need a certificate. You’ll also need to add the information about it to voltbuilder.json.

Here’s how to make a certificate: (Note that the instructions on the Cordova site are obsolete)

Using PowerShell, enter the following:

New-SelfSignedCertificate -Type Custom -Subject "CN=VoltBuilder" -KeyUsage DigitalSignature -FriendlyName "VoltBuilder" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("{text}", "{text}")

Output will be something like this:

  PSParentPath: Microsoft.PowerShell.Security\Certificate::CurrentUser\My

Thumbprint                                Subject
----------                                -------
804016A7B28492A5B29266A20373FE42ACED49CE  CN=VoltBuilder

This puts the cert into ‘Certificates - Current User’, in your Windows internal certificate folder, under both ‘Personal’ and ‘Trusted Root Certification Authorities’. Next, we need to export it to create an actual file. Copy the thumbprint above into the following command and run it:

$password = ConvertTo-SecureString -String myPassword -Force -AsPlainText 
Export-PfxCertificate -cert "Cert:\CurrentUser\My\804016A7B28492A5B29266A20373FE42ACED49CE" -FilePath c:\users\George\temp\windows_release.pfx -Password $password

This will create windows_release.pfx. Put it into the project’s Certificates folder. Add these lines to voltbuilder.json:

  "winPackageCertificateKeyFile": "certificates\\windows_release.pfx",
  "winPackageThumbprint": "804016A7B28492A5B29266A20373FE42ACED49CE",
  "winPassword": "myPassword",
  "winPublisherId": "CN=VoltBuilder",
  "release": "release"


You can now submit to Windows by dragging your zip file into the Windows zone on the Upload page.

You can also submit using the API.


  1. Right click on appx file
  2. Click Properties
  3. Click Digital Signatures
  4. Select Signature from the list
  5. Click Details
  6. Click View Certificate
  7. Click Install Certificate
  8. Select location: Local Machine
  9. Allow the app to make changes to your device.
  10. Select Place all certificates in the following store:
  11. Browse to Trusted Root Certification Authorities and click OK.
  12. Confirm the prompts and close all the windows you just created.
  13. Double click on the appx file to install the application.