Link to home
Start Free TrialLog in
Avatar of BigBerner
BigBerner

asked on

Merge Module problem

Hello experts,

I want to redistribute SAPI 5.1 with my application. I have read the microsoft document "How to redistribute SAPI 5.1 core components" and added the required .msm files to my project but I get the following error message ; "Unable to find module dependency with signature '<signature>' ".
I have never used merge modules before so maybe I am missing something. What is the problem here?

Thanks
Avatar of anwar ul haque
anwar ul haque
Flag of Pakistan image

I did the same thing with InstallShield Developer. and I found no error.
Avatar of BigBerner
BigBerner

ASKER

I am using VS 2003.
Surely someone must have encountered this type of error before.
I will give some more details.
I have a project that I is developed in VS2003. I am trying to add the merge modules needed for Text to Speech. I have downloaded the SAPI 5.1 redistributable .msm files. I have then right clicked on my setup project > Add > Merge Module, and then selected the following files Sp5.msm, Sp5intl.msm, Sp5ttint.msm, Spcommon.msm, Sp5ttintxp.msm.
When I build my setup project I then get a number of build errors which are all like "Unable to find module dependency with signature '<signature>' ".

I have got no idea on how to proceed from here. Any suggestions experts?

Thanks.
actually installshield has dependency scanner that vs2003 doesn't have and secondly sp5ttint.msm and sp5ttintxp.msm or sp5ttintxp.msm is only used for xp machines.
sorry there were some missing statements...i told you that sp5ttint.msm and sp5ttintxp.msm are same.You can use either spttint.msm or sp5ttintxp.msm. sp5ttintxp.msm is only used for xp machines.
::How can I edit my previous post as it contained some missing characters?
Thanks for your reply. I am not inclined towards using installshield as I have already built a fairly large project in VS2003, and as I have never used installshield don't want to go through that learning curve.
Also I am not sure what the significance is of what you are telling me about the different files. I am trying to build an app that will be used across a number of operating systems, including XP, so I am not sure what you are trying to tell me - do I not need to use all the .msm files?
Finally the link you supplied is the article I mention in my original question so have already been through that one, but thanks.
no i said you can't include both of them at one time, try to use one of them.
I tried only using one of those files but it did not make any difference.
please verify that you have all these files while you are deploying Microsoft SAPI 5.1
1)sp5.Msm
2)sp5CCInt.Msm
3)sp5Intl.Msm
4)sp5itn.Msm
5)sp5SR.Msm
6)sp5TTInt.Msm or sp5TTIntXP.Msm(XP Machine)
7)sp5Common.Msm
Did you include all these files?if so then what was the result?
thanks I have all of those files but it does not fix my problem.
did you install sapi 5.1 on your machine?
I think you need to install sapi 5.1 sdk if you have not already installed.Following path will help

http://www.microsoft.com/downloads/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en
I'm saying this because I think there is some problem in your merge modules, so try to installed merge modules, for further reference read this...
http://msdn2.microsoft.com/en-us/library/c4dtdsce.aspx

Hope this helps
I already had Sapi 5.1 SDK installed and tried uninstalling it and then reinstalling it, but it made no difference.
thats why i recommened you to install InstallShield in my first post, because it runs dependency scanner which is not available in Visual studio, I'd one once developed SAPI 5.1 with installshield and it had never create any problem. anyway I'll test this scenerio here and i hope i will find the dependency. in the meanwhile please run windows update and install DirectX 9 or above (just optional). Try to  install .Net framework 1.1 hotfix if you had not install it already.
For comparison between different installers I'd posted my comments here
https://www.experts-exchange.com/questions/21846391/Installer-Package-500-pts.html 
please take a look at this link and use this command line utility http://www.codeproject.com/dotnet/VersionVDProj.asp

Hope this works
I am still looking into this, will let you know when I have anything to add.
Ok I downloaded DirectX 9 and I had a look at the command line utility. The command line utility seems to be aimed at those that are building their own merge modules and might be having versioning problems, whereas I am simply trying to include microsoft's merge modules in my app - so I am not sure it is applicable to my situation. DirectX had not effect on my problem.

However I have found that my project is able to install without any errors and Text to speech seems to run just fine. I am wondering whether I can just ignore these error messages as the project seems to be doing what it is supposed to? What do you think?

 
ASKER CERTIFIED SOLUTION
Avatar of anwar ul haque
anwar ul haque
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
OK well I think I will just ignore it then. I have installed on a couple of different machines/operating systems and it has all worked without any errors. The fact that you have found the files to be interdependent gives me confidence.

Thanks for sticking with me on this for so long.