I am using the MS custom action dll and it seems less than user friendly, especially 
since there is little or no documentation on it. 

I have successfully written custom actions in C/C++ which is where I am most 
comfortable. Would you mind giving me a boost and suggesting some APIs that I could 
look at to create the virtual directory? C# and any of the .NET backed languages seem 
to be off limits as far as custom actions is there an easier way to create a virtual 
directory than with C/C++? If so how and what APIs should I begin with?

Thanks again for your reply.

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 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

Reply via email to