Jump to content
Sign in to follow this  
forever0donotknowme

need help in a complex issue

Recommended Posts

forever0donotknowme

hello my friedns

maybe i am inexperienced and not like you but i learn this scripts in short period but really I had difficulty in removing the program that called internet download manger

i make some scripts to uninstall that program automaticlly but there are some problems that do not complete uninstalling and i want to hide restart message that show in end of unistalling

what is step to hide restart message that display in end of uninstalling

Run(@ProgramFilesDir&"Internet Download ManagerUninstall.exe")
WinWaitActive("Select Uninstall Method","",1008)
Sleep(500)
ControlClick ("Select Uninstall Method","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)

WinWaitActive("IDM Uninstall","")
Sleep(500)
ControlClick ("IDM Uninstall","",1008)
Edited by forever0donotknowme

Share this post


Link to post
Share on other sites
Skitty

Your title is a little misleading.


Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, forever0donotknowme, welcome to the forum. Unfortunately, Internet Download Manager is one of those craptacular programs that in no way supports a clean uninstall. It always leaves behind tons of files and registry entries, even if you perform the uninstall per the company's instructions. The only success I have had for customers trying to get rid of this program is the script below, which can be run completely silently. Please note this is for the newest version. Hope it helps.

ProcessClose("IDMan.exe")
ProcessClose("IEMonitor.exe")

RegDelete("HKCRCLSID{0055C089-8582-441B-A0BF-17B458C2A3A8}")
RegDelete("HKCRCLSID{0F947660-8606-420A-BAC6-51B84DD22A47}")
RegDelete("HKCRCLSID{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}")
RegDelete("HKCRCLSID{4764030F-2733-45B9-AE62-3D1F4F6F2861}")
RegDelete("HKCRCLSID{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}")
RegDelete("HKCRCLSID{5312C54E-A385-46B7-B200-ABAF81B03935}")
RegDelete("HKCRCLSID{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}")
RegDelete("HKCRCLSID{7D11E719-FF90-479C-B0D7-96EB43EE55D7}")
RegDelete("HKCRCLSID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}")
RegDelete("HKCRCLSID{CDC95B92-E27C-4745-A8C5-64A52A78855D}")
RegDelete("HKCRCLSID{CDD67718-A430-4AB9-A939-83D9074B0038}")
RegDelete("HKCRTypeLib{37294E01-DB54-43AF-9D50-93FF7267DF5D}")
RegDelete("HKCRTypeLib{3BDFC55C-ED33-43BB-9A77-57C2AF4B56EF}")
RegDelete("HKCRTypeLib{5518B636-6884-48CA-A9A7-1CFD3F3BA916}")
RegDelete("HKCRTypeLib{6A89524B-E1B6-4D71-972A-8FD53F240936}")
RegDelete("HKCRTypeLib{ECF21EAB-3AA8-4355-82BE-F777990001DD}")
RegDelete("HKCUSoftwareDownloadManager")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsDragDrop{19129CDA-AFC0-4330-99BC-C5A834F89006}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsElevationPolicy{1902485B-CE75-42C1-BA2D-57E660793D9A}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsElevationPolicy{E0DACC63-037F-46EE-AC02-E4C7B0FBFEB4}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerMenuExtDownload all links with IDM")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerMenuExtDownload with IDM")
RegDelete("HKCUSoftwareMicrosoftWindowsCurrentVersionRun", "IDMan")
RegDelete("HKLMSOFTWAREInternet Download Manager")
RegDelete("HKLMSOFTWAREMicrosoftInternet ExplorerLow RightsDragDrop{F6E1B27E-F2DA-4919-9DBD-CAB90A1D662B}")
RegDelete("HKLMSOFTWAREMicrosoftInternet ExplorerLow RightsElevationPolicy{E0DACC63-037F-46EE-AC02-E4C7B0FBFEB4}")
RegDelete("HKLMSOFTWAREMicrosoftWindowsCurrentVersionApp ManagementARPCacheInternet Download Manager")
RegDelete("HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallInternet Download Manager")
RegDelete("HKLMSYSTEMControlSet001ServicesIDMTDI")

Sleep(3000)

