Neil,

I have a harvester extension built for Win2K that uses a .Net library I wrote that wraps the Admin Base Objects; I will try it and see if it has the same issue. If anyone is interested in using it, let me know...

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/



-------- Original Message  --------
Subject: [WiX-devs] Website harvester
From: Neil Sleightholm <[email protected]>
To: Windows Installer XML toolset developer mailing list <[email protected]>
Date: 2/1/2009 12:13 PM

I am looking at this bug: http://sourceforge.net/tracker2/?func=detail&aid=2555688&group_id=105970&atid=642714 <http://sourceforge.net/tracker2/?func=detail&aid=2555688&group_id=105970&atid=642714> and have discovered that the error is thrown when the code tries to read the properties for the "iisadmin" site (this seems to be a hidden site). The problem is that directoryEntry.Properties.PropertyNames in HarvestWebDirProperties() throws a COMException when you access this site (the documentation for ProperyNames says this is possible).

To fix this I have two choices and wondered which would be the preferred option:

1.       Trap the COMException in HarvestWebDirProperties() and ignore it.

2. Don't call HarvestWebDirProperties() if the code tries to harvest "iisadmin".

I think I prefer 2.

Neil

Neil Sleightholm
X2 Systems Limited
[email protected] <mailto:[email protected]>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to