You must add "-ext WixIISExtension" to the light.exe command line.


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-----Original Message-----
From: Jaspreet Nabha [mailto:jaspreet.na...@headstrong.com] 
Sent: Friday, August 28, 2009 09:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem while creating virtual directory

Hi All,



I am using WiX3.0 with VS2008. I am trying to create virtual directories. I
have added reference of "WiXIISExtension" in my project and refer the
namespace xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension " . But I
am getting following error while building the project.



Error "Error 11 The Component element contains an unhandled extension
element 'iis:WebVirtualDir'.  Please ensure that the extension for elements
in the 'http://schemas.microsoft.com/wix/IIsExtension ' namespace has been
provided. C:\NewWiX\Components.wxs".



Code :

<Component Id='C_VirtualDirComponent'
Guid='{A598E09C-B770-4df2-BE08-E069A718B938}'>

      <iis:WebVirtualDir Id='VirtualDir' Alias='[TARGETVDIR]'
Directory='TARGETDIR'

WebSite='DefaultWebSite' DirProperties='WebVirtualDirProperties' >

      <iis:WebApplication Id='WebApplication' Name='[TARGETVDIR]'
WebAppPool='C_MyAppPool'/>

      </iis:WebVirtualDir>

</Component>



Please guide if you have any idea



Thanks

Jaspreet

________________________________
***The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review,retransmission,dissemination or other use of, or taking
of any action in reliance upon, this information by persons or entities
other than the intended recipient is prohibited. If you received this in
error, please contact the sender and delete the material from any
computer.***
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to