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.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
ur00361883
8 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
8 years ago
If you can locate (from a verbose log of your installation) the Directory table entry that is being modified by SetODBCFolders, you could perhaps add a Set Directory Custom action (Type 35) after SetODBCFolders in the sequence to reset it to the folder you require.
Spartacus
Comments:
-
WHat is the use of the SetODBCFOlders generally, to set this directory structure? - ur00361883 7 years ago