with windows universal app, is it possible to install an application programmatically - installation

i'm developing a windows universal app for win10 IOT. I'm wanting to run a headless app that will download and install a new version of the application. It would do something like this:
1) download app from blob storage
2) install app into the device
3) set app as startup
4) reboot the device
Is this possible?

Maybe you could try this programmatically:
http://blogs.msdn.com/b/patricka/archive/2012/11/05/how-do-i-deploy-a-windows-8-app-to-another-device-for-testing.aspx
Simply unzip the downloaded app package and run the power shell script.
But make sure you allow to install apps without the market: http://www.maketecheasier.com/install-windows-8-apps-without-storewindows-8/

Related

Sign windows electron build on macOS (Catalina)

On Mojave I had electron builder set up with osslsigncode to create windows builds working with an EV certificate. outlined here
Since 10.15/Catalina this is no longer possible as the build process uses Wine to create the nsis installer package. Wine is 32bit, support for which has been dropped.
The new recommended build process is to use a docker container to perform the build (essentially using linux). I am trying to create a docker image with osslsigncode without success so far, and am wondering if I will ever be able to get the EV usb dongle visible in a docker container.
Anyone have any solutions - other than build on windows!

IPA file unable to run on colleague's phone or untethered from workstation using Meteorjs+ReactJS+Mongodb

I am new to IOS development and have come across an issue and need some help.
I am trying to create an iOS application to target to work on iPhones. I am using MeteorJS, ReactJS with MongoDB for a database.
When I run the ‘meteor run ios’ command I am able to get the Xcode project.
I am also able to load the Xcode project within Xcode and generate the IPA file to demo on my iPhone using ITunes from my MacBook Pro.
When I try to run the application from my iPhone everything works - meaning I was able to connect to the local database (localhost:3001 mongodb). Also, the tests on the application only work when my phone is connected to the Mac.
Now, when I try to export the application and want a colleague to test the iPA file does not work. The IPA file gets installed on the colleague’s phone, however application does not work.
I think I’ve followed the process as required for Adhoc Provisioning profiles however I am not sure whether Im doing this right - because possibly the database is not being packaged with the IPA file?
Could someone please help / Guide?
When running a build produced by meteor run ios, the application on the phone tries to connect to a server running locally on your machine over the networked formed on the physical Lightning cable connection.
While you can configure the iOS client to connect to your machine over your local network, this solution introduces other problems you won't expect. Deploy your application to Galaxy, configure your iOS settings to use the URL on Galaxy, and make a production deployment of your iOS application. Then the iOS application will try to connect to an accessible public Internet URL (your Galaxy deployment), rather than your inaccessible local machine.
See the documentation for details.
meteor run ios-device --mobile-server=http://ip:port
worked for me

How to install Windows store app programmatically in UWP?

I want to install an windows store application programmatically from UWP application. I am able to redirect to the Windows store application page but what i want is the application should install automatically from store. Is there any to achieve this in UWP?
Thanks in advance.
Yes it is, but such app need Package Policy Control capability (see https://msdn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations). Also you must have direct access to appx package of app to install. Then you can use PackageManager class. But this app can't be pushed to Windows store without special permission from MSFT or you must use sideloading (installing without Windows store). So it's almost unusable...

Desktop App Converter/Submit to Windows Store

I have an older application that I've converted using Microsoft's "Desktop App Converter" to create a UWP application. The application appears to convert fine, and I can install and run it on my local machine. Unfortunately, when I try to submit the application to the Windows App Store, I get the following errors:
Package acceptance validation error: We don't allow the capability you've specified: runFullTrust.
Package acceptance validation error: You don't have permissions to specify the following namespaces in the appx manifest file of the package DownloadManager.appx: http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities.
Are there any ideas what is causing this and what the fix is?
I'm running Windows 10 Enterprise Preview Version 1511, Build 14352.1002
According to this article from the official blog, you cannot submit your Centennial apps to the Store just yet. You have to follow the process they mention in their article:
Windows 10 Anniversary Update SDK Now Available! Windows Store Open for Submissions
"Windows Store Open for Submissions; Including Process for Submitting Desktop Bridge Apps:
In addition, we will begin the process of accepting apps using the Desktop Bridge. While we build the pipeline into the Windows Store to publish these apps, our team will work directly with developers to get their converted apps and games into the Windows Store. Contact our team here if you are interested in submitting an app using the Desktop Bridge to the Windows Store."
You can find in this article Preparing your desktop app for conversion to UWP features that should be removed from codebase.
As I see there is one Your app always runs with elevated security privileges.
Check this one ar may be your app contains some another feature from list

windows 10 IOT universal windows app, how do i install an app programatically

Running win10 IOT core on the raspberry pi 2 and I'm wondering if the following is possible:
1) have a headless app running that is called 'version checker'. in addition, have multiple other headless apps running.
2) if a new version of an app is available, it downloads the package
3) once new package is downloaded, it installs the app
If this is possible, where should I start?
If you are not against writing the app in HTML/JS, you could write it as a Hosted Web App.
It's really similar to a Chrome / FirefoxOS app, which caches your code on the device, and hits your site to see if there are any changes since it last loaded, and update itself if it does.
Here's a blog that I wrote a while back.

Resources