Welcome to the Lounge
The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
|Been working on understanding / building my app as a Cross-Platform app (see lounge post[^] for more).
The real target was to get deployment packages that would allow anyone on any OS (Win10, MacOS, Linux) to easily obtain and install.
I was confused for a while, but I figured it out : basically, there is another Electron/Node project (Electron-Builder via Github[^]) that will package your app for deployment on all three platforms.
Once I tested the installation on my local machine (Win10) I decided to try it out on another machine where I do not have the rights to install apps.
When I double-clicked the installer package, it worked perfectly normally (though I don't have admin rights). I saw the nice dialog (image via imgur[^]) that tells me it is installing but no UAC warning and asking me to sign in as an admin.
From a developer's perspective this is very cool.
Win10 Apps & Features
I also looked in Win10 Apps & Features to see if I saw the program and it is listed (snapshot via imgur[^])
It is interesting that the installer can add the app in there, even though I'm not an admin.
I tried uninstalling the app from Apps & Features but it raises the UAC request and I don't have rights.
What Is Target Installation Location For Electron-Builder?
This seems to be the way the installer gets around the UAC requirement.
It installs to:
It Is Still Possible to Run Uninstall
The packager also creates an uninstall exe so you can uninstall the app cleanly and completely. You can see it in this file listing image via imgur[^].
Even though I cannot run the uninstall from Apps & Features I can run it from that uninstall EXE and it will remove the program from Apps & Features --- nice and clean.
As A Dev
As a dev I think this is amazing and cool because deployment is always difficult and I want it to __just work__. As a user, I'm thinking, "uh, who can install stuff to my machine without me knowing...or as a trojan payload to some other program I downloaded!?!"
Of course, since this is like xcopy install that could be true with anything you install.
If you'd like to try the installation package you can get it from my site: http://raddev.us/downloads/CYaPassSetup106.exe^
modified 12-Oct-19 0:08am.
General News Suggestion Question Bug Answer Joke Praise Rant Admin
Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.