Hey i need some help with how to autoupdate a .exe for all my users. i have a domain+ftp if thats what i need.
|
.NET
Best way to make an auto updater? VB |
|
Dec 23, 2017 07:06 PM
(This post was last modified: Dec 23, 2017 07:07 PM by itcorp.)
(Dec 23, 2017 02:51 PM)Soldiercrimes Wrote: Hey i need some help with how to autoupdate a .exe for all my users. i have a domain+ftp if thats what i need.The easiest option for you is ClickOnce Application Update https://msdn.microsoft.com/en-us/library/1zyc39fb.aspx
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
Dec 24, 2017 05:52 AM
(This post was last modified: Dec 24, 2017 06:08 AM by Soldiercrimes.)
(Dec 23, 2017 02:54 PM)HansSarpei Wrote: Simple solution - let the tool parse a textfile with the actual version from your webspace and if its newer than the users version download the new version via WebClient. I have that right now, but i need something more fancy. (Dec 23, 2017 07:06 PM)itcorp Wrote: The easiest option for you is ClickOnce Application Update https://msdn.microsoft.com/en-us/library/1zyc39fb.aspx Any tutorials on how to update it on other pc's ? i have no idea on how to update it to a website for example and let it auto update on other pc's. (Dec 24, 2017 05:52 AM)Soldiercrimes Wrote: I have that right now, but i need something more fancy. I am pretty sure from what I have read that you push updates through ClickOnce and then people who use your software automatically get a notification (depending on your update strategy) that there is a new update. Update strategy info: https://msdn.microsoft.com/en-us/library/s22azw1e.aspx (Dec 24, 2017 02:27 PM)Ninja Wrote: I am pretty sure from what I have read that you push updates through ClickOnce and then people who use your software automatically get a notification (depending on your update strategy) that there is a new update. The problem is, i dont know how to handle the ftp thingys and the installation folder url: https://gyazo.com/1a2e0cb5f49472c4809b9960f785715b I think this is wrong but idk why...
Dec 25, 2017 12:20 AM
(This post was last modified: Dec 25, 2017 06:18 AM by itcorp.)
Here's how to do it
Let's say this is version 1 that we publish. ![]() ![]() hit next ![]() after defining your ftp it looks like this ![]() hit next and define the app path that is on the server ![]() hit next ![]() hit next ![]() hit finish to publish app ![]() After successful publication, you will get the following window ![]() now you can install version 1 and let's say it looks like this ![]() now ftp looks like this ![]() Now let's say you made changes to the code and you want to make a version 2...hit properties ![]() Change the current version to a new one ![]() And publish again..The user will be notified about update when the program start ![]() after update ![]() I did not go deeper with this,but in settings, you can also specify the necessary things for the application to work from prerequisites & updates.Prerequisites are all necessary commponents and updates contains settings for how will be update... Happy coding,I hope it will help you
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
(Dec 25, 2017 12:20 AM)itcorp Wrote: --snip-- I'm seeing you around lately and i cant estimate the time that you put in here. Good job! (Dec 25, 2017 12:20 AM)itcorp Wrote: Here's how to do itThanks bro! i appreciate it ;) (Dec 25, 2017 05:34 AM)Soldiercrimes Wrote: Thanks bro! i appreciate it ;) np,at any time.
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
(Dec 25, 2017 08:52 AM)itcorp Wrote: np,at any time. You helped a lot the OP with the detailed tutorial along with screenshots. Thanks for your time. +Added rep, enjoy and keep up the good work! 🤝 HF Member Since 2010
|
|
|



![[Image: Hly3Y0I.png]](https://i.imgur.com/Hly3Y0I.png)
![[Image: lLykuxs.png]](https://i.imgur.com/lLykuxs.png)
![[Image: 48UhBYC.png]](https://i.imgur.com/48UhBYC.png)
![[Image: VMMLRN8.png]](https://i.imgur.com/VMMLRN8.png)
![[Image: IV8Pf46.png]](https://i.imgur.com/IV8Pf46.png)
![[Image: rA1RPGc.png]](https://i.imgur.com/rA1RPGc.png)
![[Image: zEPzsNy.png]](https://i.imgur.com/zEPzsNy.png)
![[Image: 79I7RHp.png]](https://i.imgur.com/79I7RHp.png)
![[Image: ULLnHCx.png]](https://i.imgur.com/ULLnHCx.png)
![[Image: vMCMMUm.png]](https://i.imgur.com/vMCMMUm.png)
![[Image: 0iDXy2I.png]](https://i.imgur.com/0iDXy2I.png)
![[Image: 5mnTD0l.png]](https://i.imgur.com/5mnTD0l.png)
![[Image: FJfJSEG.png]](https://i.imgur.com/FJfJSEG.png)
![[Image: jsHpOUH.png]](https://i.imgur.com/jsHpOUH.png)
![[Image: bsYBp6Q.png]](https://i.imgur.com/bsYBp6Q.png)
![[Image: WuqKkLY.png]](https://i.imgur.com/WuqKkLY.png)
