distribute and update electron desktop app using microsoft store - electron

Our company would like to upload an electron desktop application to Microsoft Store, so 3rd party contractors can use it for their work. It would be publicly available.
The applications is signed and it can be built to either msi or exe format.
Is it possible to distribute our app like this?
When a new version becomes released how much time would take for Microsoft to validate our app before it can be publicly available?
The application is under development. An auto update feature is planned to be implemented. Does Windows Store provide an API to check the available versions?
Please note that we don't have any C# developers or any licenced Visual Studio instances. We would like to use Javascript/TypeScript/Angular and shell script technologies. The executable is built on linux CI server using electron.js and mono with wine. The CI pipeline is already implemented, only publishing is missing.
Thanks.

MSI and EXE installers are not supported by the Windows Store. You need to package your app as an MSIX, as explained here:
How to build an MSIX package for an Electron application
The following article talks about the steps you need to go through for publishing an app in the store. Usually. an update should be validated by Microsoft in maximum 3 days, from our experience.
How to publish your MSIX package to the Microsoft Store?
Regarding updates, the store provides it's own auto-updates service, to ensure a consistent update experience for all the apps on the machine (instead of having each up launch it's own custom updater...). You don't need to write any special code for this.
If you want to enforce some update patterns, you can use the following API to check for an update in the MS store.
Disclaimer: I work on the team building Advanced Installer.

Related

Advantage of using visual studio on windows for iphone app development over native environment

I am reading a way to setup iphone application development environment on my windows. It states that “A network-accessible Mac set up with Apple's build tool” is required. My confusion is that, if i need to buy a mac machine and need to setup an envionment then why i will use windows and visual studio?
I am exploring why it is advantageous for me to build ios app in xamarin when i need to buy mac machine and install xcode. Why i will use xamarin when i am new to both C# and swift?
Please ignore my limited knowledge and flaw in question.
Using Xamarin to build apps
enables C# developers (there are millions of them) to leverage the language and framework they already know instead of learning a completely new one
allows them to share code between existing C# apps written for the web or desktop (very important in an Enterprise environment)
using Xamarin Forms, allows you to create a single codebase that targets multiple platforms (iOS, Android, UWP, etc)
if all you care about is iOS and you don't already know C#, then Xamarin may be of limited benefit to you

SQLite plugin for Phonegap?

I have a Phonegap project which so far has been used to build an Android app. I'm using locally installed Phonegap on Windows with a pre-populated SQLite database. The project uses Cordova-sqlite-ext plugin, my version is about a year old, have not had need to update.
Now I need to build a Windows version which should run also on Windows 8.1, not only Windows 10. This is for real computers, phones are not that important. It seems that in a few months also an iOS version may be needed.
After checking Cordova-sqlite-storage, Cordova-sqlite-ext, Cordova-sqlite-evcore-extbuild-free and Cordova-sqlite-legacy-build-support at GitHub I'm lost and don't know can I use any to reach all my goals.
Switching from Phonegap to Cordova is not an option because
building an iOS app on Windows is not possible with Cordova,
right?
PhoneGap CLI and Build are supported only by
evcore-extbuild-free which does not support pre-populated
databases.
Building for Windows 8.1 requires the legacy one
which does not support pre-populated databases.
So my question is that has anyone tried something like that? I'm wishing the documentation might not be up-to-date but perhaps that's a long shot. If nothing else I might be able to create the database structure and then ask a user to download data to populate it, but would prefer to avoid this.
One solution could be to develop the app using Windows and build the iOS version on a Mac. You could buy a single Mac to use as a build server or use a service like MacInCloud. If you're using Visual Studio, there are instructions for setting this up.

Convert .doc/.docx file to .htm in server, but no Microsoft Office Installed in server

Need to convert .doc/.docx file to .htm file to display on webpage in my MVC web application. This is working in my local system. There is no Microsoft Office Installed in the server and its restricted to install this in the server.
Is there a round-about solution for this? Can I convert .doc file to .htm file without having MS Office installed.
Any suggestions.. Really stuck with this for the past 4 days.. Cant find any solutions.
Thanks
Yes, you can. Take a look at the third-party components (for example, Aspose).
Also you may consider using the Open XML SDK. See Welcome to the Open XML SDK 2.5 for Office for more information. But it doesn't support binary files such doc etc.
Be aware, Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.
If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
You can read more about this in the Considerations for server-side Automation of Office article.

Rails App Integration with HPQC (HP Quality Centre)

I wanted to integrate hp quality centre to a rails app which is developed and deployed on a linux system.
I found that it uses the OTA (Open Test Architecture API). However it been specified that it uses a OTAclient dll for doing the activities of the api.
I would like to know if there is any documentation of such an integration been done (hpqc+rails on a linux system) ?
Is it possible to attain this integration.. Any gems or plugins...?
Unfortunately the OTAclient.dll requires a number of Windows only dll's. We eventually created a web service on a Windows machine in C# to provide an access point for our Ruby services.
The newer version of HPQC (ALM 11) has a REST-like service that you can use but upgrading to ALM 11 may be a bit much for what you are trying to do.

An Easy way to Deploy an MVC App to a Desktop Machine?

I have an interesting situation where I need to deploy an ASP.NET MVC app to a (pseudo-boss's) local desktop machine so they can run it locally for data entry purposes. What would be the best way to get the app running on a vista machine without Visual Studio installed?
Ideally, It would be a one click that started a development web server and opened the page up in the browser.
I considered installing Visual Web Developer and then tricking it's dev web server into running the app, or even installing mono, since it has the nice 'start xsp here' feature that even a non-technical person can understand. The big thing is that this person is not very technical, so it needs to be easy for them to start and stop the application.
You need IIS installed, which should be available for Vista. Then just set up a working directory and put your app there, it's not 1 click but maybe.,.. 5.. :)
What about the Microsoft Web Platform Installer? You'd still have to add your own application, but it takes care of .NET, IIS, and dependencies.
Could you use something like UltiDev Cassini: http://www.ultidev.com/products/Cassini/ and build your own installer to set everything up for your user?

Resources