DirRemove(@UserProfileDir & "Application DataIDM", 1)
DirRemove(@ProgramFilesDir & "Internet Download Manager", 1)

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
forever0donotknowme

Your title is a little misleading.

ok i am sorry

but now i should help me

Share this post


Link to post
Share on other sites
forever0donotknowme

Hi, forever0donotknowme, welcome to the forum. Unfortunately, Internet Download Manager is one of those craptacular programs that in no way supports a clean uninstall. It always leaves behind tons of files and registry entries, even if you perform the uninstall per the company's instructions. The only success I have had for customers trying to get rid of this program is the script below, which can be run completely silently. Please note this is for the newest version. Hope it helps.

ProcessClose("IDMan.exe")
ProcessClose("IEMonitor.exe")

RegDelete("HKCRCLSID{0055C089-8582-441B-A0BF-17B458C2A3A8}")
RegDelete("HKCRCLSID{0F947660-8606-420A-BAC6-51B84DD22A47}")
RegDelete("HKCRCLSID{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}")
RegDelete("HKCRCLSID{4764030F-2733-45B9-AE62-3D1F4F6F2861}")
RegDelete("HKCRCLSID{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}")
RegDelete("HKCRCLSID{5312C54E-A385-46B7-B200-ABAF81B03935}")
RegDelete("HKCRCLSID{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}")
RegDelete("HKCRCLSID{7D11E719-FF90-479C-B0D7-96EB43EE55D7}")
RegDelete("HKCRCLSID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}")
RegDelete("HKCRCLSID{CDC95B92-E27C-4745-A8C5-64A52A78855D}")
RegDelete("HKCRCLSID{CDD67718-A430-4AB9-A939-83D9074B0038}")
RegDelete("HKCRTypeLib{37294E01-DB54-43AF-9D50-93FF7267DF5D}")
RegDelete("HKCRTypeLib{3BDFC55C-ED33-43BB-9A77-57C2AF4B56EF}")
RegDelete("HKCRTypeLib{5518B636-6884-48CA-A9A7-1CFD3F3BA916}")
RegDelete("HKCRTypeLib{6A89524B-E1B6-4D71-972A-8FD53F240936}")
RegDelete("HKCRTypeLib{ECF21EAB-3AA8-4355-82BE-F777990001DD}")
RegDelete("HKCUSoftwareDownloadManager")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsDragDrop{19129CDA-AFC0-4330-99BC-C5A834F89006}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsElevationPolicy{1902485B-CE75-42C1-BA2D-57E660793D9A}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerLow RightsElevationPolicy{E0DACC63-037F-46EE-AC02-E4C7B0FBFEB4}")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerMenuExtDownload all links with IDM")
RegDelete("HKCUSoftwareMicrosoftInternet ExplorerMenuExtDownload with IDM")
RegDelete("HKCUSoftwareMicrosoftWindowsCurrentVersionRun", "IDMan")
RegDelete("HKLMSOFTWAREInternet Download Manager")
RegDelete("HKLMSOFTWAREMicrosoftInternet ExplorerLow RightsDragDrop{F6E1B27E-F2DA-4919-9DBD-CAB90A1D662B}")
RegDelete("HKLMSOFTWAREMicrosoftInternet ExplorerLow RightsElevationPolicy{E0DACC63-037F-46EE-AC02-E4C7B0FBFEB4}")
RegDelete("HKLMSOFTWAREMicrosoftWindowsCurrentVersionApp ManagementARPCacheInternet Download Manager")
RegDelete("HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallInternet Download Manager")
RegDelete("HKLMSYSTEMControlSet001ServicesIDMTDI")

Sleep(3000)

DirRemove(@UserProfileDir & "Application DataIDM", 1)
DirRemove(@ProgramFilesDir & "Internet Download Manager", 1)

thanks my sir

but i want someone correct my wrong script that remove idm automaticlly and windows are show for every one

your post is very good but i want know automaticlly uninstalling script

Share this post


Link to post
Share on other sites
Skitty

The reason you're getting the restart message is because the program used to do the cleanup is setting the message, create your own uninstaller.

Use the one posted above and or this one found on google and make yourself a customized version of the uninstaller.

