zmaker5
February 23rd, 2009, 09:34 AM
Not sure which forum to drop this one in but here goes.
While writing some scripts to automate installation and configuration for a build, part of the suite I working with installs some microsoft windows addin type modules. This shows up in the Add/Remove programs list and by hand can be easily removed and ready for a new installation to be started.
To save time and make the testing more flexible I wanted to take a crack at having the scripts handling the un-installation. However a co worker warns it most likely is impossible to get ahold of the registry key outside of visually examining RegEdit for that addin. So this would make calling uninstall from DOS of course impossible once running a script.
So I'm coming here and a few other good sources to see if anyone has any good ideas on performing this. Basically getting the registry key of the add in autonomously and then calling uninstall on that key.
We use Mercury QTP for automated testing of our applications, but getting this to search the add/remove list for the addin whether it's there or not, and finding the right uninstall button isn't feasible.
If someone can suggest somewhere I should read up that would help too if they don't know any hints themselves.
While writing some scripts to automate installation and configuration for a build, part of the suite I working with installs some microsoft windows addin type modules. This shows up in the Add/Remove programs list and by hand can be easily removed and ready for a new installation to be started.
To save time and make the testing more flexible I wanted to take a crack at having the scripts handling the un-installation. However a co worker warns it most likely is impossible to get ahold of the registry key outside of visually examining RegEdit for that addin. So this would make calling uninstall from DOS of course impossible once running a script.
So I'm coming here and a few other good sources to see if anyone has any good ideas on performing this. Basically getting the registry key of the add in autonomously and then calling uninstall on that key.
We use Mercury QTP for automated testing of our applications, but getting this to search the add/remove list for the addin whether it's there or not, and finding the right uninstall button isn't feasible.
If someone can suggest somewhere I should read up that would help too if they don't know any hints themselves.