onestcoder Posted March 19, 2008 Posted March 19, 2008 I recently had a problem fully removing Adobe CS2 from my computer. I wasn't allowed to reinstall it to remove it properly because the installer thought is was still installed. I search Adobe's Tech Note until i found all the files and Reg entries I needed to remove and it worked. Hope this never happens to you, but this can save you from having to FORMAT your computer, so you can reinstall any Adobe CS2 Product. Here is the script to remove all traces of Adobe CS2: expandcollapse popup#include <GUIConstants.au3> GUICreate("Adobe CS2 Remover", 175, 115,-1,-1,BitAND($GUI_SS_DEFAULT_GUI, BitNOT($WS_CAPTION)), $WS_EX_TOPMOST) Opt("GUIOnEventMode", 1) $Actvate = GUICtrlCreateButton("Remove", 10, 40, 60) GUICtrlSetOnEvent($Actvate, "_remove") $exit = GUICtrlCreateButton("Exit", 104, 40, 60) GUICtrlSetOnEvent($exit, "_Terminate") $progressbar1 = GUICtrlCreateProgress (10,80,155,20) GUICtrlCreateLabel("Adobe Creative Suite 2 Remover", 10 , 10) GUISetState() While 1 Sleep(100) WEnd Func _Terminate() Sleep(100) Exit EndFunc ;==>_Terminate Func _remove() Sleep(1000) GUICtrlSetData ($progressbar1,5) RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,15) RegDelete("HKEY_CURRENT_USER\Software\", "Adobe") RegDelete("HKEY_LOCAL_MACHINE\Software\", "Adobe") GUICtrlSetData ($progressbar1,20) Sleep(2000) RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_CLASSES_ROOT\Installer\Features\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,30) Sleep(1000) RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_CLASSES_ROOT\Installer\Products\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,35) Sleep(1000) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,40) Sleep(1000) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,50) Sleep(2000) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "08E8456490400000E7A85400F0580510") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "3618C4F7952F0A940A8182759A5087CB") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "4C7BB6329144DF244090E152A7523ED4") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "C80D5F2B97E7DCF4AA4F75DA53FF6010") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "C9AAD94C8AB5A95428445EB796FDF040") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\", "EE64EBDA0E4501644B637D9ED3281900") GUICtrlSetData ($progressbar1,60) Sleep(1000) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "Adobe GoLive CS2 English") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "Adobe Illustrator CS2") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "Adobe InDesign CS2") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "Adobe Photoshop CS2") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "Adobe Photoshop CS2") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{0134A1A1-C283-4A47-91A1-92F19F960372}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{236BB7C4-4419-42FD-0409-1E257A25E34D}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{46548E80-0409-0000-7E8A-45000F855001}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{7F4C8163-F259-49A0-A018-2857A90578BC}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{ADBE46EE-54E0-4610-B436-D7E93D829100}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{B2F5D08C-7E79-4FCD-AAF4-57AD35FF0601}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\", "{C49DAA9C-5BA8-459A-8244-E57B69DF0F04}") GUICtrlSetData ($progressbar1,70) Sleep(1000) RegDelete("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\", "Adobe Version Cue CS2") RegDelete("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\", "Adobe Version Cue CS2") GUICtrlSetData ($progressbar1,80) Sleep(1000) DirRemove("C:\Documents and Settings\All Users\Application Data\Adobe", 1) DirRemove("C:\Documents and Settings\All Users\Start Menu\Programs\Adobe GoLive CS2", 1) DirRemove("C:\Documents and Settings\All Users\Start Menu\Programs\Adobe Illustrator CS2", 1) DirRemove("C:\Documents and Settings\All Users\Start Menu\Programs\Adobe ImageReady CS2", 1) DirRemove("C:\Documents and Settings\All Users\Start Menu\Programs\Adobe InDesign CS2", 1) DirRemove("C:\Documents and Settings\All Users\Start Menu\Programs\Adobe Photoshop CS2", 1) DirRemove("C:\Documents and Settings\All Users\Application Data\Adobe", 1) DirRemove("C:\WINDOWS\system32\Adobe", 1) DirRemove("C:WINDOWS\Installer\{236BB7C4-4419-42FD-0409-1E257A25E34D}", 1) DirRemove("C:WINDOWS\Installer\{7F4C8163-F259-49A0-A018-2857A90578BC}", 1) DirRemove("C:WINDOWS\Installer\{B2F5D08C-7E79-4FCD-AAF4-57AD35FF0601}", 1) GUICtrlSetData ($progressbar1,90) Sleep(1000) DirRemove("C:\Documents and Settings\" & @UserName & "\Application Data\Adobe", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Start Menu\Programs\Adobe GoLive CS2", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Start Menu\Programs\Adobe Illustrator CS2", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Start Menu\Programs\Adobe ImageReady CS2", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Start Menu\Programs\Adobe InDesign CS2", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Start Menu\Programs\Adobe Photoshop CS2", 1) DirRemove("C:\Documents and Settings\" & @UserName & "\Application Data\Adobe", 1) GUICtrlSetData ($progressbar1,95) Sleep(1000) DirRemove("C:\Program Files\Common Files\Adobe", 1) DirRemove("C:\Program Files\Adobe\", 1) GUICtrlSetData ($progressbar1,100) EndFunc Need a website: http://www.iconixmarketing.com
gseller Posted March 19, 2008 Posted March 19, 2008 Cool!! Nice to have on hand.. Thanks for sharing..
Kreatorul Posted March 19, 2008 Posted March 19, 2008 You can do something like this to many programs. It would come handy. I had problems with cs3, quicktime, acrobat and a lot of other programs.
ChewbackaGrizelda Posted November 19, 2013 Posted November 19, 2013 (edited) What file name do I save this script as so that it will run? Also, is: RegDelete("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall", "Adobe Photoshop CS2") RegDelete("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall", "Adobe Photoshop CS2") found right above: RegDelete("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall", "{0134A1A1-C283-4A47-91A1-92F19F960372}") ...an error or is it supposed to be a duplicate? Edited November 19, 2013 by ChewbackaGrizelda
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now