According to http://msdn.microsoft.com/en-us/library/ms525353.aspx, it
appears there's a space between "D," and the hex number.

On Wed, May 25, 2011 at 3:24 AM, Kiseleva Elena <lena121...@yandex.ru>wrote:

> Hi!
>
> I want to define the content expiration for some folder on IIS7 during
> installation. When I define it like:
>
> |<iis:WebDirProperties Id="Folder_ContentExpiration"
> HttpExpires="D,0x278d00"/>
> |
>
> but it doesn't work. In this case when I open my directory (for which I
> defined HttpExpires) in IIS manager, click "HTTP Response Headers" in
> the center of window, click "Set Common Headers..." in right part of
> window and I see the next error: "The string was not recognized as a
> valide DateTime. There is unknown word starting at index 0."
>
> So, which attributes (and in wich format) of WebDirProperties should I
> use for to define the content expiration for folder after 30 days? Wix
> version is 3.5.2519.0.
>
> Thanks,
> Elena
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
*Heath Stewart
*Visual Studio Professional Deployment Experience team, Microsoft
http://blogs.msdn.com/heaths
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to