My eyes are spinning trying to figure out all these options….All I want to set c:\WebApp to be a virtual directory at http://<machine>/HSEM/myapp (My client does not want to give the user a choice).  Is there an easy way to do this or an example for something as simple is this.  I have been peeling apart the wiki example but it is so large and overwhelming.

Thanks,

dean

-----Original Message-----
From: Jim Geurts [mailto:[EMAIL PROTECTED]
Sent:
Thursday, July 28, 2005 1:17 PM
To: Dean Hiller
Cc: nantcontrib-developer@lists.sourceforge.net
Subject: Re: [NAntC-Dev] mergemodules needed for virtual directories....

 

try putting the <binaries> element above the <features> element

On 7/28/05, Dean Hiller <[EMAIL PROTECTED]> wrote:

I am getting the following error…(even though the example on the wiki doesn't seem to use merge modules).

 

            Validation Error: The element 'NAnt.Contrib.Tasks.Msi.MsiTask:msi' h

as invalid child element 'NAnt.Contrib.Tasks.Msi.MsiTask:binaries'. Expected 'NA

nt.Contrib.Tasks.Msi.MsiTask:mergemodules'. An error occurred at , (36, 4).

 

What is wrong with my nant code…..(I haven't actually added the creation of virtual directories as I am still trying to figure that out)….

 

            <!-- msi directories -->

            <property name="msi" value="${output}\msi"/>

            <property name="msi.file" value="${msi}\${assembly.name}.msi"/>

            <property name="prod.code" value="{6669F398-4C63-4f5d-982C-05EDB18F741D}"/>

            <target name="buildMSI" description="Build an MSI file to use for installing the component">

 

                        <echo message="assembly.name=${assembly.name}"/>

 

                        <mkdir dir="${msi}"/>

 

                        <msi output="..\..\${msi.file}" license=".\bldfiles\license.rtf" sourcedir="${staging}" verbose="true" debug="true">

 

                                    <properties>

                                                <property name="ProductName" value="${assembly.name}"/>

                                                <property name="ProductVersion" value="1.0"/>

                                                <property name="Manufacturer" value="Avaya"/>

                                                <property name="ProductCode" value="${prod.code}"/>

                                    </properties>

 

                                    <directories>

                                                <directory name="WebSvcBinDir" foldername="bin" root="TARGETDIR"/>

                                                <directory name="WebSvcLogDir" foldername="log" root="TARGETDIR"/>

                                    </directories>

 

                                    <components>

                                                <!-- Windows Service Installation information -->

                                                <component name="WinSvc_ConfigFiles" id="{13A9804D-AD9E-4359-B389-F470797E3D20}"

                                                                        attr="2" directory="TARGETDIR" feature="ConfigFiles">

                                                            <key file="HSEMWebService.config" />

                                                            <fileset basedir="${staging}">

                                                                        <include name="*.config" />

                                                            </fileset>

                                                </component>

 

                                                <component name="WinSvc_ExeFiles" id="{26E0BF58-7118-429b-9793-8BDA17E9B1FA}"

                                                                        attr="2" directory="WebSvcBinDir" feature="DefaultFeature" keepsubdirs="true">

                                                            <key file="HSEM.WebService.dll" />

                                                            <fileset basedir="${staging.bin}">

                                                                        <include name="*.exe" />

                                                                        <include name="*.dll" />

                                                            </fileset>

                                                </component>

                                    </components>

 

                                    <features>

                                                <feature name="DefaultFeature" title="${assembly.name} Main Feature" display="1" typical="true" directory="TARGETDIR">

                                                            <description>${assembly.name} core files</description>

                                                </feature>

                                                <feature name="ConfigFiles" title="${assembly.name} Main Feature" display="1" typical="true" directory="TARGETDIR">

                                                            <description>${assembly.name} config files</description>

                                                </feature>

                                    </features>

                                    <binaries>

                                                <binary name="MSVBDPCADLL" value="..\..\..\sharedLib\tools\msilibs\MSVBDPCA.DLL" />

                                    </binaries>

                        </msi>

            </target>

 

thanks,

dean

 


The information contained in this e-mail and any attachments hereto are for the exclusive use of the addressee and may contain confidential, privileged and nondisclosable information. If the recipient of this e-mail is not the addressee, or a person responsible for delivering this e-mail to the addressee, such recipient is strictly prohibited from reading, printing, photocopying, distributing or otherwise using this e-mail or any attachments hereto in any way. If the recipient has received this e-mail in error, please send return e-mail immediately notifying us of your receipt of this e-mail and delete the e-mail from your inbox. Thank you.

 

Reply via email to