ODBC Installation error with mergemodule
We have a merge module created by us and including in our multiple installers.Our product got recently moved out and we are changing the branding..in this process..we changed the installation directory and in the mergemodule when it is trying to upgrade from previous version it is installing the odbc related driver files to old folder only and failing the installation as odbc driver failed to install...I tried to change the package code of mergemodule,version,compinent id of those specific components but still same issue. Can anyone suggest how to deal with this error.
Even I have tried creating a new mergemoule from scratch and install the ODBC error but getting the same error.
When I checked the log, it is still searching in the older folder only for new msm also.
Can anyone suggest.
Please log in to answer
Posted by: ur00361883 4 years ago
I found the culprit.
The SetODBCFolders Action is changing the folder back to the previous ODBC directory to copy the odbc driver dll and I am getting the above error.
If I remove the registries of the previous ODBC entries manually, then this action not changing the directory.
Instead of manual removal, I kept the condition of above action to "0".
Could anyone please tell me the most feasible and standard approach so that I can keep this action also in sequence instead of hiding it from sequence.
Posted by: spartacus 4 years ago