Jump to content

Trying to do an Automated Uninstall


Guest thuoskathir
 Share

Recommended Posts

Guest thuoskathir

I am using version 2.6. My if statements are not working correctly, can anyone help me? The problem is that if the user does have zone alarm the first if statement is true somehow, and it goes right to the "Zone Alarm Uninstalled" screen as though the executable was not there (the path is correct).

;;If statement testing if the executeable does not exist: exit if true

IfNotExist,"c:\\Program Files\\Zone Labs\\ZoneAlarm\\zlclient.exe",Goto,Exit

;;if statement testing if the executeable DOES exist: needs to be removed

IfExist,"c:\\Program Files\\Zone Labs\\ZoneAlarm\\zlclient.exe",Goto,Uninstall

Uninstall:

Run,"c:\\Program Files\\Zone Labs\\ZoneAlarm\\zauninst.exe"

;;Zonelabs Survey screen

WinWaitActive, ZoneLabs Survey,Uninstall

Send,{Enter}

;;Uninstall Complete screen

WinWaitActive, Uninstall Complete, OK

Send,{Enter}

;;Install screen

WinWaitActive, Install, Cancel

Send,{TAB}

Send,{Enter}

Goto,Exit

Exit:

Msgbox,0,Zone Alarm Unistalled,Zone Alarm is NOT on this PC

Exit

Link to comment
Share on other sites

Can anyone help me with my if statements?

<{POST_SNAPBACK}>

you could post your question in the "V2 Support" forum...

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...