Issues with making a Norton Uninstall Script.

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
cwink
Newbie
Posts: 14
Joined: Tue Dec 05, 2006 8:15 pm

Issues with making a Norton Uninstall Script.

Post by cwink » Tue Dec 05, 2006 8:23 pm

Hi,
I'm doing a script for our fcompany, and am having issues with performing a uninstall of norton. I find i have trouble using the regular "waits", as in each computer's timing seams to be different. I need to find out how to make the macro wait until the next window of norton to appear for the restart (keeping in mind, that throughout the uninstall, all windows have the same title.)

Here is the code:


Run Program>explorer.exe
WaitWindowOpen>My Documents
SetFocus>My Documents
Press Tab
Press Tab
send>C:\IBMTOOLS\APPS\NORTONAV
Press Enter
WaitWindowOpen>NORTONAV
SetFocus>NORTONAV
Press Tab
Press Tab
Press Tab
send>navsetup
Press Enter
WaitWindowOpen>Norton AntiVirus 2005 Setup
SetFocus>Norton AntiVirus 2005 Setup
Press Tab
Press Enter
WaitWindowChanged>
Press Enter
WaitWindowChanged>
Press Tab
Press Enter


Any help is appriciated.

:D

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Dec 05, 2006 9:11 pm

Take a look at this script:
http://www.mjtnet.com/forum/viewtopic.php?t=3034

This might give you some ideas. This script had to get over the same issue - lots of install windows with the same title.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

cwink
Newbie
Posts: 14
Joined: Tue Dec 05, 2006 8:15 pm

Post by cwink » Tue Dec 05, 2006 9:31 pm

mtettmar wrote:Take a look at this script:
http://www.mjtnet.com/forum/viewtopic.php?t=3034

This might give you some ideas. This script had to get over the same issue - lots of install windows with the same title.
Thanks Marcus, that worked like a charm! :)

The If statement is pretty clever

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts