|
I thought that was "coughs and sneezes" - which sounds like a better deployment method than Sander has to put up with at the moment...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
why not:
1. do up a quick installer (innosetup or similar)
2. upload the installer to a drop box (only you have write access)
email out instructions with the drop box link to download the installer
done - including the 'at-home' machines
your installer can do all the tricky stuff such as create/read/update registry / folders, and even clean itself up afterwards.
even when I do get into a situation of needing to install a few machines at different locations I often use dropbox rather than a USB (I'll still email them the instructions so I don't have to hand-type the dropbox link when I get to them)
- some sites flat-out don't allow USB's to be plugged in
- some want to scan it first yay, my 64G USB filled with all your other goodies, waiting, waiting...
- too many people have windows auto-run/auto-open still set
... (first thing I disable, stupidest most dangerous idea ever and it's still the ms default setting)
... can install a virus to your USB if some ransomware has hooked into the autorun options
this internet has become nothing but fake news.
... time to fix it, time to get back to the fax!
|
|
|
|
|
|
dropbox is easy, (or whichever equivalent, microsoft onedrivel, ...
they all have a web interface so as the upload you don't need to install any client (my pref to use web)
they all will generate clickable link you can send out in an email,
so these people don't have to know anything about how to use dropbox/onedr... or don't even need to know what it is
installer is less work than replacing a file (way way easier for the uneducated user)
- replacing a file: they have to know how to:
-- find the file on "d:\new version\app.exe", then click copy or ^C,
-- get to "C:\program flies\some-app\app.exe", paste or ^V ...
- installer: "click me"
if people worried about clicking links tell (write) them to phone you first for confirmation it's OK.
this internet has become nothing but fake news.
... time to fix it, time to get back to the fax!
|
|
|
|
|
lopatir wrote: installer is less work than replacing a file (way way easier for the uneducated user) True, unless the file replacement is automated
And since it requires no work from their end it's hard to not update.
lopatir wrote: if people worried about clicking links These people aren't worried about anything IT related
lopatir wrote: time to fix it, time to get back to the fax! Maybe I can fax them the new version
|
|
|
|
|
this might actually help you down the road, if your clients have internet access and this doesn't give IT a heart attack:
AutoUpdate: A GitHub Enabled autoupdater[^]
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: doesn't give IT a heart attack I just told you I update software one by one using USB to computers who may or may not have access to the central file server (which is someone's computer).
What makes you think they have IT?
They hired a third party to set up their internal network, but it failed a few times and they're not happy with them.
That's all the IT they have.
Other than that, I am IT now.
The source isn't in GitHub though.
I use Azure DevOps with Git.
The original programmer had folders like "Software_old", "software backup" and "software 04-05-2017" on his computer and that was his idea of source control.
I'm planning to bring everything to Azure in which case I'm not dependent on file server access anymore
|
|
|
|
|
If Azure has a web front end and will let you publish "release package zips" that contain binaries to it you could just alter the url and the regular expressions the app uses to scrape.
I have no idea why anyone would use azure for source control though if they have a choice.
Eventually - give it a decade - microsoft will abandon it. Git isn't going anywhere. Even microsoft realized that which is why they snapped them up.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I'm not using Azure for source control
I'm using Azure DevOps (formerly VSTS, basically TFS online) for my CI/CD platform, which has Git repositories.
Kind of like GitHub (with the brand new GitHub Tasks or what're they called), but with a Microsoft flavor.
And Azure DevOps integrates really well with .NET and Azure, unlike other CI/CD platforms like Jenkins.
Of course I'm not currently using it for anything CI/CD related here, but that will hopefully change.
So it's really a good choice and I don't see Microsoft abandoning it anytime soon
|
|
|
|
|
ahh i misunderstood what you were doing. never mind.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I don't know what you thought, but give me some credit!
|
|
|
|
|
Two words - deploy once.
Put the app up for download from a web site, it installs, and every time the user runs it, it checks from the original download url whether or not it an update is available. This is the absolute best/fastest/most secure way to deploy desktop apps.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Interesting, will look into it
|
|
|
|
|
This is what Azure is for.
Three generations later, and they won't even notice it's become a web app.
|
|
|
|
|
I have a similar issue with deployment. I work with a desktop-style app though, not a web-based one. To complicate matters, it talks to other instances of itself on other machines. They have a client-server relationship where there is one client and several servers and the client machine has the UI and is on the company intranet. As an added bonus, one site is five minutes away, another is three hours, and another is about ten hours away. I use ScreenConnect to access the ones that are far away and sometimes the closer one too.
My answer to this problem was to make the program have a self-update facility built in so it works easily over screenconnect, or similar remote control app. I go to the running app and select the update option. It prompts for a file and I choose the one I just sent to it over screenconnect. Then it gives a prompt, "Do you want to update from version w.x.y to version w.x.z?" If I choose yes, the running program starts up the new version and passes it the location of the running program and an argument that says update yourself to here. Then the older, running version terminates itself. The new one waits until the old one is gone, copies itself to the specified location, starts itself at the new location, and then terminates itself. There is another option to update the servers which copies itself over a socket connection to to the servers and they do the same process. It's a little tricky but it all works really well and is very simple for me to use.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
I think clickonce deployment would also fix the issue. I've used it internally and the users get used to the "checking for update" dialog on slow connections very rapidly.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I wrote an article a long time ago(2011) on precisely this problem.
It's something I developed for installing updates for winforms applications from the interwebs or a network drive.
The code is probably not pretty but it did the job for around 70 users(I that scenario teh update was pulled from a machine on the local network).
Application Auto-update via Online Files in C#[^]
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
13 inches of snow so far, and another 7-10 projected for today and tonight. They say you gotta love it. I say, no I don't.
It's much easier to enjoy the favor of both friend and foe, and not give a damn who's who. -- Lon Milo DuQuette
|
|
|
|
|
I'd feel sorry for you, but I had a jolly hard frost on the car when I went out this morning.
At 10:30 am!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Here in Texas, the weather's just starting to get nice.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Stop it. You make me miss El Paso.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Age old advice: Don't eat yellow snow.
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
|
Snow is my best friend when I have to drive to work. With most of the dimwits off the road, who want to push their cars at the sight of the first snowflake, I actually get there faster than on some days in summer.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|