Hi,

I'm trying to build an MSI that includes Crystal Reports, but I can't get the regwiz merge module to include properly.  I have the following snipprt in my build script:

            <mergemodules>
                <merge feature="F_DASetup">
                    <modules>
                        <include name="References\external\Crystal\Crystal_Database_Access2003.msm" />
                        <include name="References\external\Crystal\Crystal_Database_Access2003_enu.msm" />
                        <include name="References\external\Crystal\Crystal_Managed2003.msm" />
                        <include name="References\external\Crystal\Crystal_regwiz2003.msm" />
                    </modules>
                    <configurationitems>
                        <configurationitem module="Crystal_regwiz2003.msm" name="License Key" value="xxxxx-xxxxxxx-xxxxxxx" />
                    </configurationitems>
                </merge>
            </mergemodules>

However when I compile the msi, I get a COM exception from the task:

      [msi] Storing Merge Modules:
      [msi]  Crystal_Database_Access2003.msm
      [msi]   Configurable item(s):
      [msi]  Crystal_Database_Access2003_enu.msm
      [msi]   Configurable item(s):
      [msi]  Crystal_Managed2003.msm
      [msi]   Configurable item(s):
      [msi]  Crystal_regwiz2003.msm
      [msi]   Configurable item(s):
      [msi]    License Key Value: xxxxx-xxxxxxx-xxxxxxx

BUILD FAILED

Unable to build Installer database 'install/Installer.msi'.:
NAnt.Core.BuildException: G:\Dev\createinstall.build(18,10):
Unable to build Installer database 'install/Installer.msi'. ---> System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
   at MsmMergeTypeLib.MsmMerge2Class.MergeEx(String Feature, String RedirectDir, Object pConfiguration)
   at NAnt.Contrib.Tasks.Msi.MsiCreationCommand.LoadMergeModules(String Database, String TempPath)
   at NAnt.Contrib.Tasks.Msi.MsiCreationCommand.LoadTypeSpecificDataFromTask(InstallerDatabase database, Int32 lastSequence)
   at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute()
   --- End of inner exception stack trace ---
   at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute()
   at NAnt.Contrib.Tasks.Msi.MsiTask.ExecuteTask()
   at NAnt.Core.Task.Execute() in d:\Source\nant-20050715T162413Z\src\NAnt.Core\Task.cs:line 171
   at NAnt.Core.Target.Execute() in d:\Source\nant-20050715T162413Z\src\NAnt.Core\Target.cs:line 247
   at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in d:\Source\nant-20050715T162413Z\src\NAnt.Core\Project.cs:line 885
   at NAnt.Core.Project.Execute() in d:\Source\nant-20050715T162413Z\src\NAnt.Core\Project.cs:line 837
   at NAnt.Core.Project.Run() in d:\Source\nant-20050715T162413Z\src\NAnt.Core\Project.cs:line 922

Anyone got any ideas or got the Crystal merge modules to build successfully in NAnt?

Cheers,

Bill



IMPORTANT
The information contained in this e-mail and any attachments is intended for the addressee only
and may contain legally privileged or confidential information. If you are not the intended
recipient you must not use, disclose, copy, distribute, alter, or take any action in reliance
on the information and Avon Insurance plc will not accept liability for any loss or damage howsoever
arising, directly or indirectly in reliance on it and gives no warranty or representation as to its
accuracy or reliability. If you are not the addressee, please notify us immediately on 01789 202121*
and delete the material from your computer and destroy any copies.


Avon Insurance plc reserves the right to monitor and record incoming and outgoing email messages for
the purposes of investigating or detecting unauthorised use of its system and ensuring its effective operation.
Avon Insurance plc will not accept liability for any loss or damage as a result of any virus being passed on.


Avon Insurance plc (No. 209606).
Registered in England. Registered Office: Arden Street, Stratford upon Avon, Warwickshire CV37 6WA.
Authorised and regulated by the Financial Services Authority.
A member of the NFU Mutual group of companies and the Association of British Insurers.


*For security and training purposes, telephone calls may be recorded and monitored.

Reply via email to