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.
I think electricity is a lot cheaper than whatever these guys eat
On a side note, did you know elephants lose their teeth which causes them to die of starvation or malnutrition?
Elephants lose their teeth at various stages in their life and replace them with new ones, but they can only do this six times (or seven times on rare occasions).
When they've lost their last teeth it's a slow and painful death from there.
Elephants also have the largest teeth of any animal, even bigger than a whale's (biggest animal EVER!).
Using your requirements, mothers-in-law would do even better. Not only do they never forget, but they last even longer.
Also, while the RSPCA may complain about the way you treat your elephant, no one cares what happens to your mother-in-law.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
Anything that is unrelated to elephants is irrelephant Anonymous - The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 - Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
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 have a dozen different users on the same machine running the app, you have a dozen installations of the app on the machine.
That is a very good point. and these Electron installations are HUGE compared to their native (or managed framework) alternatives. HUGE! The app I rewrote was about 3 MB or something. The new one installs 90MB or more.
Of course for .NET managed apps you have the initial installation that is large but at least that is in one location and everyone can use. I took a look at the Atom Editor (also Electron app) and it is 1.1GB installation. Wow!
the appearance of the trojan [horse] is that it looks like a gift, and [referring back to the story] also looks innocuous. Even once brought inside (installed) it still looks like gift.
Only when it turns dark (ability to move freely / undetected - UAC has [elsewhere] been set to allow) then the payload within is released to achieve it's goal.
Trojans don't by themselves attempt to gain access, they wait until it's provided to them.
Ability for ordinary [otherwise limited for security purposes] users to install ANY app without permission a good thing?
Gotta love the way windows still makes even new features so useful for the good and the bad.
It looks similar to the Microsoft Click-Once installer which for some strange reason is totally unknown to most Windows developers: Create custom installer for ClickOnce application - Visual Studio | Microsoft Docs[^]
As Dave Kreskowiak mentioned this installs to the user profile.
The interesting thing is that, from a Microsoft browser, it can directly install by just clicking a link.
For non Microsoft browsers this sadly does not work and it will just download the installer.
It looks similar to the Microsoft Click-Once installer which for some strange reason is totally unknown to most Windows developers:
I agree that it looks like that type of installer (which is quite nice) and I'm not sure why this wasn't the standard for installations either. Probably just not well communicated by MS originally. I remember when Vista came out and the standard for installations became so different (Program Files was locked down) and I had to learn how to do installs properly -- it was a pain to discover the info.
Last Visit: 11-Dec-19 10:01 Last Update: 11-Dec-19 10:01