@echo off
rem Coded by Ahmed Sadman Muhib
rem I request you not to edit this code (if you don't have knowledge about registry) as registry editing is dangerous. Any mistake will surely harm
rem Version 1.0 changes:
rem Some invalid path fixed, restart was made more compitable by using -f switch, made compatiblilty for 64bit systems.
rem ************************************************************************************************
color 80
title IDM Registy Cleaner 1.0 - By Ahmed Sadman
echo Deleting....
reg delete "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun" /v IDMan /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesAppID{0F947660-8606-420A-BAC6-51B84DD22A47}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesAppID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{0055C089-8582-441B-A0BF-17B458C2A3A8}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{0F947660-8606-420A-BAC6-51B84DD22A47}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f
rem Subkey Exists
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{4764030F-2733-45B9-AE62-3D1F4F6F2861}" /f
rem From here. Some's subkey exists and surely be delted.
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{5312C54E-A385-46B7-B200-ABAF81B03935}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{7D11E719-FF90-479C-B0D7-96EB43EE55D7}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{CDC95B92-E27C-4745-A8C5-64A52A78855D}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{CDD67718-A430-4AB9-A939-83D9074B0038}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.IDMDwnlMgr" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.IDMDwnlMgr.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.LinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.LinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.V2LinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.V2LinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.VLinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.VLinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIdmfsa.IDMEFSAgent" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIdmfsa.IDMEFSAgent.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMGetAll.IDMAllLinksProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMGetAll.IDMAllLinksProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMHelperLinksStorage" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMHelperLinksStorage.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMIEHlprObj" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMIEHlprObj.1" /f
rem Again those numbers
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{33AEF752-FB86-4787-9ED1-6010528F5FA3}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{356E6235-B055-46D9-8B32-BDC2266C9DAB}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{6EDC7F8E-EB3D-4F9A-B693-216F07C94D74}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{72B7361C-3568-4392-BCCD-D912CD5C1169}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{98D060EC-53AF-4F61-8180-43C507C9FF94}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{BC69364C-34D7-4225-B16F-8595C743C775}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{C7798BD6-34AF-4925-B01C-450C9EAD2DD9}" /f
rem End of Another directory
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{37294E01-DB54-43AF-9D50-93FF7267DF5D}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{3BDFC55C-ED33-43BB-9A77-57C2AF4B56EF}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{5518B636-6884-48CA-A9A7-1CFD3F3BA916}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{6A89524B-E1B6-4D71-972A-8FD53F240936}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREInternet Download Manager" /f
if not exist "C:Program Files (x86)Internet Download Manager" (
del /f /q "C:Program FilesInternet Download Manager*.*"
) else (
del /f /q "C:Program Files (x86)Internet Download Manager*.*"
)
shutdown -r -t 10 -f -c "Your computer needs to be restarted to complete the process"
rem END OF CODE ++++ BY AHMED SADMAN MUHIB  EMAIL: muhib96@gmx.com
exit
Edited by THAT1ANONYMOUSEDUDE

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
forever0donotknowme

The reason you're getting the restart message is because the program used to do the cleanup is setting the message, create your own uninstaller.

Use the one posted above and or this one found on google and make yourself a customized version of the uninstaller.

@echo off
rem Coded by Ahmed Sadman Muhib
rem I request you not to edit this code (if you don't have knowledge about registry) as registry editing is dangerous. Any mistake will surely harm
rem Version 1.0 changes:
rem Some invalid path fixed, restart was made more compitable by using -f switch, made compatiblilty for 64bit systems.
rem ************************************************************************************************
color 80
title IDM Registy Cleaner 1.0 - By Ahmed Sadman
echo Deleting....
reg delete "HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun" /v IDMan /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesAppID{0F947660-8606-420A-BAC6-51B84DD22A47}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesAppID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{0055C089-8582-441B-A0BF-17B458C2A3A8}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{0F947660-8606-420A-BAC6-51B84DD22A47}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{436D67E1-2FB3-4A6C-B3CD-FF8A41B0664D}" /f
rem Subkey Exists
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{4764030F-2733-45B9-AE62-3D1F4F6F2861}" /f
rem From here. Some's subkey exists and surely be delted.
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{52F6F7BD-DF73-44B3-AE13-89E1E1FB8F6A}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{5312C54E-A385-46B7-B200-ABAF81B03935}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{7D11E719-FF90-479C-B0D7-96EB43EE55D7}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{AC746233-E9D3-49CD-862F-068F7B7CCCA4}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{CDC95B92-E27C-4745-A8C5-64A52A78855D}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{CDD67718-A430-4AB9-A939-83D9074B0038}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.IDMDwnlMgr" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.IDMDwnlMgr.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.LinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.LinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.V2LinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.V2LinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.VLinkProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesDownlWithIDM.VLinkProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIdmfsa.IDMEFSAgent" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIdmfsa.IDMEFSAgent.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMGetAll.IDMAllLinksProcessor" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMGetAll.IDMAllLinksProcessor.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMHelperLinksStorage" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMHelperLinksStorage.1" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMIEHlprObj" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesIDMIECC.IDMIEHlprObj.1" /f
rem Again those numbers
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{33AEF752-FB86-4787-9ED1-6010528F5FA3}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{356E6235-B055-46D9-8B32-BDC2266C9DAB}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{6B9EB066-DA1F-4C0A-AC62-01AC892EF175}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{6EDC7F8E-EB3D-4F9A-B693-216F07C94D74}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{72B7361C-3568-4392-BCCD-D912CD5C1169}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{98D060EC-53AF-4F61-8180-43C507C9FF94}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{BC69364C-34D7-4225-B16F-8595C743C775}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesInterface{C7798BD6-34AF-4925-B01C-450C9EAD2DD9}" /f
rem End of Another directory
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{37294E01-DB54-43AF-9D50-93FF7267DF5D}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{3BDFC55C-ED33-43BB-9A77-57C2AF4B56EF}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{5518B636-6884-48CA-A9A7-1CFD3F3BA916}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{6A89524B-E1B6-4D71-972A-8FD53F240936}" /f
reg delete "HKEY_LOCAL_MACHINESOFTWAREInternet Download Manager" /f
if not exist "C:Program Files (x86)Internet Download Manager" (
del /f /q "C:Program FilesInternet Download Manager*.*"
) else (
del /f /q "C:Program Files (x86)Internet Download Manager*.*"
)
shutdown -r -t 10 -f -c "Your computer needs to be restarted to complete the process"
rem END OF CODE ++++ BY AHMED SADMAN MUHIB  EMAIL: muhib96@gmx.com
exit

this batch file

i am sure there is steps to hide restart message

Share this post


Link to post
Share on other sites
Skitty

this batch file

i am sure there is steps to hide restart message

Yes, it's a batch file, and I don't think you're understanding me correctly either.

Yes, there are steps to hide the restart message but that's not a exactly a clean way of doing this depending on the type of restart message you're talking about, maybe you can just hide the windows by getting a handle to it and setting its state to hidden but it will still be there.

What we're trying to tell you is that it's better to do the uninstillation manually and avoid using the default uninstaller because it just plain sucks, this way you'll have a little more control over what happens, can you at least post a screencap of the restart message? is this a system message or a message generated by the application that performs the uninstallation?

But if you insist, you can use this very simple code to do this.

$hWnd = WinGetHandle("Name of window goes here")
WinSetState($hWnd, "", @SW_HIDE) ;hide it
Edited by THAT1ANONYMOUSEDUDE

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
forever0donotknowme

Yes, it's a batch file, and I don't think you're understanding me correctly either.

Yes, there are steps to hide the restart message but that's not a exactly a clean way of doing this depending on the type of restart message you're talking about, maybe you can just hide the windows by getting a handle to it and setting its state to hidden but it will still be there.

What we're trying to tell you is that it's better to do the uninstillation manually and avoid using the default uninstaller because it just plain sucks, this way you'll have a little more control over what happens, can you at least post a screencap of the restart message? is this a system message or a message generated by the application that performs the uninstallation?

But if you insist, you can use this very simple code to do this.

$hWnd = WinGetHandle("Name of window goes here")
WinSetState($hWnd, "", @SW_HIDE) ;hide it

please can you edit in my script to work correctly

Run(@ProgramFilesDir&"Internet Download ManagerUninstall.exe")
WinWaitActive("Select Uninstall Method","",1008)
Sleep(500)
ControlClick ("Select Uninstall Method","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("IDM Uninstall","")
Sleep(500)
ControlClick ("IDM Uninstall","",1008)

Share this post


Link to post
Share on other sites
Skitty

please can you edit in my script to work correctly

Run(@ProgramFilesDir&"Internet Download ManagerUninstall.exe")
WinWaitActive("Select Uninstall Method","",1008)
Sleep(500)
ControlClick ("Select Uninstall Method","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("IDM Uninstall","")
Sleep(500)
ControlClick ("IDM Uninstall","",1008)

I would, but there's a problem, I do not know the title name of the window you are trying to hide, if you were to post a screen shot (a picture of the restart window) maybe a could know what should go in the code, but I do not know the name of it and it will most likely not work unless I knew its title.

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post


Link to post
Share on other sites
forever0donotknowme

I would, but there's a problem, I do not know the title name of the window you are trying to hide, if you were to post a screen shot (a picture of the restart window) maybe a could know what should go in the code, but I do not know the name of it and it will most likely not work unless I knew its title.

oh really u do not use internet download manger

this is impossible

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, forever0donotknowme. Members of this forum are not in the habit of writing your code for you, especially when you do not seem particularly eager to learn about the language. Last time for me:

Change the last line in your original code:

ControlClick ("IDM Uninstall","",1008)

to this:

WinClose("IDM Uninstall", "")

This will close the window before the end user really gets a chance to see it, and will not reboot the box.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
forever0donotknowme

Hi, forever0donotknowme. Members of this forum are not in the habit of writing your code for you, especially when you do not seem particularly eager to learn about the language. Last time for me:

Change the last line in your original code:

ControlClick ("IDM Uninstall","",1008)

to this:

WinClose("IDM Uninstall", "")

This will close the window before the end user really gets a chance to see it, and will not reboot the box.

thank you very much

but uninstall do not comploete autamtically -- you should press finish to complete uninstall --- can any body help me

Share this post


Link to post
Share on other sites
forever0donotknowme

thank you very much

but uninstall do not comploete autamtically -- you should press finish to complete uninstall --- can any body help me

i wait you to edit this script

Share this post


Link to post
Share on other sites
JohnQSmith

i wait you to edit this script

Wow! Lazy much? :oops:


Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Share this post


Link to post
Share on other sites
forever0donotknowme

Wow! Lazy much? Posted Image

do you have internet download manger??

if you have

please test next script

Run(@ProgramFilesDir&"Internet Download ManagerUninstall.exe")
WinWaitActive("Select Uninstall Method","",1008)
Sleep(500)
ControlClick ("Select Uninstall Method","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)
WinWaitActive("Perform Uninstall","",1008)
Sleep(500)
ControlClick ("Perform Uninstall","",1008)

WinWaitActive("IDM Uninstall","")
Sleep(500)
WinClose("IDM Uninstall", "")

removing program is not autmatically but need u to press some botton

i want the script work automatically

Edited by forever0donotknowme

Share this post


Link to post
Share on other sites
JLogan3o13
forever0donotknowme, as I mentioned, we are not in the habit of writing your code for you, especially when you are so blatantly demanding, and MOST especially when you have been pointed toward the solution by not one but two members. I suggest you check out http://www.vworker.com/ if you want someone to do all the work for you.

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
forever0donotknowme

forever0donotknowme, as I mentioned, we are not in the habit of writing your code for you, especially when you are so blatantly demanding, and MOST especially when you have been pointed toward the solution by not one but two members. I suggest you check out http://www.vworker.com/ if you want someone to do all the work for you.

i am sorry , but i am new and do not know your rules

Share this post


Link to post
Share on other sites
JohnQSmith

In response to your PM, no.

forever0donotknowme

Sent 4 minutes ago

can you help me in that script

Edit:

i am sorry , but i am new and do not know your rules

I can however help you with that...

http://autoitscript.com/forum/forum-2/announcement-13-forum-rules/

Edited by JohnQSmith

Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×