Auto Update Application

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
localpct
Posts: 397
Last visit: Thu Oct 27, 2022 5:57 am

Auto Update Application

Post by localpct »

I have an application almost ready for production but I really have no way of notifying the user. I actually would no where to start

Our files are hosted as such
\\server\Vendor\Application Name\Version\Vendor Application Name Version.exe

So end goal is if the application is updated, the user gets a prompt to download ( this is another form I create ) or cancel and wait for next time.

Would this be a Job of some sort I constantly run in the background?

Then it's an updater file that kills process, finds the files and installs them silently, once it detects the registry change of the version, it starts the new application up.

I'll be completely honest and say I'm lost when it comes to the jobs and job tracker function
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Auto Update Application

Post by jvierra »

Just check the file date and call an update script then exit. After update is copied restart the exe.
User avatar
localpct
Posts: 397
Last visit: Thu Oct 27, 2022 5:57 am

Re: Auto Update Application

Post by localpct »

jvierra wrote:Just check the file date and call an update script then exit. After update is copied restart the exe.
You make it sound so simple :)

As usual, I over thunk it. Will give me something to look into. Thanks!
This topic is 7 years and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked