AI_AppSearchEx: Property: RESULT_PROPERTY, Signature: {685207F5-E3C2-492E-8115-2AB085B3E97B}
MSI (c) (B8!74) [15:54:58:547]: PROPERTY CHANGE: Adding RESULT_PROPERTYAiVerMin property. Its value is '0.1.0'.
MSI (c) (B8!74) [15:54:58:574]: PROPERTY CHANGE: Adding RESULT_PROPERTYAiVerMax property. Its value is '3.9.9'.
Action 15:54:58: .
:
Action ended 15:54:58: AI_AppSearchEx. Return value 1.
MSI (c) (B8:04) [15:54:58:640]: Doing action: FindRelatedProducts
Action 15:54:58: FindRelatedProducts. Searching for related applications
Action start 15:54:58: FindRelatedProducts.
Action ended 15:54:58: FindRelatedProducts. Return value 1.
Action start 15:55:21: AppSearch.
MSI (s) (24:68) [15:55:21:387]: Skipping AppSearch action: already done on client side
Action ended 15:55:21: AppSearch. Return value 0.
I add an expanded search which searches upgradecode, say the property is RESULT_PROPERTY, search range is from 0.1.0 to 3.9.9
In custom aciton, I add a custom aciton which does
MSIEXEC.exe /x {21D0F841-65A2-4A42-AA56-D7EF238968DE} /qn
Condition is
(Not Installed) And RESULT_PROPERTY > "0.0.0"
Basically I want to do is: try to find a product with the specified upgradecode, if found, uninstall it siliently.
Otherwise, do nothing.
This seems working fine. However, once in a while, I notice during install, there is an error window saying something Excel stops working... and it stays less than a second and disappears, and my product installs fine.
Though installer works fine, the window is annoying. Pls help. thanks
The following is part of log when that annoying window shows up during install
MSI (s) (24:68) [15:55:21:443]: Doing action: AI_AppSearchEx
Action start 15:55:21: AI_AppSearchEx.
MSI (s) (24:68) [15:55:21:484]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (s) (24:68) [15:55:21:506]: Transforming table CustomAction.
MSI (s) (24:68) [15:55:21:526]: Note: 1: 2262 2: Binary 3: -2147287038
MSI (s) (24:68) [15:55:21:548]: Transforming table Binary.
MSI (s) (24:E8) [15:55:21:590]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI303B.tmp, Entrypoint: DoAppSearchEx
MSI (s) (24!B0) [15:55:21:661]: Note: 1: 2262 2: AI_AppSearchEx 3: -2147287038
MSI (s) (24!B0) [15:55:21:698]: Transforming table AI_AppSearchEx.
MSI (s) (24!B0) [15:55:21:721]: PROPERTY CHANGE: Adding RESULT_PROPERTYAiVerMin property. Its value is '0.1.0'.
MSI (s) (24!B0) [15:55:21:737]: PROPERTY CHANGE: Adding RESULT_PROPERTYAiVerMax property. Its value is '3.9.9'.
Action ended 15:55:21: AI_AppSearchEx. Return value 1.
FOLLOW US
Get the latest news in Application Packaging