Click here to Skip to main content
14,332,394 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

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.
 
GeneralRe: PC redesign thought. Pin
Bumchuckle14-Oct-19 2:51
memberBumchuckle14-Oct-19 2:51 
AnswerRe: PC redesign thought. Pin
Daniel Pfeffer15-Oct-19 8:41
professionalDaniel Pfeffer15-Oct-19 8:41 
GeneralRe: PC redesign thought. Pin
Member 1283756413-Oct-19 21:55
memberMember 1283756413-Oct-19 21:55 
JokeThings to think about PinPopular
Mike Hankey11-Oct-19 16:10
professionalMike Hankey11-Oct-19 16:10 
GeneralRe: Things to think about Pin
Ron Anders11-Oct-19 16:44
memberRon Anders11-Oct-19 16:44 
GeneralRe: Things to think about Pin
PIEBALDconsult11-Oct-19 16:59
protectorPIEBALDconsult11-Oct-19 16:59 
GeneralRe: Things to think about Pin
Johnny J.12-Oct-19 7:24
professionalJohnny J.12-Oct-19 7:24 
GeneralCross-Platform Electron apps install without UAC intervention Pin
raddevus11-Oct-19 10:56
mvaraddevus11-Oct-19 10:56 
Been working on understanding / building my app as a Cross-Platform app (see lounge post[^] for more).

Deployment Packages
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.

Very Cool
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.

Uninstall? Nope!
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:
C:\Users\<UserName>\AppData\Local\Programs\<AppName>\

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!?!"
Unsure | :~
Of course, since this is like xcopy install that could be true with anything you install. Smile | :)

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.

GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
Dave Kreskowiak11-Oct-19 16:17
mveDave Kreskowiak11-Oct-19 16:17 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
raddevus11-Oct-19 17:52
mvaraddevus11-Oct-19 17:52 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
Dave Kreskowiak12-Oct-19 3:55
mveDave Kreskowiak12-Oct-19 3:55 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
raddevus12-Oct-19 4:41
mvaraddevus12-Oct-19 4:41 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
Dave Kreskowiak12-Oct-19 5:19
mveDave Kreskowiak12-Oct-19 5:19 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
lopatir11-Oct-19 19:15
memberlopatir11-Oct-19 19:15 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
RickZeeland11-Oct-19 21:33
mveRickZeeland11-Oct-19 21:33 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
raddevus12-Oct-19 4:39
mvaraddevus12-Oct-19 4:39 
GeneralRe: Cross-Platform Electron apps install without UAC intervention Pin
kmoorevs13-Oct-19 10:18
memberkmoorevs13-Oct-19 10:18 
Generaltoday in my company mail... Pin
Joan M11-Oct-19 8:21
professionalJoan M11-Oct-19 8:21 
GeneralRe: today in my company mail... Pin
OriginalGriff11-Oct-19 8:26
protectorOriginalGriff11-Oct-19 8:26 
GeneralRe: today in my company mail... Pin
Slacker00711-Oct-19 8:35
professionalSlacker00711-Oct-19 8:35 
QuestionRe: today in my company mail... Pin
lopatir11-Oct-19 8:52
memberlopatir11-Oct-19 8:52 
AnswerRe: today in my company mail... Pin
Nelek11-Oct-19 9:14
protectorNelek11-Oct-19 9:14 
AnswerRe: today in my company mail... Pin
Sander Rossel11-Oct-19 10:47
professionalSander Rossel11-Oct-19 10:47 
GeneralRe: today in my company mail... Pin
ZurdoDev11-Oct-19 9:53
professionalZurdoDev11-Oct-19 9:53 
GeneralRe: today in my company mail... Pin
dandy7211-Oct-19 10:12
memberdandy7211-Oct-19 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.