There you go...using those technical terms again..."mud".....
 
I wouldn't expect the basedir on the fileset to be recognized outside the fileset, if not explicitly coded in another context.  It's a property of the file set.
 
Does the key file exist in the same folder as the component?
 
Rod
-----Original Message-----
From: Kevin Kirkpatrick [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 2:35 PM
To: Rod Ayers; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSI: KeyFile not found in Component

Hey Rod,

Good question.  I thought by defining it in a fileset that would be good enough.

I read it as the directory definition in the component is the target, deploy “to” folder.  And the fileset contains the files to build into the component. :^\

 

I originally had it coded to represent <key file ="${build.bin.dir}\ApplicationBlocks.Automation.Common.Messaging.dll" />.  I get the same failed result with the build bin dir path in the key file value.  But then in reading the mail archives folks were saying the directory path is not allowed.  This is as clear as mud to me.

 


From: Rod Ayers [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 30, 2006 2:13 PM
To: Kevin Kirkpatrick; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSI: KeyFile not found in Component

 

Hi, Kevin....

 

Does <keyfile/> know where to find the dll?  You have a folder specified on the component, and one on the fileset.  Is the value in {build.bin.dir} = C:\Automation\Common\Assemblies?  f not, might you need to code it as <key file ="${build.bin.dir}\ApplicationBlocks.Automation.Common.Messaging.dll" />?

 

Rod

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Kevin Kirkpatrick
Sent: Thursday, March 30, 2006 1:47 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSI: KeyFile not found in Component

I have been struggling with all day long. I’ve looked through the mail archives and couldn’t find a clear answer.

Can anyone please tell me why this is failing?  Thanks in advance.

 

-----------------------------------------------------------------------------------------

makeMSI:

 

      [msi] Building Installer Database '\\s2deploy\devreleases\3.11.0.test.msi'.

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

D:\Build\AutoApp\autoapp.build(493,3):

Unable to build Installer database '\\s2deploy\devreleases\3.11.0.test.msi'.

    KeyFile "ApplicationBlocks.Automation.Common.Messaging.dll" not found in Component "C_AutomationCommon".

 

Code section

 

    <components>

            <component      name="C_AutomationCommon"

                                                directory="c:\Automation\Common\Assemblies"

                                                installassembliestogac="true"

                                                feature="F_Automation"

                                                id=""

                                                attr="2"

                                                keepsubdirs="true"

                                                >

 

                                    <key file ="ApplicationBlocks.Automation.Common.Messaging.dll" />

 

                                    <fileset basedir="{build.bin.dir}">

                                    <include name="ApplicationBlocks.Automation.Common.Messaging.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Logger.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Request.dll" />

                                    <include name="ApplicationBlocks.Automation.Common.Item.dll" />

                                    <include name="Microsoft.Practices.EnterpriseLibrary.Logging.dll" />

<include name="Microsoft.Practices.EnterpriseLibrary.Configuration.dll" />

                                    <include name="Microsoft.Practices.EnterpriseLibrary.Common.dll" />

                                    </fileset>

            </component>

    </components>

Reply via email to