Tom,
 
That would do it!
 
I must admit, I hadn't noticed that the ID attribute of a component did not correctly handle a NAnt property. I should enter a bug report for that if there isn't one already!
 
Regards,
Richard


From: Whitner, Tom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 09:14
To: Foster, Richard - PAL; Burton, Kevin; nant-users@lists.sourceforge.net
Subject: RE: [Nant-users] Removing files on uninstallation.

I think I found the source of my uninstall issue.  I was reusing the same GUID for every component within my install.  I had created a generic target to create an msm file based on some properties that I would set before calling the target.  Unfortunately, the 'id' attribute of the <component> element does not allow for script execution.  Therefore, I could not execute a script to create a new GUID, nor could I set a new GUID into a property and evaluate that.  To get past this I simply hard-coded the GUID!  I believe that only one of my components was actually getting uninstalled.  I have noticed an inconsistent behavior within the <msi> and <msm> tasks regarding 'id' attributes.  For instance, unlike the <component>'s 'id' attribute, the <msm>'s 'id' attribute fully supports script.  This inconsistency should probably be rectified by allowing all 'id's to call scripts and evaluate properties.
 
- Tom
 

Reply via email to