卸载应用程序:关闭TOMCAT,关闭MYSQL。删除注册表,删除环境变量,删除快捷方式。
LaunchAppAndWait("net","stop mysql",WAIT);
LaunchAppAndWait(TARGETDIR+"//apache-tomcat-5.5.12//bin//shutdown.bat","",WAIT);
LaunchAppAndWait(TARGETDIR+"//MYSQL//bin//mysqld.exe","--remove MySQL",WAIT);
RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE);
szSubKey = "CATALINA_HOME";
szValue = TARGETDIR + "//apache-tomcat-5.5.12";
RegDBDeleteValue(szSubKey,szValue);
szSubKey = "JAVA_HOME";
szValue = TARGETDIR + "//jdk1.5.0_05";
RegDBDeleteValue(szSubKey,szValue);
DeleteFolderIcon (FOLDER_PROGRAMS,"xx");
DeleteFolderIcon (FOLDER_PROGRAMS,"xx");
DeleteFolderIcon (FOLDER_DESKTOP,"xx") ;
联系客服