login
sign up
.
Search
Chaos Project
Home
Script Database
Search
Calendar
Sign Up
Chaos Project
►
Game Development
►
Sea of Code
►
ClickOnce
ClickOnce
Started by Dweller, March 11, 2012, 03:13:34 pm
Previous topic
-
Next topic
Print
Go Down
Pages
1
User actions
Dweller
Ethereal Devastator
Posts: 332
Logged
ClickOnce
March 11, 2012, 03:13:34 pm
I´m finishing
Actorsprite Maker
(on Visual C#) and now I´m thinking on a way to update the program. I have 120 resources ready to launch with the first version (I use imagelist/listview to manage with them inside the program), and I want to update those resource online. ClickOnce looks like what I'm looking for, so I want to ask if any of the programmers here have ever use it or at least now if it's suitable for my objetives.
Dwellercoc
Spoiler
:
Show
Hide
- Youtube channel:
http://www.youtube.com/user/dwellercoc
- Sprite a bit:
http://spriteabit.blogspot.com]
- 7 Islands (rpgmaker game):
http://7-islands.blogspot.com/
ForeverZer0
Global Moderator
CP's Pedophile
Guardian of Chaos
Posts: 3,237
Remember you are unique, just like everyone else.
Logged
Re: ClickOnce
March 11, 2012, 04:33:34 pm
#1
I personally hate ClickOnce, and it is worthless for offline use. It forces the user to download the app everytime it is used.
I usually create an updater something like this.
Upload a file that simply contains version information
Have the main app check this version number and compare to local one
If the online version is higher, it downloads the files.
If you want to update the actual executable, you will need to launch a separate process. Make sure this app closes the main one you are trying to update. I make the command line args the filepath and PID of the process. You can also just check the running process on the computer to make sure all instances are closed
Then simply download the file and save it to the path that was passed in the argument.
Restart the main app from the updater, and there you go.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.
Dweller
Ethereal Devastator
Posts: 332
Logged
Re: ClickOnce
March 13, 2012, 03:37:18 am
#2
I´m testing now ClickOnce, but propably I´ll try your recomendation.
thanks ForeverZer0.
Dwellercoc
Spoiler
:
Show
Hide
- Youtube channel:
http://www.youtube.com/user/dwellercoc
- Sprite a bit:
http://spriteabit.blogspot.com]
- 7 Islands (rpgmaker game):
http://7-islands.blogspot.com/
User actions
Print
Go Up
Pages
1
Chaos Project
►
Game Development
►
Sea of Code
►
ClickOnce
User actions
Print