LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merge error when createing installer for .exe

I am building the .exe file for my VI. This works fine untill I ask it to crete the Installer as well then I recieve the following error message:

Error 26096 ocurre at Build Application.vi >> Dist Call Create Intaller.vi >> Win Install Create.vi>> Win install Add Merge Modules.vi>>MSI DK Load Merge Module.vi C:\Program Files\National Instruments\Labview 6.1\applibs\distkit\redist\Modules\ActiveX Container.Msm.

Possible Reasons:

NMDK_AMM_UNSPECIFIED_MERGE_ERROR

Whats the deal???
0 Kudos
Message 1 of 12
(6,902 Views)
Jon,
You may receive this error if you installed the Visual Studio .NET recently. This behavior is due to installing a newer version of the mergemod.dll that is not compatible with the older version that LabVIEW 6.1 used in the Application Builder installers.
The same error occurs after you install Orca 2.0, because it installs mergemod.dll 2.0.3639.0.
To try to resolve this problem, perform the following steps:

Open a command prompt.

Change to the "\Program Files\Common Files\Microsoft Shared\MSI Tools" directory.

Execute the following command: regsvr32 /u mergemod.dll. This should report that the unregister was successful.

Change to the "\Program Files\National Instruments\shared\Installer" directory.

Execute the following command: regsv
r32 mergemod.dll. This should report that the register was successful.

If this doesn't solve the problem, please email us your question at ni.com/ask, and we will provide you with the proper version of mergemod.dll.

Zvezdana S.
National Instruments
Message 2 of 12
(6,901 Views)
excellent solution by Zvezdana S. Please note that you must restart LabVIEW to take this into effect. Also, I need to findout what will happen to my Orca 2.0 and .net applications? Do I need to register the newer version of mergemod.dll to make them work?
0 Kudos
Message 3 of 12
(6,901 Views)
Bingo, fixed my problem as well

thanks
0 Kudos
Message 4 of 12
(6,901 Views)

bingo !!!       fixed my problem also

 

i had installed MS Visual Studio 2005 a few weeks back

0 Kudos
Message 5 of 12
(6,441 Views)
Although this did make my installation of LabView6i's BuildInstaller work, it wrecked my installation of Visual C++ Express 2008.  Specifically the Visual Studio window opens a frame, but never paints any content inside it.  Wasn't the idea of CSLID intended to disambiguate things like this?  How is it that the same symbols were reused for different (even slightly) functionality?  I suppose that this question would best be asked of the re-user of this interface...   argh!  "The funny thing about standards is that there are so many to choose from"...   who originated that quote?

More importantly: is there a work around solution that will allow both LabView 6i and Visual Studio Express 2008 to co-exist?

Thanks.
0 Kudos
Message 6 of 12
(6,357 Views)
Hi Folks,

I did build 2 small Batch-Files to do the job (vice versa):

English Windows:
SetOldVersionOfMergeMod_dll.bat

regsvr32 /u "C:\Program Files\Common Files\Microsoft Shared\MSI Tools\MergeMod.dll"
regsvr32    "C:\Program Files\National Instruments\Shared\Installer\MergeMod.dll"


SetNewVersionOfMergeMod_dll.bat

regsvr32 /u "C:\Program Files\National Instruments\Shared\Installer\MergeMod.dll"
regsvr32    "C:\Program Files\Common Files\Microsoft Shared\MSI Tools\MergeMod.dll"


German Windows:
SetOldVersionOfMergeMod_dll.bat

regsvr32 /u "C:\Programme\Gemeinsame Dateien\Microsoft Shared\MSI Tools\MergeMod.dll"
regsvr32    "C:\Programme\National Instruments\Shared\Installer\MergeMod.dll"


SetNewVersionOfMergeMod_dll.bat

regsvr32 /u "C:\Programme\National Instruments\Shared\Installer\MergeMod.dll"
regsvr32    "C:\Programme\Gemeinsame Dateien\Microsoft Shared\MSI Tools\MergeMod.dll"




Message Edited by Willi Wipp on 06-25-2008 06:54 AM
A short reply would be nice.

SL Willi Wipp
0 Kudos
Message 7 of 12
(6,196 Views)

Hi Willi Wipp,

What kind of reply are you wanting to your posting?

Regards,
Kevin S.
Applications Engineer
National Instruments

0 Kudos
Message 8 of 12
(6,172 Views)
Hi Kevin_S,

thanks for the 'reply' 😉
This was a suggestion for ZAPS.
In the moment that's the only way that I see to work with LabVIEW 6.1
and VS.Net 2005 onm the same system.
Or do you see any other solution? The german NI-hotline doesn't  🙂
And ' A short reply would be nice' is part of my sandard sigature 😄
(see
e.g. http://www.office-loesung.de/ftopic6700_0_0_asc.php)
A short reply would be nice.

SL Willi Wipp
0 Kudos
Message 9 of 12
(6,160 Views)

Hi Willi Wipp,

Could there be another solution? .....potentially, yes. 
Do I know what it is? ....no. 
Thank you for the information you provided.

Kevin S.
Applications Engineer
National Instruments

0 Kudos
Message 10 of 12
(6,138 Views)