PDA

View Full Version : Relatively Simple Update Executable?



doc13x
06-15-2007, 03:11 PM
Hello,

My apologies, I am new at this software. I have created an application called toughbook.exe which runs at startup on (you guessed it) a Toughbook Laptop. The laptops are locked down using Winforcer and staff cannot access anything else but this application.

I want to be able to periodically update the toughbook.exe application from a USB key. I am hoping to be able to do it without having to log off and on as administrator.

I guess the updater needs to close the toughbook.exe application, overwrite it, then start it up again... To do this, it would have to use the administrator (File.RunAs) login...

Am I on the right track? Can anyone give me a few snippets of code?