Hi everybody!

I'm trying to use <configurationitems> to configure a standard text
box dialog, however the simple fact of including this XML element
results in the following:

BUILD FAILED

C:\Test\Test.build(8,4):
Unable to build MSI database 'Test.msi'.
    Unspecified error

I have tried building with both the stable and nightly builds of NAnt
and NAntContrib, and also with different values for the module, name,
and value attributes, and with various .WID files, but all giving the
same results.

I have included a minimal build file that is not dependent on any
external file structure (to facilitate testing).  In the test file,
the <configurationitems> section is commented out, which builds OK. 
Please try uncommenting the section and let me know if you get the
same behavior, I would greatly appreciate! :-)

Best regards,

Mathieu Frenette
Software Architect/Developer
Simbioz.com
<?xml version="1.0" ?>
<project name="Install" default="msi">

	<readregistry property="nant.vsnet.dialog.dir" hive="LocalMachine" key="Software\Microsoft\VisualStudio\7.1\Deployment\DialogTemplates\DefaultDir" />

	<target name="msi" description="">
		
		<msi sourcedir="." output="Test.msi" debug="true" verbose="true">

			<properties>
		    <property name="ProductName" value="Default Product" />
		    <property name="ProductVersion" value="1.0.0" />
		    <property name="Manufacturer" value="Default Manufacturer" />
		    <property name="ProductCode" value="{852BF276-B968-401E-8F5A-B23B4EBF9837}" />
		    <property name="PackageCode" value="{AA943A5A-0F36-4DA2-BA0D-912CF6DB31B8}" />
		    <property name="UpgradeCode" value="{CCAC7229-0CCA-4691-B3C9-41154ADF9F4E}" />
			</properties>
						
			<features>
				<feature name="MainFeature" display="1" directory="TARGETDIR" />
			</features>
			
			<mergemodules>
				<merge feature="MainFeature">
					<modules>
						<include name="${nant.vsnet.dialog.dir}/1033/VsdCustomText1Dlg.wid" />
					</modules>
<!--
					<configurationitems>
						<configurationitem module="VsdCustomText1Dlg.wid" name="Edit1Label" value="Test" />
					</configurationitems>
-->
				</merge>
			</mergemodules>
		</msi>
        
	</target>

</project>

Reply via email to