NAnt 0.85 (Build 0.85.1670.0; net-1.1.win32; nightly; 7/28/2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net
Framework 'mono-1.0' is invalid and has not been loaded : Registry Path Not Found! - key='SOFTWARE\Mono\1.0\';hive='Microsoft.Win32.RegistryHive[]';


Framework 'sscli-1.0' is invalid and has not been loaded : Framework directory 'C:\sscli\build\v1.x86fstchk.rotor' does not exist.


Buildfile: file:///c:/earthit/users/quinby/SIS_build_0.85/Master.build Base Directory: c:\earthit\users\quinby\SIS_build_0.85. Target(s) specified: installtest


installtest:


install:

[msi] Building MSI Database 'C:\earthit\users\quinby\SIS_build_0.85\install_test\sis-install-1.0.0.0.msi'.
[msi] Adding Properties:
[msi] ProductName
[msi] ProductVersion
[msi] Manufacturer
[msi] ProductCode
[msi] ALLUSERS
[msi] Adding Directories:
[msi] SIS
[msi] SIS\vtk
[msi] SIS\config
[msi] Add Files:
[msi] C:\earthit\users\quinby\SIS_build_0.85\install_test\SIS\Earthit.SIS.Properties.dll
[msi] C:\earthit\users\quinby\SIS_build_0.85\install_test\SIS\SIS.exe
[msi] C:\earthit\users\quinby\SIS_build_0.85\install_test\SIS\config\DataMgmt.gif


failure:


Build failed

c:\earthit\users\quinby\SIS_build_0.85\Master.build(840,6):
Unable to build MSI database 'C:\earthit\users\quinby\SIS_build_0.85\install_test\sis-install-1.0.0.0.msi'.:
NAnt.Core.BuildException: c:\earthit\users\quinby\SIS_build_0.85\Master.build(840,6):
Unable to build MSI database 'C:\earthit\users\quinby\SIS_build_0.85\install_test\sis-install-1.0.0.0.msi'. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.IsVersion(String& Version) in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 163
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.AddFiles(InstallerDatabase database, InstallerTable directoryTable, MSIComponent Component, InstallerTable fileTable, String ComponentDirectory, String ComponentName, Int32& Sequence, InstallerTable msiAssemblyTable, InstallerTable msiAssemblyNameTable, InstallerTable componentTable, InstallerTable featureComponentTable, InstallerTable classTable, InstallerTable progIdTable, InstallerTable selfRegTable, InstallerTable modComponentTable) in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 2153
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadComponents(InstallerDatabase database, Int32& LastSequence) in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 2381
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.LoadCommonDataFromTask(InstallerDatabase database, Int32& fileSequenceNumber) in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 2502
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 2477
--- End of inner exception stack trace ---
at NAnt.Contrib.Tasks.Msi.InstallerCreationCommand.Execute() in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\InstallerCreationCommand.cs:line 2488
at NAnt.Contrib.Tasks.Msi.MsiTask.ExecuteTask() in c:\nantcontrib-0.85-20040723\src\Tasks\Msi\MsiTask.cs:line 363
at NAnt.Core.Task.Execute() in c:\nant-0.85_7_23\src\NAnt.Core\Task.cs:line 177
at NAnt.Core.Target.Execute() in c:\nant-0.85_7_23\src\NAnt.Core\Target.cs:line 249
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in c:\nant-0.85_7_23\src\NAnt.Core\Project.cs:line 876
at NAnt.Core.Project.Execute(String targetName) in c:\nant-0.85_7_23\src\NAnt.Core\Project.cs:line 846
at NAnt.Core.Tasks.CallTask.ExecuteTask() in c:\nant-0.85_7_23\src\NAnt.Core\Tasks\CallTask.cs:line 110
at NAnt.Core.Task.Execute() in c:\nant-0.85_7_23\src\NAnt.Core\Task.cs:line 177
at NAnt.Core.Target.Execute() in c:\nant-0.85_7_23\src\NAnt.Core\Target.cs:line 249
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) in c:\nant-0.85_7_23\src\NAnt.Core\Project.cs:line 876
at NAnt.Core.Project.Execute() in c:\nant-0.85_7_23\src\NAnt.Core\Project.cs:line 833
at NAnt.Core.Project.Run() in c:\nant-0.85_7_23\src\NAnt.Core\Project.cs:line 903


Total time: 1.2 seconds.



At 01:57 PM 7/29/2004, you wrote:
Ted,

Can you run the build in verbose mod (NAnt.exe -verbose ....) and send us
the output ?

Thanks,

Gert

----- Original Message -----
From: "Ted Quinby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 3:37 PM
Subject: [Nant-users] msi, components, and subdirs


> My installation has the following directory hierarchy/structure: > > <Main_Install_Folder> > <Subdir /> > <Subdir /> > <Subdir /> > <Sub_SubDir />> > <Subdir /> > </Main_Install_Folder> > > All files in all components saved to the Main_Install_Folder are added to > the MSI without a problem. > > When the msi task hits one of the subdirectory components (with multiple > files to be included), only the first file is added, followed by this error: > > Unable to build MSI database > 'C:\earthit\users\quinby\SIS_build_0.85\install_test\sis-install-0.0.0.9.msi '. > Object reference not set to an instance of an object. > > If I comment out the offending subdir, the next subdir exhibits the same > behavior. > > I was previously directed by Jim to look at the MSITask.xsd schema at the > following link: > > http://cvs.sourceforge.net/viewcvs.py/nantcontrib/NAntContrib/src/Tasks/Msi/ MsiTask.xsd?rev=1.7&view=auto > > At the top of the page is mention of the keepsubdirs attribute -- I've > incorporated this xsd into my implementation of nant and played around with > this attribute but am still getting this error. Am I on the right track here? > > Excerpts of my components are as follows: > > <component name="C_Main" id="{0E2DE7A7-6F89-4a99-9368-807676F920E4}" > attr="2" directory="MAINFOLDER" feature="DefaultFeature" keepsubdirs="true"> > <key file="SIS.exe" /> > <fileset basedir="${build.dir}"> > <include name="SIS.exe" /> > </fileset> > </component> > <component name="C_Resources" id="{A2BDA996-8440-49E7-A4F7-3AB254C98D2B}" > attr="2" directory="SUBFOLDER" feature="DefaultFeature"> > <key file="crops.txt" /> > <fileset basedir="${build.dir}\resources"> > <include name="crops.txt" /> > <include name="divervehicles.txt" /> > </fileset> > </component> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > Nant-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nant-users >



------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to