Yep, this list will probably get you a quicker response for that task :)
Does your ${install.dir} (or possibly the ${build.dir}) contain spaces?  The
cab creation process used in the msi task does not like spaces in
directories, unfortunately.

In the mean time, you should be able to view the cab file by using a command
similar to the following:

msidb.exe -d IntelliPlot.msi -x IntelliPlot.cab


Let me know how that goes...

Jim

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Scott Ford
Sent: Wednesday, October 22, 2003 4:07 PM
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\IntelliPlot.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 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

Reply via email to