FeReNGi 0 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 Hide FeReNGi's signature Hide all signatures ServicesPE|LoadVMDK Share this post Link to post Share on other sites
Holger 12 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)" Hide Holger's signature Hide all signatures Old project:GUI/Tray menu with icons and colorsOther old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Share this post Link to post Share on other sites
FeReNGi 0 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. Hide FeReNGi's signature Hide all signatures ServicesPE|LoadVMDK Share this post Link to post Share on other sites
jpm 49 Posted December 8, 2006 That's more a help/support forum than a Bug report one. Share this post Link to post Share on other sites