/build/static/layout/Breadcrumb_cap_w.png

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.
XVThnY.png

When I checked the log, it is still searching in the older folder only for new msm also.
naenK3.png

Can anyone suggest.




0 Comments   [ + ] Show comments

Answers (2)

Posted by: ur00361883 7 years ago
Black Belt
0
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 7 years ago
Black Belt
0
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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