#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_outfile=Hitman Key Removal.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=Future Tank X-1
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.6.1
Author: Future Tank X-1
Script Function: Hitman Pro 3.5 Key Removal
#ce ----------------------------------------------------------------------------
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#region GUI
$HitmanPro = GUICreate("HitmanPro", 202, 102, 223, 238)
$Reset = GUICtrlCreateButton("Remove", 8, 48, 65, 25)
$Run = GUICtrlCreateButton("Run Hitman Pro 3.5", 88, 48, 105, 25)
$Copyright = GUICtrlCreateLabel("Copyright ® 2010, Future Tank X-1", 8, 80, 196, 17)
$Inf = GUICtrlCreateLabel("Hitman Pro 3.5 Key Removal", 16, 16, 164, 17)
GUISetState(@SW_SHOW)
#Endregion
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Reset
If Not FileExists(@AppDataCommonDir & "\Hitman Pro") Then
MsgBox(16, "Error", "The Program Is Not installed")
ContinueLoop
EndIf
If ProcessExists("HitmanPro35.exe") Then
MsgBox(16, "Error", "Hitman Pro 3.5 is running.")
ContinueLoop
EndIf
FileDelete(@AppDataCommonDir & "\Hitman Pro\*.*")
RegDelete("HKLM\SOFTWARE\Hitman Pro")
MsgBox(64, "Hitman Pro 3.5 Key Removal", "Success !!")
Case $Run
If ProcessExists("HitmanPro35.exe") Then
MsgBox(16, "Error", "Hitman Pro 3.5 is running.")
ContinueLoop
EndIf
Run(@ProgramFilesDir & "\Hitman Pro 3.5\HitmanPro35.exe")
EndSwitch
WEnd