2
我有一個用VS2010編寫的安裝項目。用戶啓動軟件包,填寫所有表單,進入最後一個「安裝」按鈕,點擊它並獲得「無法安裝,因爲已經安裝了該產品的較新版本。」 。這很奇怪,因爲在顯示任何對話框表單之前,安裝程序包總是會警告已安裝的版本。這個錯誤的可能原因是什麼? 這可能是因爲有另一個產品安裝了相同的升級代碼,但具有不同的產品代碼? 日誌低於:無法安裝,因爲此產品的較新版本已安裝
Action 10:03:20: AppSearch. Searching for installed applications
Action start 10:03:20: AppSearch.
Action ended 10:03:20: AppSearch. Return value 0.
Action 10:03:20: FindRelatedProducts. Searching for related applications
Action start 10:03:20: FindRelatedProducts.
Action ended 10:03:20: FindRelatedProducts. Return value 0.
Action 10:03:20: ERRCA_CANCELNEWERVERSION.
Action start 10:03:20: ERRCA_CANCELNEWERVERSION.
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Unable to install because a newer version of this product is already installed.
MSI (s) (E8:B4) [10:03:27:248]: Product: Contact Manager -- Unable to install because a newer version of this product is already installed.
Action ended 10:03:27: ERRCA_CANCELNEWERVERSION. Return value 3.
Action ended 10:03:27: INSTALL. Return value 3.
以及如何解決上述問題?如何在安裝前不進行手動卸載而降級? – 2015-08-06 15:24:21