Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MDAC 2.7 not being installed from MM


14 replies to this topic

jmorgret

jmorgret
  • Members
  • 19 posts

Posted 12 January 2004 - 19:33

I have added the MDAC 2.7 merge module to my project but when I run the setup, MDAC 2.7 is never installed. I created a log file when I ran the setup and there are two references to MDAC in the log. Early in the log it says something to the effect MDAC; absent. Later the log reads MDAC;null.

If anyone has any ideas why this might be happening please let me know.

Thanks,

Jennifer

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 January 2004 - 09:11

From which source did you get this module? How is it supposed to work?

jmorgret

jmorgret
  • Members
  • 19 posts

Posted 13 January 2004 - 21:55

I downloaded the merge module from InstallShield. I thought it should just work if I selected it in the Merge Modules view. I need it to install MDAC 2.7 if there is any version lower than 2.7 found on the machine.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 14 January 2004 - 09:19

That's strange. What are the installed, request, and action states for MDAC in the two log locations? Maybe you can post the relevant log lines here.
Is this a fresh install or are you installing an update?

jmorgret

jmorgret
  • Members
  • 19 posts

Posted 14 January 2004 - 21:04

This is a fresh install not an update. The log has the following lines:

MSI (s) (30:D0): Component: MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF; Installed: Absent; Request: Local; Action: Local

MSI (s) (30:D0): Component: __MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA8765; Installed: Null; Request: Local; Action: Local
MSI (s) (30:D0): Component: __MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA8766; Installed: Null; Request: Local; Action: Local

Action start 10:56:50: CheckForMDACInstall.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF.
MSI (s) (30:D0): Creating MSIHANDLE (161) of type 790542 for thread 976
MSI (s) (30:D0): Creating MSIHANDLE (162) of type 0 for thread 976
MSI (s) (30:D0): Closing MSIHANDLE (162) of type 0 for thread 976
MSI (s) (30:D0): Closing MSIHANDLE (161) of type 790542 for thread 976
Action ended 10:56:50: CheckForMDACInstall.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF. Return value 0.
MSI (s) (30:D0): Skipping action: DisplayErrorMessage.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF (condition is false)
MSI (s) (30:D0): Skipping action: InstallMDAC.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF (condition is false)
MSI (s) (30:D0): Skipping action: MDAC_RebootAtEnd.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF (condition is false)

The version of MDAC that is installed on this machine is 2.53.

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 14 January 2004 - 22:42

I would open the merge module in Installshield Developer, go to the direct editor and check the conditions associated with the different components.
Regards
-Stein Åsmul

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 15 January 2004 - 08:22

I would be interested in the condition that's used for this custom action in the merge module: InstallMDAC.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF


jmorgret

jmorgret
  • Members
  • 19 posts

Posted 15 January 2004 - 22:03

There are no conditions listed for the MDAC component or the custom action. Are there supposed to be conditions?

I have contacted InstallShield support. Their answer was that the setup was determining that MDAC does not need to be updated even though the current version is 2.53. They suggested that I just run the MDAC install manually from the setup. Not much help.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 16 January 2004 - 17:43

I don't mean a condition on a component, but on the custom action in the ModuleInstallExecute or ModuleInstallUI sequence table

jmorgret

jmorgret
  • Members
  • 19 posts

Posted 16 January 2004 - 20:43

InstallMDAC.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF
Condition: ($MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF = 3) AND (INSTALL_MDAC=1)

From the ModuleInstallExecuteSequence

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 17 January 2004 - 09:07

Judging from the log file you posted the first part of the condition should be true. What's the value of the INSTALL_MDAC property in the log?

wolfUkr

wolfUkr
  • Members
  • 24 posts

Posted 25 May 2004 - 20:31

Why $MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF = 3. What mean this value?
Can I write condition where compare different version MDAC, and if MDAC in merge module was early - install that package.
I insert Merge Module Custom Action, before InstallWelcome.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 27 May 2004 - 11:31

QUOTE

Why $MDAC27.C9C35FC7_5AEE_4C1E_8BD2_80ED9FA87FFF = 3. What mean this value?

This means that the custom action should run only if the component named MDAC27.<Merge Module GUID> is selected for installation. This is used to make sure the MDAC install only runs if the feature associated with the merge module is selected for installation.
QUOTE
Can I write condition where compare different version MDAC, and if MDAC in merge module was early - install that package.

I believe the merge module does this internally in another custom action and sets the INSTALL_MDAC property accordingly. You could modify the merge module to use another (or additional) property that you set based on a system search.

Sillen

Sillen
  • Members
  • 1 posts

Posted 24 November 2004 - 16:17


Hi (My first message here Sweet biggrin.gif )

I had exactly the same problem but after some research I found a solution. I used the MDAC27ENU.msm (version 2.71.9040.2 from InstallShields download page) but it didn’t install MDAC. I found that in the MergeModule is a VBscript called Check and in that script is a property called MDAC27_SETUP_VER used but there is no property called this in the Merge Module. So the solution is to add a property MDAC27_SETUP_VER with the value 2.71.9040.2 to your installation then it works fine. I think this is a bug in the SP1 version of the MDAC MergeModule because the old MSM (version 2.70.9001.0) don’t use the property MDAC27_SETUP_VER but MDAC_SETUP_VER.

/Sillen

SourceList

SourceList
  • Members
  • 15 posts

Posted 24 June 2005 - 16:27

Isn't that supposed to be set via a system search for MDAC on the machine (using the Reglocator Table etc)?

Seems odd that you'd want to specify it on the command line or set it in the MSM itself?
James
~~~~~
dotMSI.com