FeReNGi Posted December 8, 2006 Share Posted December 8, 2006 (edited) Hello, I am trying to made an unattend deinstallation script of adobe Indesign CS2 but 2 process won't close ! RunWait('msiexec.exe /x{236BB7C4-4419-42FD-0409-1E257A25E34D} /q' , @SystemDir) RunWait('msiexec.exe /x{B2F5D08C-7E79-4FCD-AAF4-57AD35FF0601} /q' , @SystemDir) RunWait('msiexec.exe /x{7F4C8163-F259-49A0-A018-2857A90578BC} /q' , @SystemDir) RunWait('msiexec.exe /x{B74D4E10-1033-0000-0000-000000000001} /q' , @SystemDir) RunWait('msiexec.exe /x{E9787678-1033-0000-8E67-000000000001} /q' , @SystemDir) RunWait('msiexec.exe /x{786C5747-1033-0000-B58E-000000000001} /q' , @SystemDir) RunWait('msiexec.exe /x{236BB7C4-4419-42FD-0409-1E257A25E34D} /q' , @SystemDir) RunWait('msiexec.exe /x{B2F5D08C-7E79-4FCD-AAF4-57AD35FF0601} /q' , @SystemDir) RunWait('msiexec.exe /x{8EDBA74D-0686-4C99-BFDD-F894678E5B39} /q' , @SystemDir) RunWait('msiexec.exe /x{C49DAA9C-5BA8-459A-8244-E57B69DF0F04} /q' , @SystemDir) If ProcessExists("VersionCueCS2Tray.exe") Then ProcessClose("VersionCueCS2Tray.exe") If ProcessExists("mysqld-nt.exe") Then LOCAL $list = ProcessList("mysqld-nt.exe") ProcessClose($list[1][1]) EndIf If ProcessExists("VersionCueCS2.exe") Then LOCAL $list = ProcessList("VersionCueCS2.exe") ProcessClose($list[1][1]) EndIf ProcessClose("VersionCueCS2.exe") ProcessClose("mysqld-nt.exe") DirRemove("C:\Program Files\Adobe\Adobe Version Cue CS2",1) RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0134A1A1-C283-4A47-91A1-92F19F960372}") RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","Adobe Version Cue CS2") VersionCueCS2 and mysqld-nt.exe won't close and because of this i can't remove the directory. An MSI for deinstallation doesn't exist. The only way to close the process is using an external program pskill.exe but i want only to use autoit. Strange thing is that the process VersionCueCS2Tray.exe is closing and working perfecty. UPDATE : The only difference i notice is that the last one is running on my user account and the 2 above are running as system account but i am an administrator i should be able to close them. Edited December 8, 2006 by FeReNGi ServicesPE|LoadVMDK Link to comment Share on other sites More sharing options...
Holger Posted December 8, 2006 Share Posted December 8, 2006 Maybe/seems that these both are services. So try to end the services first and then try to remove it. Maybe this will also help: "mysqld-nt.exe --remove (removes MySQL-Server-service)" Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
FeReNGi Posted December 8, 2006 Author Share Posted December 8, 2006 @Holger That solves the problem of mySQL @Larry You are right there was also a service "Adobe Version Cue CS2" i didn't notice. ServicesPE|LoadVMDK Link to comment Share on other sites More sharing options...
jpm Posted December 8, 2006 Share Posted December 8, 2006 That's more a help/support forum than a Bug report one. Link to comment Share on other sites More sharing options...
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