Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
GeneralRe: Automatically Install Updated Application Version Pin
phil.o30-Aug-10 6:02
professionalphil.o30-Aug-10 6:02 
AnswerRe: Automatically Install Updated Application Version [modified] Pin
Sunil G30-Aug-10 3:11
Sunil G30-Aug-10 3:11 
GeneralRe: Automatically Install Updated Application Version Pin
PDTUM30-Aug-10 3:56
PDTUM30-Aug-10 3:56 
GeneralRe: Automatically Install Updated Application Version Pin
Sunil G30-Aug-10 18:13
Sunil G30-Aug-10 18:13 
AnswerRe: Automatically Install Updated Application Version Pin
Matthew Klein30-Aug-10 14:38
Matthew Klein30-Aug-10 14:38 
GeneralRe: Automatically Install Updated Application Version Pin
Luc Pattyn30-Aug-10 14:54
sitebuilderLuc Pattyn30-Aug-10 14:54 
GeneralRe: Automatically Install Updated Application Version Pin
Chuck O'Toole30-Aug-10 16:16
Chuck O'Toole30-Aug-10 16:16 
GeneralRe: Automatically Install Updated Application Version Pin
PDTUM30-Aug-10 16:51
PDTUM30-Aug-10 16:51 
Thank you one and all, and I mean that sincerely. I learned a lot just researching your suggestions. It looks like more than one of these solutions will work, however, in an effort to keep it as simple (to me) as possible, this is what I have done (and it works). First, I created 2 databases...one internal (.mdb) and another external (Ms Sql). Each has a table with the most current version listed. To begin with, I created a splash page that checks for the most current version in the remote DB. If that does not match the internal DB that is called from the Splash page, it commands a download from my server with the newest version (simply called setup so there is no difference in the name). The WebClient class does an asynchronous download and then sets a value in the local DB so that the next method called will recognize that a download has been received (in a local folder) but not installed. The application is then forced to shut down. On restart, the CheckForNewInstall Method (also on the Splash page) then runs the install using the Process.Start Method and installs the update and also updates the local DB value so the application knows the install has completed successfully and now matches the remote DB value. I was fearful that running the update from the Splash page before it was completely shut down would throw an Exception, but it does not. I have tried it on 3 remote computers that are running the application now (all using Win XP SP3) and it works every time.....go figure.

I wanted to throw this out there in the event that it might help someone else. I can list the actual code if it would be of help to someone or I can place it in a file on my website for download, in as much as you all have helped me. It is much appreciated. Thanks again...Best Regards, Pat
GeneralRe: Automatically Install Updated Application Version Pin
Matthew Klein31-Aug-10 4:44
Matthew Klein31-Aug-10 4:44 
AnswerRe: Automatically Install Updated Application Version Pin
Matthew Klein31-Aug-10 8:27
Matthew Klein31-Aug-10 8:27 
GeneralRe: Automatically Install Updated Application Version Pin
PDTUM31-Aug-10 9:24
PDTUM31-Aug-10 9:24 
AnswerRe: Automatically Install Updated Application Version Pin
Matthew Klein31-Aug-10 10:24
Matthew Klein31-Aug-10 10:24 
QuestionCOM PORT SETTING THROUGH C# IDE Pin
venkat swaminathan29-Aug-10 7:40
venkat swaminathan29-Aug-10 7:40 
QuestionUIS Application\MainDialog.Designer.cs Pin
zhiyuan1629-Aug-10 5:19
zhiyuan1629-Aug-10 5:19 
AnswerRe: UIS Application\MainDialog.Designer.cs Pin
Luc Pattyn29-Aug-10 5:24
sitebuilderLuc Pattyn29-Aug-10 5:24 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
zhiyuan1629-Aug-10 5:31
zhiyuan1629-Aug-10 5:31 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
Dan Mos29-Aug-10 5:41
Dan Mos29-Aug-10 5:41 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
zhiyuan1629-Aug-10 5:45
zhiyuan1629-Aug-10 5:45 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
Dan Mos29-Aug-10 6:02
Dan Mos29-Aug-10 6:02 
GeneralRe: UIS Application\MainDialog.Designer.cs Pin
Luc Pattyn29-Aug-10 5:43
sitebuilderLuc Pattyn29-Aug-10 5:43 
QuestionA simple question. Persistence block in C# text editor? Pin
Fred 3429-Aug-10 3:50
Fred 3429-Aug-10 3:50 
AnswerRe: A simple question. Persistence block in C# text editor? Pin
Abhinav S29-Aug-10 4:10
Abhinav S29-Aug-10 4:10 
GeneralRe: A simple question. Persistence block in C# text editor? Pin
Fred 3429-Aug-10 23:06
Fred 3429-Aug-10 23:06 
AnswerRe: A simple question. Persistence block in C# text editor? Pin
PIEBALDconsult29-Aug-10 5:18
mvePIEBALDconsult29-Aug-10 5:18 
Questiongetting "attempted to read or write protected memory in .net" when trying to create a AVI file. Pin
Member 425763228-Aug-10 20:36
Member 425763228-Aug-10 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.