Home > Net >  DownloadFile exe file could not be updated
DownloadFile exe file could not be updated

Time:03-23

Consult the great spirit:
I want to realize the function of the automatic update application, use the following methods,
WebClient. DownloadFile (" download file ", "download to a local file");
All files can be downloaded and coverage, but is out of the execution of the exe file download covers, consult how solve [face] monkey2 gods: 006 PNG [/face] [face] monkey2:006 PNG [/face]

CodePudding user response:

Write a updater, update, the main program to raise the update. Exe, and then quit, by the update. Exe file update needed,
Because of the update. The function of the exe is almost impossible to change, so you can need not consider to update their own situation,
If you want to connect the update. Exe update together, that is before update, first by the main program to download the latest update,

CodePudding user response:

Write a detect and download the update exe, as initiator, called the final system can directly, name), after finish the update operation, use the Process. The Start (target Exel full path) Start the real program,
  •  Tags:  
  • C#
  • Related