Forum Discussion
puyopuy
14 years agoContributor
I tried to use Allen's script to uninstall my application on Windows 7. I would like to know how can I know the uninstall process is finished? I want to wait for uninstall process to finish then close "Programs and Features" window. I tried to use the following code to detect the uninstall process:
var AW = Sys.Desktop.ActiveWindow();
while(aqString.Find(AW.WndCaption, "my product name") == -1)
{
AW = Sys.Desktop.ActiveWindow(); <= endless loop
}
but above code ran forever in TestExecut but it works in TestComplete. What is the best way to get uninstall process? I'm using MSI installer to install my application.
Thank you in advance.
Puyo
var AW = Sys.Desktop.ActiveWindow();
while(aqString.Find(AW.WndCaption, "my product name") == -1)
{
AW = Sys.Desktop.ActiveWindow(); <= endless loop
}
but above code ran forever in TestExecut but it works in TestComplete. What is the best way to get uninstall process? I'm using MSI installer to install my application.
Thank you in advance.
Puyo
Related Content
- 6 months ago
- 4 years ago
Recent Discussions
- 22 hours ago