title: Custom Application updater
body: <p>I have created a code, which compares XML files on the client side (in PC) with the XML file located on the FTP server; where once it detects that client is running older version of the program, it will download the latest build (so that user has always up to date program).</p>
  
  <p>Here is the trick. Due to the fact, that I am overwriting files at run-time, I had to create an external console application which is being called from the main app if user wants to update. This way, first console application is executed and afterwards main app is closed, so that no files are locked by the system (application's .exe file would otherwise be locked and we could not replace it with the new one).</p>
  
  <p>This process runs perfectly, if it is being installed somewhere else other than under the system folder (by that I mean e.g. <code>C:\Program Files\</code> drive). If user has decided to install main application there, then suddenly my app crashes as it does not have admin privileges.</p>
  
  <p>I am using Install Shield LE when disbursing this app, and users that are using this program are not administrators (which means that I go to every computer and type admin password when I/users install this program).</p>
  
  <p>Is there a way, how to execute my updated console application with admin rights, or how to define via Install Shield that once this app has been executed, I always want it to be executed as admin?</p>
  
  <p>Hope that my explanation has not been confusing. I am more than happy to share additional details if necessary, as I need to figure out how to solve this thing.</p>