File Copy Command \ Running Python scripts for deployment
We're attempting to clean up a mess of Oracle installations. We've written a python script to go through the registry, remove all instances of Oracle and the relevant folders. Script here: http://pastebin.com/EpqspNqq
we're also installing updated 32 and 64bit ODAC drivers using Oracle's xcopy packages and setting a data source connection. For that we're including a few folders for installation.
Our package is a file copy of a folder containing all my components and then a command that launches my python script from C:\Windows\PDQDeployRunner\service-1\exec. Our issue is that it seems that once the file copy is done, the service is done and the folder gets automatically deleted.
python: can't open file 'C:\Windows\PDQDeployRunner\service-1\exec\oracle_clean_install.py': [Errno 2] No such file or directory
Is there any way to prevent this, or a smarter way to go about this?
Thanks for your insight