We have built an installer that includes updater.exe as a service so that we can bypass the need to elevate permissions for Windows XP, Vista, 7, etc. We are using the updater in manual mode so that our program calls the updater each time it runs. Our program calls updater /justcheck and then if the exit code is zero we re-run updater with /checknow and then exit our program.
All of this works fine whether the user is admin or non-admin. The problem is that when updater runs and finds an update, it goes to install the update we get a "Files in use" window that shows the updater.exe is in use.
If you look at the attached screenshot you'll see the error. You'll also see that in the taskbar you can see the installer running but you can also see the updater running (in the taskbar it shows "Installing updaes for...". I think this is because the installer is trying to copy over updater.exe which is running at the time.
What am I doing wrong?
Attached to this post is the screenshot as well as the AIP files for the installer and the update. Please help!
FOLLOW US
Get the latest news in Application Packaging