test executable locks a file that I need to replace
Posted: Wed Oct 09, 2013 5:02 am
Hi
I have a script that attempts to uninstall our application before it does a clean install of our nightly build.
However after using Host.Local.RunApplication to execute the uninstaller then later when the installer is run it throws an error because it cannot replace the uninstaller file. It cannot do this because it is locked by the test executable which called Host.Local.RunApplication even though the uninstaller has long finished execution.
Can anyone tell me a way to release the file so it can be replaced by the installer without closing the instance of the test executable?
Thanks
Caleb
I have a script that attempts to uninstall our application before it does a clean install of our nightly build.
However after using Host.Local.RunApplication to execute the uninstaller then later when the installer is run it throws an error because it cannot replace the uninstaller file. It cannot do this because it is locked by the test executable which called Host.Local.RunApplication even though the uninstaller has long finished execution.
Can anyone tell me a way to release the file so it can be replaced by the installer without closing the instance of the test executable?
Thanks
Caleb