Hi,

I am not sure if this should be asked here or on the nantcontrib list,
so I will try here first.

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
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to