self-updating

Executing and then Deleting a DLL in c#

I'm creating a self updating app where I have the majority of the code in a seperate DLL. It's command line and will eventually be run on Mono. I'm just trying to get this code to work in C# on windows at the command line. How can I create a c# application that I can delete a supporting dll while its running? AppDomain domain = AppDoma...

Is it possible to implement a self-updating ASP.NET web application?

Wordpress has the capability to update itself (on admin user's request). Is it possible to implement something similar using ASP.NET? I can see web.config and bin folder causing problems. ...

Run application from documents instead of program files.

I'm working on creating a self updating application and one issue I'm running into on Vista and Windows 7 is needing to have admin privileges in order to update the client. I've run into issues with clients that have their users running under restricted permissions and they would have to have IT log onto every machine that needed to upda...

Updating time in iphone sdk

Hi, I'm using the code provided below to display time and date. can anyone help me with atuomatically changing the time by seconds and the date by the day? NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateFormat:@"yyyy-MM-dd"]; NSDateFormatter *timeFormat = [[NSDateFormatter alloc] init]; [timeFormat set...

Self deletable application in C# in one executable

Is it possible to make an application in C# that will be able to delete itself in some condition. I need to write an updater for my application but I don't want the executable to be left after the update process. There is an official .Net OneClick but due to some incompatibilities with my HTTP server and some problems of OneClick itsel...

How to self-update PHP+MySQL CMS?

I'm writing a CMS on PHP+MySQL. I want it to be self-updatable (throw one click in admin panel). What are the best practices? How to compare current version of cms and a version of the update (application itself and database). Should it just download zip archive, upzip it and overwrite files? (but what to do with files that are no longer...

I am looking for information to make my windows form app self updating.

I would like to make my windows form app self updating when it starts. Where can I find good information for that? I am using Visual Studio 2008 VB.NET. I like the click once approach. With this application I have an access db as the backend datastore. When the application self updates how can I be sure the mdb file is not overwri...

C# .net updates versus compile time debugging. How to stop the oddities?

Are we reduced to ClickOnce to manage our application state for our users? We use our own installer and Visual Patch currently. When our users update using our Visual Patch download (we can reproduce this) we get errors from the updated versions which never show up in our dev enviroment. Since our developer state is not 'updated' wi...

Create Android JarFile object that looks for file inside .apk?

Hi, I was curious if there was an effective way to create a JarFile object (see: http://developer.android.com/reference/java/util/jar/JarFile.html ) that references a jar file imported into the running APK? I'm trying to make a self-updating JAR file that can be imported into projects, so I can release patches and updates for the libra...

How do I keep one column consistently updated?

Hello, another newbie mysql question I have a faculty table, and each faculty has a certain number of students under him/her. So there is a 'current' column, which is the number of students currently under them. However, I don't want to ++ and -- everytime I switch a student to another faculty. Is there a way to keep the column update...

Looking for API to SC.exe utility, and an advice on self-updating Windows Service.

We have built a Windows Service that is running on client's machines, which occasionally downloads a newer version of itself, and then performs a self-update: installs a new service, starts it, stops the old one, and eventually deletes it. The service cannot stop itself directly and do other stuff, so it spins another executable, which d...