Mergemod.dll is also included in the Platform SDK for WindowsXP SP2 (version 2x of the dll), and with Orca in the PSDK (version 3x of the dll).
John Cole -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roman Semenov Sent: Friday, November 19, 2004 8:31 AM To: [EMAIL PROTECTED] Subject: [Nant-users] <msi> task requires mergemod.dll Hello, The documentation for NAnt says "To use NAnt you need the Microsoft .NET Framework SDK". The documentation for <msi> task says "Requires cabarc.exe in the path". Unfortunately this is not the whole truth. Yesterday I moved my build script from computer which has Visual Studio .NET installed to another one with Microsoft .NET Framework SDK and Microsoft Cabinet SDK (cabarc.exe) only. My build script failed with the following message: ======================================================== BUILD FAILED E:\Buildscripts\msi.build(8,4): Unable to build MSI database 'MyProductSetup.msi'. COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is either not valid or not registered. ======================================================== I found that in the case when MSI task needs to merge some MSM modules it uses mergemod.dll which is not part of Microsoft .NET Framework SDK or Microsoft Cabinet SDK. This DLL is distributed with Visual Studio .NET and several other Microsoft products. To solve this problem I copied given dll to destination computer and then used "regsvr32 mergemod.dll" to register component. After this manipulation my script began to work. I think several things should be done with NAnt / NAntContrib: 1. The mergemod.dll should be included with NAntContrib distribution. 2. The documentation for <msi> task should say that if the user installs NAnt / NAntContrib by unzipping of two zip files then it is necessary to run "regsvr32 mergemod.dll" manually. 3. If the user installs NAnt / NAntContrib using Setup Wizard (actually I don't know if such thing exists or not because I always used to download zip files from NAnt web site) then registration of mergemod.dll should happen automatically. Regards, Roman. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users ------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
