Thursday, April 21, 2016

Oracle MAF 2.3: deploying and installing an application to the Universal Windows Platform


Almost one month ago, Oracle released Oracle Mobile Application Framework 2.3 that allow us to build Windows 10 applications. After building or migrating our application it is time to distribute it.

Fist you have to prepare you development environment. You can check how to do it here:  Oracle MAF: configuring Windows 10 development environment

In this post I will show how to deploy and install an UWP executable


We are going to use Workbetter application that can be found in the next path (change 'C:\Oracle\Middleware1221' with your JDeveloper installation path):

'C:\Oracle\Middleware1221\Oracle_Home\jdeveloper\jdev\extensions\oracle.maf\Samples'


One we have opened the application we have to deploy it as we usually do todeploy it to iOS or Android, but selecting Windows profile.






Once the deployment has finished, under deploy folder we will a folder structure like this:

'...\deploy\Windows1\debug\MafTemplate\AppPackages\MafTemplate_1.0.0.0_Debug_Test'

The last folder will depend on the version number and the build mode. We will see many files and folders that includes the dependencies and the certificate we used to sign the application.

This is the folder you have to share in order to install the application.


In order to install the application we have to 'Run with PowerShell' the .ps1 file.


We will see a progress bar while installing.



Once it is installed we can search for the application and run it.



2 comments:

  1. It's great. Just what I needed. How can I do a release distribution? Can I generate a package or something to install it to a normal windows platform(not in developer mode)? Thanks.

    ReplyDelete
    Replies
    1. Hello,

      I have not tried to do any of these but I think you have a couple of options at this point.

      1- Publishing on Windows Store: https://developer.microsoft.com/en-us/windows/publish

      2- Publishing on Windows Business Private Store:
      https://technet.microsoft.com/en-us/itpro/windows/whats-new/windows-store-for-business-overview

      regards,
      Ruben.

      Delete