MySQL Connector 卸載


MySQL Connector 安裝的時候有時候會遇到很多問題,有時候會卸載失敗,導致無法重新安裝。測試了網上各種辦法,刪文件,刪注冊表,重啟,360強行刪除都不是很有效。最后發現msizap比較有效。

msizap是微軟官方sdk中帶的工具,在知道產品標識碼{xxxxxxxxxx}的情況下可以卸載掉安裝對於相關的任何東西,卸載完之后很干凈。

msiZap.exe -T {xxxxxxxxxx}

 

另外還有一個工具是MsiInv,可以搜集已經安裝的產品的標識碼。

This tool (which stands for MSI Inventory) wraps some of the publicly documented MSI APIs to provide information about the state of all Windows Installer products, features and components that Windows Installer thinks are installed on your computer.  I say "thinks are installed" because there are some rare cases where the actual installation state of a given product can get out of sync with the information Windows Installer has stored in its internal data structures, which can cause confusion for setup packages.

不過因為MySQL Connector 的產品標識碼在錯誤的詳細信息里面能夠查看到,所以這個工具暫時沒用上。

 

參考:

http://blog.csdn.net/Lw_198x/article/details/7586489

https://msdn.microsoft.com/en-us/library/windows/desktop/aa370523(v=vs.85).aspx

https://blogs.msdn.microsoft.com/astebner/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM