Kevin, the TARGETDIR is automatically set to that directory, with the
default msi template that the msi task uses.

But the error that is shown looks like the location of the
<customactions> element does not follow the schema definition of where
it can be placed.

Jim


On Fri, 27 Aug 2004 08:04:50 -0500 (CDT), James Geurts
<[EMAIL PROTECTED]> wrote:
> -------- Original Message --------
> Subject: [NAntC-Dev] <msi> syntax error?
> From: "Burton, Kevin" <[EMAIL PROTECTED]>
> Date: Fri, August 27, 2004 6:05 am
> To: <[EMAIL PROTECTED]>
> 
> >From the wiki I am trying to initialize [TARGETDIR]. I have:
> 
>             <customactions>
>                 <customaction action="caSetTargetDir" type="51"
>                 source="TARGETDIR"
> 
> target="[ProgramFilesFolder]\[Manufacturer]\[ProductName]"
>                               />
>             </customactions>
> 
> But am receiving the following error:
> 
>             Build failed
> 
>             Validation Error: The element
>             'NAnt.Contrib.Tasks.Msi.MsiTask:msi' has invalid child
>             element 'NAnt.Contrib.Tasks.Msi.MsiTask:components'. Expected
>             'NAnt.Contrib.Tasks.Msi.MsiTask:actiontext
>             NAnt.Contrib.Tasks.Msi.MsiTask:appmappings
>             NAnt.Contrib.Tasks.Msi.MsiTask:urlproperties
>             NAnt.Contrib.Tasks.Msi.MsiTask:vdirproperties
>             NAnt.Contrib.Tasks.Msi.MsiTask:approots
>             NAnt.Contrib.Tasks.Msi.MsiTask:iisproperties
>             NAnt.Contrib.Tasks.Msi.MsiTask:launchconditions
>             NAnt.Contrib.Tasks.Msi.MsiTask:features
>             NAnt.Contrib.Tasks.Msi.MsiTask:mergemodules'. An error
>             occurred at , (22, 4).
> 
>             Total time: 0.8 seconds.
> 
> Line 22 begins with <customactions>
> 
> Thank  you.
> 
> Kevin
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> NAntContrib-Developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer
> 
>


-------------------------------------------------------
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=5047&alloc_id=10808&op=click
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to