One option is to use cscript.exe/adsutil.vbs to set LogFileDirectory
and other metabase settings as a CustomAction. I don't know how you
would get the ID of a newly created web site, however.

C:\Inetpub\AdminScripts>cscript adsutil.vbs ENUM W3SVC/1
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

KeyType                         : (STRING) "IIsWebServer"
ServerState                     : (INTEGER) 2
ServerComment                   : (STRING) "Default Web Site"
ServerSize                      : (INTEGER) 1
ServerBindings                  : (LIST) (1 Items)
  ":80:"

DefaultDoc                      : (STRING)
"Default.aspx,Default.aspx,Default.htm,Default.asp,index.htm,iisstart.htm"
LogFileDirectory                : (EXPANDSZ) "C:\LOGS"
LogFilePeriod                   : (INTEGER) 1
LogFileLocaltimeRollover        : (BOOLEAN) False
LogFileTruncateSize             : (INTEGER) 20971520
Win32Error                      : (INTEGER) 0
AppPoolId                       : (STRING) "DefaultAppPool"
[/W3SVC/1/Filters]
[/W3SVC/1/IIsCertMapper]
[/W3SVC/1/ROOT]


On Thu, Jul 10, 2008 at 9:29 AM, Bjerstedt, Tony [Audatex - Americas]
<[EMAIL PROTECTED]> wrote:
> I need to control the location where the IIS logs are placed as well as
> the contents (operations requires additional fields be included). The
> default is to log to a directory under the system folder which is not
> acceptable.
>
>
>
> I see that the WebLog element lets me select the type of log, but
> doesn't appear to configure anything else. Is there a way to do this
> using standard extensions?
>
>
>
> Tony Bjerstedt
>
> Software Engineer
>
> Hollander, a Solera Company
>
> 14800 28th Ave N., Suite 190
>
> Plymouth, MN 55447
>
> Direct: (763)519-3235
>
> Email: [EMAIL PROTECTED]
>
> www.hollandersolutions.com <http://www.hollandersolutions.com>
>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to