I agree, 2 seemed best.
From: Neil Sleightholm [mailto:[email protected]]
Sent: Sunday, February 01, 2009 10:14
To: Windows Installer XML toolset developer mailing list
Subject: [WiX-devs] Website harvester
I am looking at this bug:
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]>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs