/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


ODBC Installation error with mergemodule

10/31/2016 1033 views
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

Comments


All Answers

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.
Answered 10/31/2016 by: ur00361883
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
Answered 11/02/2016 by: spartacus
Black Belt

  • WHat is the use of the SetODBCFOlders generally, to set this directory structure?