Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Making a C# autoupdater the way microsoft wants you to do it
#1
Everyone's creating their own crappy updaters while microsoft provides a awesome installer and autoupdater right of out of the box!
WARNING: I assume you got a webserver (lol)

So, go to your visual C# and click Build > Publish

[Image: IDNZ0T1hiH.png]

You will get this screen, continue...
[Image: I4SQhltSJh.png]

In this screen, select 'From a website', fill in your own website and the directory you're going to place your files in and click Finish
[Image: PAtcq3s0w4.png]

When it's done building, browse to your project directory and go to the publish folder.
Upload all files in that folder to your web directory.
and Make users download setup.exe

Now every time you release a update, just publish it again and upload all files to your directory again, the program will autoupdate Awesome

Screens of the installer: (i apologize for the dutch crap, really gotta install english windows)
[Image: xy5QKJwvEJ.png]

[Image: KeX9MAztNr.png]

edit: Screens provided by ScreenCap
Reply

#2
good to know ty
Reply

#3
Thank you. Did not know about this.
Reply

#4
VC++, y u no have this function ?
[Image: lQDUjba.jpg]
Reply

#5
because c# = god
Reply

#6
(02-01-2012, 21:51)jariz Wrote: because c# = god

Nope and VC++ should have this as a wizard in Visual Studio. A feature like this existed already in Visual Basic 6 from 1998. But then it exported to update files on a floppy disk that would update your app on insertion. So I guess Visual Studio can add some library to your VC++ project as well somehow.
Hint
Reply

#7
This is really nice, didn't know about this feature, thanks

Offtopic: Respect for the FuckBrein name (assuming it's about the dutch copyright-watchdog), I agree
Reply

#8
@bonemind hehe, yep it was Tongue
Reply

#9
Awesome feature that I never knew about lol, Thanks for sharing.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Making an apocalyptic themed Minecraft map AZUMIKKEL 54 29,410 08-31-2013, 02:54
Last Post: AZUMIKKEL
  Making a Heli's angles match my angles? akillj 1 2,743 06-16-2013, 15:01
Last Post: Yamato
  Making a harrier crash into the map? akillj 6 4,994 06-09-2013, 05:57
Last Post: akillj
Brick Lesson 3: Making game in C++ Nekochan 2 3,591 06-03-2013, 15:25
Last Post: Nekochan
  Making a gametype multi-rounded? DidUknowiPwn 6 4,699 04-22-2013, 22:14
Last Post: Pozzuh
Information [Tutorial] Making MORE glass in your form. Nekochan 27 12,585 03-22-2013, 22:04
Last Post: kokole
Rainbow Lesson 1: Making game in C++ Nekochan 6 5,297 02-04-2013, 15:27
Last Post: Nekochan
Rainbow Lesson 2: Making game in C++ Nekochan 1 2,769 02-04-2013, 15:14
Last Post: Ich1994
  W@W: Making player spawn with a custom default class. koil 9 5,495 01-13-2013, 12:10
Last Post: koil
Brick [Tutorial] [Need] Books or for Learning language Microsoft Visual C#. XxBRxX 1 2,520 01-05-2013, 05:55
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.