Hi Scott, I'm not sure I understand your problem, but I have a couple of suggestions:
1. Set msi.sourcedir to one directory level above install.dir. The sourcedir will get cluttered by .cab files, .msi files and a Temp directory during the msi task process. 2. After creating an msi archive, test it using MsiVal2.exe from the Installer SDK (against the darice.cub tests). It has detected many problems for me as I was starting to use MSITask. Hope it helps, Kræn Munck > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Scott Ford > Sent: 22. oktober 2003 22:07 > To: [EMAIL PROTECTED] > Subject: [NAntC-Dev] MSITask problem > > > I sent this question to the nant-users list earlier today, > but I got no response. I will try again here. > > I am able to build an installer just fine with the MSI task, > but that installer will not run. I am storing several .NET > assemblies in the MSI, and the MSITask is generating a > separate component for each assembly. When I try to run the > installation I receive an error saying that a file for one of > the components is not installed. I opened up the MSI with > orca, but since I am not very familiar with MSI had no real > idea what I was looking at. > > Is there anyway to extract the cab file from the MSI so that > I can make sure that all the files are there? > > Below is the MSI section of my build file. > > Thanks, > -Scott > > <snip> > <target name="installer.build" description="Builds all of > the installations"> > <delete dir="${build.dir}\IntelliPlot\bin\${config.name}\setup" > failonerror="false" /> > <mkdir dir="${build.dir}\IntelliPlot\bin\${config.name}\setup" > failonerror="true" /> > <msi sourcedir="${install.dir}" > license="${install.dir}\License Agreement.rtf" > > output="${build.dir}\IntelliPlot\bin\${config.name}\setup\Inte > lliPlot.ms > i" debug="true" verbose="true"> > > <properties> > <property name="ProductName" value="IntelliPlot" /> > <property name="ProductVersion" value="1.3" /> > <property name="Manufacturer" value="RJK Technologies" /> > <property name="ProductCode" > value="{5CEBB262-405D-497C-8EB9-C9A0A33074EC}" /> > <property name="UpgradeCode" > value="{7B37BF89-1720-460A-B07E-80921DD98F65}" /> > </properties> > > <directories> > <directory name="HELPDIR" foldername="help" > root="TARGETDIR" /> > <directory name="SCRIPTSDIR" foldername="scripts" > root="TARGETDIR" /> > </directories> > > <features> > <feature name="DefaultFeature" title="IntelliPlot" > display="1" typical="true" > directory="TARGETDIR"> > > <description>IntelliPlot core files</description> > <feature name="HelpFeature" display="0" typical="true" /> > <feature name="ScriptsFeature" display="0" typical="true" /> > </feature> > </features> > > <components> > <component name="MainFiles" > id="{315C1672-D043-43cf-8BFB-EF59051241C2}" > attr="2" directory="TARGETDIR" feature="DefaultFeature"> > > <key file="LineStyles.xml" /> > <fileset basedir="${install.dir}"> > <includes name="*.*" /> > <excludes name="*.msi" /> > </fileset> > </component> > <component name="HelpFiles" > id="{C0A4BD40-3CA0-4b67-B6A0-5E8CB771DD87}" > attr="2" directory="HELPDIR" feature="HelpFeature"> > > <key file="IntelliPlot.chm" /> > <fileset basedir="${install.dir}\help"> > <includes name="*.*" /> > </fileset> > </component> > <component name="ScriptFiles" > id="{A12FDEBA-69D6-438f-BCE3-8A217DFDE4BF}" > attr="2" directory="SCRIPTSDIR" feature="ScriptsFeature"> > > <key file="sine.java" /> > <fileset basedir="${install.dir}\scripts"> > <includes name="*.*" /> > </fileset> > </component> > </components> > </msi> > </target> > </snip> > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product > knowledge We want to know what you know. Tell us and you have > a chance to win $100 > http://www.zoomerang.com/survey.zgi?> HRPT1X3RYQNC5V4MLNSV3E54 > > > _______________________________________________ > NAntContrib-Developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer