Jump to content
Deena

Uninstall the program

Recommended Posts

Deena

FileInstall("C:\Setup.exe",@ScriptDir&"\Setup.exe")
FileInstall("C:\SEPprep.ini",@ScriptDir&"\SEPprep.ini")
FileInstall("C:\SEPSetup.exe",@ScriptDir&"\SEPSetup.exe")
Run('Setup.exe')
$sTitle="System Center Endpoint Protection"
WinWait("System Center Endpoint Protection")
ControlClick($sTitle,"", "&Uninstall >")
Send("{Enter}")
WinWait("System Center Endpoint Protection")
ControlClick($sTitle,"", "&Finish >")
Send("{Enter}")
$sTitle="Symantec Endpoint Protection"
WinWait("Symantec Endpoint Protection")
FileDelete(@ScriptDir&'\Setup.exe')
FileDelete(@ScriptDir&'\SEPprep.ini')
FileDelete(@ScriptDir&'\SEPSetup.exe')

 

While execute the script lot of process related to script open task manager... please help me how to avoid.

Once steup.exe execute the "system center enpoint protection"  popup with uninstall button. Here they need to uninstall without user interaction (slient) that why i have added the line6 send enter autimatically uninstall the program. But here not working it was popup, manually i click uninstalltion button.

 

 

 

Share this post


Link to post
Share on other sites
water

Doesn't the product allow to uninstall using command line switches?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Deena

Script work will do the uninstallation process, but while i execute the script pop up the window manually click uninstalltion button to proceed further,

Here i'm looking for it should automatic (to click the uninstalltion button)

 

Share this post


Link to post
Share on other sites
water

I understand what you are looking for. But why search for a way to click buttons when the uninstall can run silent and hence there will be no button to click?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Deena

I have tried, there is possibilities to click uninstallation (button) automatically?

Share this post


Link to post
Share on other sites
BetaLeaf

I see you missed the forum rules on your way in. Here's a link to them. Specifically, do not ask for help in 

  • Bypassing of security measures - log-in and security dialogs, CAPTCHAs, anti-bot agents, software activation, etc.

 

 

 


False Positive Reporter - Mass email all anti virus vendors with an attachment of your program for fast and easy whitelisting.

PortableApps.com App Creation Wizard  - A simple GUI-based Wizard for creating PortableApps.

SoundBoard - Play any song or sound you want at the press of a hotkey.

My GitHub Page: https://github.com/BetaLeaf

Share this post


Link to post
Share on other sites
water

Why do you think the OP violates the forum rules?
As I understand this thread he simply wants to click the uninstall button.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
BetaLeaf
1 hour ago, water said:

Why do you think the OP violates the forum rules?
As I understand this thread he simply wants to click the uninstall button.

By bypassing the security dialog that prompts the user if they are sure they want to uninstall "system center enpoint protection", I believe they are breaking the rules.

"system center enpoint protection" is referring to Symantec Endpoint Protection. There should be no reason at all to silently bypass a security dialog that would have otherwise asked the user if they wish to uninstall the antimalware software. Looks suspicious to me. 

https://www.symantec.com/products/threat-protection/endpoint-family/endpoint-protection

Edited by BetaLeaf

False Positive Reporter - Mass email all anti virus vendors with an attachment of your program for fast and easy whitelisting.

PortableApps.com App Creation Wizard  - A simple GUI-based Wizard for creating PortableApps.

SoundBoard - Play any song or sound you want at the press of a hotkey.

My GitHub Page: https://github.com/BetaLeaf

Share this post


Link to post
Share on other sites
Chimaera

Norton has its own uninstall tool have you looked at automating that instead of the program?

@BetaLeaf I uninstall stuff like this all the time, preinstalled bloatware etc , it doesnt mean im doing something wrong.

Most people up to no good would try and bypass it rather than uninstall it

Share this post


Link to post
Share on other sites
BetaLeaf

Just being precautious. I still believe this is breaking the forum rules. Even if the OP has no ill-intentions, rules are still rules. The reason why this rule exists is because the code can be used by a malicious that is making a virus to bypass the security software. I had a similar post closed because of this reason about a month or so ago and it was explained to me by the moderator that closed it.


False Positive Reporter - Mass email all anti virus vendors with an attachment of your program for fast and easy whitelisting.

PortableApps.com App Creation Wizard  - A simple GUI-based Wizard for creating PortableApps.

SoundBoard - Play any song or sound you want at the press of a hotkey.

My GitHub Page: https://github.com/BetaLeaf

Share this post


Link to post
Share on other sites
BrewManNH

Instead of debating this ad infinitum just click the report post link and move on, this is pointless.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites
Jos

It was reported an I have closed the report, as I do not see anything illegal here and have been in the same boat a few times with trying to uninstall Symantec stuff.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
spudw2k
13 hours ago, BetaLeaf said:

By bypassing the security dialog that prompts the user if they are sure they want to uninstall "system center enpoint protection", I believe they are breaking the rules.

Now a moot point, but I think using a broad brush to paint the picture that any warning/dialog/choice/selection could be constrained into a security measure is not appropriate.  A security mechanism should be something that is clearly identifiable and has characteristics which are clearly designed to protect a system or inner workings not meant for end-user interaction.  A window with a yes or no option that acts or doesn't act based on the user's choice does not constitute a security mechanism in my opinion.  Perhaps it should be considered a safety mechanism, but those two aren't the same thing....not necessarily mutually exclusive either.  

Edited by spudw2k

Share this post


Link to post
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

×