Windows Service Silent Update: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 66: Line 66:
*The service will execute the update with updater.exe under the context of its own session (session 0) using CreateProcess.  
*The service will execute the update with updater.exe under the context of its own session (session 0) using CreateProcess.  
*The path of updater.exe will be a copy of the updater.exe which exists inside the service directory.  (A copy in case the original gets overwritten during the update).
*The path of updater.exe will be a copy of the updater.exe which exists inside the service directory.  (A copy in case the original gets overwritten during the update).
*The post update process (helper.exe) currently does i) system level stuff, and ii) user level stuff.  This component will be split in 2.  The system level stuff will also be executed under session 0 using CreateProcess. The user level stuff will be be executed under the parsed session ID and always uses Windows Station "winsta0" and Windows Desktop "Default" to create the process in.  
*The post update process (helper.exe) currently does i) system level stuff, and ii) user level stuff.  This component will be split in 2.  The system level stuff will also be executed under session 0 using CreateProcess. The user level stuff will be executed under the parsed session ID and always uses Windows Station "winsta0" and Windows Desktop "Default" to create the process in.  


  <nowiki>STARTUPINFO si = {0};
  <nowiki>STARTUPINFO si = {0};
Confirmed users
394

edits