Hi Subbu, Thank you for your efforts. You have been a great help.
It turns out that the path "IIS://Localhost/W3svc/1/ROOT" does indeed not exist on the computer that I was testing with. However "IIS://Localhost/W3svc/889928/ROOT" does exist and it seems to be the default web site. It looks like I need to do some searching for the right ADSI path during the installation. Kevin -----Original Message----- From: Subbu Balakrishnan [mailto:[EMAIL PROTECTED] Sent: Saturday, October 30, 2004 2:37 AM To: Burton, Kevin Cc: [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] RE: Directory change? Hi Kevin IIS on Windows 2003 requires some pre-configuration before it can be accessed/administered. I ran in some of these issues recently - have printouts of the relevant knowledgebase articles at work (its weekend here in Australia!). I'll see if I can dig them up for you later today. You can check if pre-configuration is the problem by manually creating the VDirs, checking if the relevant pages are accessible. I'll also validate the ADSI path bit for you ... Regards Subbu -----Original Message----- From: Burton, Kevin [mailto:[EMAIL PROTECTED] Sent: Saturday, 30 October 2004 4:38 PM To: Subbu Balakrishnan; James Geurts Cc: [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] RE: Directory change? Hello Subbu, I checked the site and it got me started. I found some C/C++ code that creates a virtual directory. Or at least that is what it advertises to do. When I try to connect to ADSI using the path "IIS://Localhost/W3svc/1/ROOT" I get 0x80070003 which is basically 'file not found'. With IIS 6 or on Windows 2003 do you know if the name of the path has changed? Thanks again. Kevin -----Original Message----- From: Subbu Balakrishnan [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 6:54 PM To: Burton, Kevin; James Geurts Cc: [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] RE: Directory change? Hi Kevin You might find something to get you started at http://www.installsite.org -> Windows Installer -> Custom Actions -> "Create Virtual Directory in IIS". These VBScript CAs are intended for Wise Installer but should be usable with some modifications. You could also look at using WMI in your VBScript CAs There is a general opinion that VBScript (and JScript) CAs "suck" and shouldn't be used for robust installs. Not everyone agrees though!! Regards Subbu -----Original Message----- From: Burton, Kevin [mailto:[EMAIL PROTECTED] Sent: Saturday, 30 October 2004 3:37 AM To: James Geurts Cc: [EMAIL PROTECTED] Subject: RE: [NAntC-Dev] RE: Directory change? For Windows 2003 machines there is iisvdir.vbs which seems easy enough to use. If I install this script into the binary table how do I supply the arguments require for this script? I am not sure what to do for non-Windows 2003 machines. This script tries to load a Microsoft.CmdLib object that is not available with Windows 2000. Thank you. Kevin -----Original Message----- From: James Geurts [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 8:07 AM To: Burton, Kevin Cc: [EMAIL PROTECTED] Subject: Re: [NAntC-Dev] RE: Directory change? Out of the box, msi does not support creating virtual directories. I only provided samples w/ the MS custom action dll. That dll uses the unsupported tables (iisproperties, urlproperties, approots, etc...). To do what you want, have a virtual directory and a directory that maps to it, I think the best solution would be for you to write your own custom action to create the virtual directory. Jim > > OK I think I have part of the answer. It turns out that I have a Web > Site (IIS 6) call PPC that is defined as having the physical directory > C:\Projects\MR0904. I still have a question as to why I cannot just > have a virtual directory with an alias of IVRService that maps to > [TARGETDIR]/IVRService as specified with <directories>. Which portion > of <msi> changes the directory <iisproperties>, <urlproperties>, > <vdirproperties>, <approots>? I would like a straight forward task like > <mkiisdir> which has an alias and a directory or an equivalent > explanation. > > Thank you for your time and patience. > > Kevin >> -----Original Message----- >> From: Burton, Kevin >> Sent: Friday, October 29, 2004 12:48 AM >> To: '[EMAIL PROTECTED]' >> Subject: Directory change? >> >> I have the following specification for my directory structure: >> >> <directories> >> <directory name="ApplicationServerIncludes" >> foldername="includes" root="TARGETDIR" /> <directory >> name="IVRServiceRootFolder" foldername="IVRService" >> root="TARGETDIR" /> >> </directories> >> >> But in the log file during installation I get: >> >> MSI (c) (D0:A8): Dir (target): Key: TARGETDIR , Object: C:\Program >> Files\Visa\ApplicationServer\ . . . >> MSI (c) (D0:A8): Dir (target): Key: ApplicationServerIncludes , >> Object: C:\Program Files\Visa\ApplicationServer\includes\ MSI (c) >> (D0:A8): Dir (target): Key: IVRServiceRootFolder , Object: >> C:\projects\MR0904\IVRService\ >> >> Why is IVRServiceRootFolder changing from [TARGETDIR]/IVRService? The >> "includes" directory is not getting changed. I must be doing something >> terribly wrong. It should not be this hard. The virtual directory now >> gets created and it points to the IVRServiceRootFolder above but that >> is not where I want the Web Service folder to belong. More importantly >> I don't know how it got changed. >> >> Any ideas? >> >> Thank you. >> >> Kevin > > > ------------------------------------------------------- > This Newsletter Sponsored by: Macrovision > For reliable Linux application installations, use the industry's > leading setup authoring tool, InstallShield X. Learn more and evaluate > today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ > _______________________________________________ > NAntContrib-Developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer